Skip to content

Commit

Permalink
increase sleep to 60s
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Mitchell committed May 21, 2024
1 parent 25af7fb commit 1232c65
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -421,10 +421,10 @@ resource "google_sql_database_instance" "instance" {
}
# TODO: Remove with resolution of https://github.com/hashicorp/terraform-provider-google/issues/14233
resource "time_sleep" "wait_30_seconds" {
resource "time_sleep" "wait_60_seconds" {
depends_on = [google_sql_database_instance.instance]
create_duration = "30s"
create_duration = "60s"
}
data "google_project" "project" {}
Expand All @@ -436,7 +436,7 @@ resource "google_project_iam_member" "iam_user" {
}
resource "google_sql_user" "user" {
depends_on = [time_sleep.wait_30_seconds, google_project_iam_member.iam_user]
depends_on = [time_sleep.wait_60_seconds, google_project_iam_member.iam_user]
name = "[email protected]"
instance = google_sql_database_instance.instance.name
type = "CLOUD_IAM_USER"
Expand Down

0 comments on commit 1232c65

Please sign in to comment.