diff --git a/examples/gcp/bin/prep-inception.sh b/examples/gcp/bin/prep-inception.sh index 1d51447b..a22d7935 100755 --- a/examples/gcp/bin/prep-inception.sh +++ b/examples/gcp/bin/prep-inception.sh @@ -28,6 +28,9 @@ terraform { } EOF +# Wait for the service account key to propagate +sleep 2 + terraform init terraform state show module.inception.google_storage_bucket.tf_state || \ terraform import module.inception.google_storage_bucket.tf_state ${tf_state_bucket_name}