diff options
Diffstat (limited to 'fdio.infra.terraform/1n_nmd/aws/main.tf')
-rw-r--r-- | fdio.infra.terraform/1n_nmd/aws/main.tf | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/fdio.infra.terraform/1n_nmd/aws/main.tf b/fdio.infra.terraform/1n_nmd/aws/main.tf index 8084eb4e33..be7eb7c577 100644 --- a/fdio.infra.terraform/1n_nmd/aws/main.tf +++ b/fdio.infra.terraform/1n_nmd/aws/main.tf @@ -1,18 +1,18 @@ resource "vault_aws_secret_backend" "aws" { - access_key = var.aws_access_key - secret_key = var.aws_secret_key - path = "${var.name}-path" + access_key = var.aws_access_key + secret_key = var.aws_secret_key + path = "${var.name}-path" default_lease_ttl_seconds = "43200" max_lease_ttl_seconds = "43200" } resource "vault_aws_secret_backend_role" "admin" { - backend = vault_aws_secret_backend.aws.path - name = "${var.name}-role" - credential_type = "iam_user" + backend = vault_aws_secret_backend.aws.path + name = "${var.name}-role" + credential_type = "iam_user" - policy_document = <<EOF + policy_document = <<EOF { "Version": "2012-10-17", "Statement": [ @@ -29,9 +29,9 @@ EOF } output "backend" { - value = vault_aws_secret_backend.aws.path + value = vault_aws_secret_backend.aws.path } output "role" { - value = vault_aws_secret_backend_role.admin.name + value = vault_aws_secret_backend_role.admin.name } |