aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/terraform-aws-3n-aws-c5n/providers.tf
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2022-03-30 15:56:15 +0200
committerPeter Mikus <pmikus@cisco.com>2022-03-30 15:01:08 +0000
commit02c349c4c2fa7fb1b43b04c2511d3a9ac77bfefd (patch)
treeca8fc806db98f97856aed3a3d572e63d1254f139 /fdio.infra.terraform/terraform-aws-3n-aws-c5n/providers.tf
parent9153649f4d6a56821be494fe02d5cd6faa11ebc2 (diff)
refactor(terraform): 3n_aws_c5n
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Ib45ae86038d71ffdf3d44a952a46ed0deb569726
Diffstat (limited to 'fdio.infra.terraform/terraform-aws-3n-aws-c5n/providers.tf')
-rw-r--r--fdio.infra.terraform/terraform-aws-3n-aws-c5n/providers.tf11
1 files changed, 11 insertions, 0 deletions
diff --git a/fdio.infra.terraform/terraform-aws-3n-aws-c5n/providers.tf b/fdio.infra.terraform/terraform-aws-3n-aws-c5n/providers.tf
new file mode 100644
index 0000000000..38244af0bd
--- /dev/null
+++ b/fdio.infra.terraform/terraform-aws-3n-aws-c5n/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://10.30.51.28:8200"
+ skip_tls_verify = true
+ token = "s.4z5PsufFwV3sHbCzK9Y2Cojd"
+} \ No newline at end of file