aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/terraform-aws-2n-c6gn/providers.tf
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-07-14 07:34:30 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2023-07-14 08:25:46 +0000
commit6cfd831b241b9711c8573364c9e59d0e9ec2cdad (patch)
tree3ff2e25d38af4037757cebeecc9f6b79c782be96 /fdio.infra.terraform/terraform-aws-2n-c6gn/providers.tf
parent942a580ecb880a0a8b886bc247b40ca43c96abb9 (diff)
feat(aws): Add new flavors
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Ie63b3d6c7ff376d808587e7c96f386946c939a81
Diffstat (limited to 'fdio.infra.terraform/terraform-aws-2n-c6gn/providers.tf')
-rw-r--r--fdio.infra.terraform/terraform-aws-2n-c6gn/providers.tf11
1 files changed, 11 insertions, 0 deletions
diff --git a/fdio.infra.terraform/terraform-aws-2n-c6gn/providers.tf b/fdio.infra.terraform/terraform-aws-2n-c6gn/providers.tf
new file mode 100644
index 0000000000..d0e7490d38
--- /dev/null
+++ b/fdio.infra.terraform/terraform-aws-2n-c6gn/providers.tf
@@ -0,0 +1,11 @@
+provider "aws" {
+ region = var.region
+ access_key = data.vault_aws_access_credentials.creds.access_key
+ secret_key = data.vault_aws_access_credentials.creds.secret_key
+}
+
+provider "vault" {
+ address = "http://vault.service.consul:8200"
+ skip_tls_verify = true
+ token = "s.4z5PsufFwV3sHbCzK9Y2Cojd"
+} \ No newline at end of file