aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fdio.infra.terraform/1n_nmd/aws/main.tf6
-rw-r--r--fdio.infra.terraform/1n_nmd/aws/variables.tf4
2 files changed, 6 insertions, 4 deletions
diff --git a/fdio.infra.terraform/1n_nmd/aws/main.tf b/fdio.infra.terraform/1n_nmd/aws/main.tf
index 6768203441..8084eb4e33 100644
--- a/fdio.infra.terraform/1n_nmd/aws/main.tf
+++ b/fdio.infra.terraform/1n_nmd/aws/main.tf
@@ -3,8 +3,8 @@ resource "vault_aws_secret_backend" "aws" {
secret_key = var.aws_secret_key
path = "${var.name}-path"
- default_lease_ttl_seconds = "120"
- max_lease_ttl_seconds = "240"
+ default_lease_ttl_seconds = "43200"
+ max_lease_ttl_seconds = "43200"
}
resource "vault_aws_secret_backend_role" "admin" {
@@ -34,4 +34,4 @@ output "backend" {
output "role" {
value = vault_aws_secret_backend_role.admin.name
-} \ No newline at end of file
+}
diff --git a/fdio.infra.terraform/1n_nmd/aws/variables.tf b/fdio.infra.terraform/1n_nmd/aws/variables.tf
index 11c3535266..4e5f61f238 100644
--- a/fdio.infra.terraform/1n_nmd/aws/variables.tf
+++ b/fdio.infra.terraform/1n_nmd/aws/variables.tf
@@ -1,9 +1,11 @@
variable "aws_access_key" {
+ sensitive = true
}
variable "aws_secret_key" {
+ sensitive = true
}
variable "name" {
- default = "dynamic-aws-creds-vault-admin"
+ default = "dynamic-aws-creds-vault-admin"
} \ No newline at end of file