aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform/terraform-vault-aws-secret-backend
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.terraform/terraform-vault-aws-secret-backend')
-rw-r--r--fdio.infra.terraform/terraform-vault-aws-secret-backend/fdio/main.tf6
-rw-r--r--fdio.infra.terraform/terraform-vault-aws-secret-backend/fdio/variables.tf14
-rw-r--r--fdio.infra.terraform/terraform-vault-aws-secret-backend/fdio/versions.tf4
-rw-r--r--fdio.infra.terraform/terraform-vault-aws-secret-backend/versions.tf2
4 files changed, 22 insertions, 4 deletions
diff --git a/fdio.infra.terraform/terraform-vault-aws-secret-backend/fdio/main.tf b/fdio.infra.terraform/terraform-vault-aws-secret-backend/fdio/main.tf
index 4473dafda8..08c3ca8b73 100644
--- a/fdio.infra.terraform/terraform-vault-aws-secret-backend/fdio/main.tf
+++ b/fdio.infra.terraform/terraform-vault-aws-secret-backend/fdio/main.tf
@@ -2,16 +2,22 @@ module "fdio-logs" {
# fdio logs iam
source = "../"
name = "dynamic-aws-creds-vault-fdio-logs"
+ aws_access_key = var.aws_access_key
+ aws_secret_key = var.aws_secret_key
}
module "fdio-docs" {
# fdio docs iam
source = "../"
name = "dynamic-aws-creds-vault-fdio-docs"
+ aws_access_key = var.aws_access_key
+ aws_secret_key = var.aws_secret_key
}
module "fdio-csit-jenkins" {
# fdio csit jenkins iam
source = "../"
name = "dynamic-aws-creds-vault-fdio-csit-jenkins"
+ aws_access_key = var.aws_access_key
+ aws_secret_key = var.aws_secret_key
}
diff --git a/fdio.infra.terraform/terraform-vault-aws-secret-backend/fdio/variables.tf b/fdio.infra.terraform/terraform-vault-aws-secret-backend/fdio/variables.tf
index d3d728a49d..b1f64eccf2 100644
--- a/fdio.infra.terraform/terraform-vault-aws-secret-backend/fdio/variables.tf
+++ b/fdio.infra.terraform/terraform-vault-aws-secret-backend/fdio/variables.tf
@@ -1,7 +1,7 @@
variable "vault_provider_address" {
description = "Vault cluster address."
type = string
- default = "http://10.30.51.23:8200"
+ default = "http://10.30.51.26:8200"
}
variable "vault_provider_skip_tls_verify" {
@@ -15,3 +15,15 @@ variable "vault_provider_token" {
type = string
sensitive = true
}
+
+variable "aws_access_key" {
+ description = "AWS access key"
+ type = string
+ sensitive = true
+}
+
+variable "aws_secret_key" {
+ description = "AWS secret key"
+ type = string
+ sensitive = true
+} \ No newline at end of file
diff --git a/fdio.infra.terraform/terraform-vault-aws-secret-backend/fdio/versions.tf b/fdio.infra.terraform/terraform-vault-aws-secret-backend/fdio/versions.tf
index 4c93000093..c573731d65 100644
--- a/fdio.infra.terraform/terraform-vault-aws-secret-backend/fdio/versions.tf
+++ b/fdio.infra.terraform/terraform-vault-aws-secret-backend/fdio/versions.tf
@@ -1,12 +1,12 @@
terraform {
backend "consul" {
- address = "10.30.51.23:8500"
+ address = "10.30.51.26:8500"
scheme = "http"
path = "terraform/aws-secret-backend"
}
required_providers {
vault = {
- version = ">= 3.12.0"
+ version = "4.3.0"
}
}
required_version = ">= 1.5.4"
diff --git a/fdio.infra.terraform/terraform-vault-aws-secret-backend/versions.tf b/fdio.infra.terraform/terraform-vault-aws-secret-backend/versions.tf
index 996288568d..f084df8654 100644
--- a/fdio.infra.terraform/terraform-vault-aws-secret-backend/versions.tf
+++ b/fdio.infra.terraform/terraform-vault-aws-secret-backend/versions.tf
@@ -1,7 +1,7 @@
terraform {
required_providers {
vault = {
- version = ">=2.22.1"
+ version = "4.3.0"
}
}
required_version = ">= 1.1.4"