Skip to content

Commit

Permalink
Fixing google_secret_manager_secret resource changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
gushob21 committed Oct 18, 2023
1 parent 5aa76d1 commit 42adb2d
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions terraform-modules/app-group-admin-seed/seed.tf
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ resource "google_project_iam_member" "cloud-deploy-roles" {
resource "google_secret_manager_secret" "clouddeploy-sa" {
secret_id = "clouddeploy-sa"
replication {
automatic = true
auto {}
}
project = module.admin-project.project_id
}
Expand Down Expand Up @@ -240,7 +240,7 @@ resource "google_project_iam_member" "workload-identity-sa-roles" {
resource "google_secret_manager_secret" "app-name" {
secret_id = "app-name"
replication {
automatic = true
auto {}
}
project = module.admin-project.project_id
}
Expand All @@ -258,7 +258,7 @@ resource "google_secret_manager_secret_iam_member" "app-name-secret-access" {
resource "google_secret_manager_secret" "region" {
secret_id = "region"
replication {
automatic = true
auto {}
}
project = module.admin-project.project_id
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ resource "google_storage_bucket_iam_member" "member" {
resource "google_secret_manager_secret" "trigger-bucket" {
secret_id = "billing-permission-fn-trg-bucket"
replication {
automatic = true
auto {}
}
project = var.secrets_project_id
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ resource "google_storage_bucket_iam_member" "member" {
resource "google_secret_manager_secret" "trigger-bucket" {
secret_id = "permission-fun-trg-bucket-${var.env}"
replication {
automatic = true
auto {}
}
project = var.secrets_project_id
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ resource "google_storage_bucket_iam_member" "member" {
resource "google_secret_manager_secret" "trigger-bucket" {
secret_id = "project-permission-fn-trg-bucket"
replication {
automatic = true
auto {}
}
project = var.secrets_project_id
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ resource "google_storage_bucket_iam_member" "member" {
resource "google_secret_manager_secret" "trigger-bucket" {
secret_id = "secret-permission-fn-trg-bucket"
replication {
automatic = true
auto {}
}
project = var.project_id
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ resource "google_service_account_iam_member" "update-workload-identity" {
resource "google_secret_manager_secret" "ksa-secret" {
secret_id = "${var.env}-kubernetes-sa"
replication {
automatic = true
auto {}
}
project = var.project_id
}
Expand All @@ -58,7 +58,7 @@ resource "google_secret_manager_secret_iam_member" "ksa-secret-access" {
resource "google_secret_manager_secret" "namespace-secret" {
secret_id = "${var.env}-namespace"
replication {
automatic = true
auto {}
}
project = var.project_id
}
Expand Down
2 changes: 1 addition & 1 deletion terraform-modules/webhooks/application/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ resource "google_secret_manager_secret" "wh-sec" {
project = var.project_id
secret_id = "${var.app_name}-app-webhook-secret"
replication {
automatic = true
auto {}
}
}

Expand Down
2 changes: 1 addition & 1 deletion terraform-modules/webhooks/iac/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ resource "google_secret_manager_secret" "wh-sec" {
project = var.project_id
secret_id = "${var.app_name}-infra-webhook-secret"
replication {
automatic = true
auto {}
}
}

Expand Down

0 comments on commit 42adb2d

Please sign in to comment.