aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/3n_aws_c5n/deploy/main.tf
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-05-18 13:30:08 +0000
committerPeter Mikus <pmikus@cisco.com>2021-08-09 11:52:06 +0000
commitb9d4313cc851be7c7e8657783723343e8bd14664 (patch)
tree245393deb0753a63ed48f324f801f6b3c786e774 /fdio.infra.terraform/3n_aws_c5n/deploy/main.tf
parent80989ff660f1acd635f6d004b15bc13a93240975 (diff)
Infra: Vault
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ia6e728f98d20144c3771405b32933a77fe15b19b (cherry picked from commit 73440ab332c51eb11405767d320bc496d9ebdbe7) (cherry picked from commit bb2af29c186f681dcbbc3c26a5f091af6c7415d3)
Diffstat (limited to 'fdio.infra.terraform/3n_aws_c5n/deploy/main.tf')
-rw-r--r--fdio.infra.terraform/3n_aws_c5n/deploy/main.tf5
1 files changed, 3 insertions, 2 deletions
diff --git a/fdio.infra.terraform/3n_aws_c5n/deploy/main.tf b/fdio.infra.terraform/3n_aws_c5n/deploy/main.tf
index d8968bf5fe..3ca8758678 100644
--- a/fdio.infra.terraform/3n_aws_c5n/deploy/main.tf
+++ b/fdio.infra.terraform/3n_aws_c5n/deploy/main.tf
@@ -1,5 +1,6 @@
-provider "aws" {
- region = var.region
+data "vault_aws_access_credentials" "creds" {
+ backend = "${var.vault-name}-path"
+ role = "${var.vault-name}-role"
}
resource "aws_vpc" "CSITVPC" {