-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating Uptime Checks will error in the first try and succeed in the second #7015
Comments
@aabedraba can you take a look below solution and see if that helps address your issue? resource "null_resource" "delay" {
provisioner "local-exec" {
command = "sleep 60"
}
triggers = {
"project" = "${google_project.project.id}"
} |
@aabedraba does that workaround work for you? |
@aabedraba closing this as I have not heard back from you. Assuming this is no longer an issue. If not, please reopen it and let me know how you apply the suggestion. Thanks |
Hi Edward! Thanks for your solution. It worked fine! For some reason I wasn't receiving notifications from this thread, excuse the lack of response. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Terraform Version
Terraform Configuration Files
Debug Output
VM creates fine.
Crash Output
Error: Error creating UptimeCheckConfig: googleapi: Error 404: Error confirming monitored resource:
type: "gce_instance"
Expected Behavior
UptimeCheck waits for the VM to be created and then tries to be created.
Actual Behavior
UptimeCheck fails to be created as it waits for VM creation to finish. So in the second try it does get created.
Steps to Reproduce
terraform apply
Additional Context
References
The text was updated successfully, but these errors were encountered: