Skip to content

Commit

Permalink
remove secret_version from being TF managed
Browse files Browse the repository at this point in the history
Signed-off-by: Bob Callaway <[email protected]>
  • Loading branch information
bobcallaway committed Sep 17, 2024
1 parent 75219d9 commit 9c6d03d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions terraform/gcp/modules/mysql/mysql.tf
Original file line number Diff line number Diff line change
Expand Up @@ -218,12 +218,6 @@ resource "google_secret_manager_secret" "mysql-password" {
depends_on = [google_project_service.service]
}

resource "google_secret_manager_secret_version" "mysql-password" {
secret = google_secret_manager_secret.mysql-password.id
secret_data = google_sql_user.trillian.password
depends_on = [google_secret_manager_secret.mysql-password]
}

resource "google_secret_manager_secret" "mysql-user" {
secret_id = "mysql-user"

Expand Down

0 comments on commit 9c6d03d

Please sign in to comment.