aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/terraform-aws-2n-c7gn/providers.tf
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-11-22 10:37:00 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2023-11-22 10:54:26 +0000
commit0ace5d03b7cf6a1f9fa47b1cda955e8b90f3ef69 (patch)
tree63159b08321f9d8cbbb6f74da51d04c3dbb8a4b9 /fdio.infra.terraform/terraform-aws-2n-c7gn/providers.tf
parent34beecff4e3d9d03615562f3843efe106e2528b7 (diff)
feat(infra): 2n-c7gn, 3n-c7gn
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I5a94ae7caf1c3ee08efa7bd5db19c3b2c356705a
Diffstat (limited to 'fdio.infra.terraform/terraform-aws-2n-c7gn/providers.tf')
-rw-r--r--fdio.infra.terraform/terraform-aws-2n-c7gn/providers.tf11
1 files changed, 11 insertions, 0 deletions
diff --git a/fdio.infra.terraform/terraform-aws-2n-c7gn/providers.tf b/fdio.infra.terraform/terraform-aws-2n-c7gn/providers.tf
new file mode 100644
index 0000000000..d0e7490d38
--- /dev/null
+++ b/fdio.infra.terraform/terraform-aws-2n-c7gn/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