diff options
author | pmikus <peter.mikus@protonmail.ch> | 2024-07-22 13:51:10 +0200 |
---|---|---|
committer | Peter Mikus <peter.mikus@protonmail.ch> | 2024-07-26 07:20:46 +0000 |
commit | 421111d9150b506a324f32c82b6ccb9abf7fb6c9 (patch) | |
tree | 4248b2746cb17d8cf15c12ad7769112ad8fa5cd1 /fdio.infra.terraform/terraform-vault-aws-secret-backend/fdio | |
parent | 3abec6afd2d1d96d9d6c35615245cf031bd1c596 (diff) |
feat(infra): Ubuntu 24.04 LTS
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch>
Change-Id: I81e48360fcc970a16f1203955003d59f476b3233
Diffstat (limited to 'fdio.infra.terraform/terraform-vault-aws-secret-backend/fdio')
3 files changed, 21 insertions, 3 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" |