Open igorwwwwwwwwwwwwwwwwwwww opened 9 months ago
@igorwwwwwwwwwwwwwwwwwwww both errors appear to be from the api, but no clue what went wrong. Do you have the config that can be used to repro the issue? Also could you share the longer debug log that contains the api requests and responses?
@edwardmedia FYI, the container failing to boot is expected -- it's an application issue. I'm happy to provide a small reproducer though in case that helps.
Reproducer:
resource "google_cloud_run_v2_service" "issue_16765" {
name = "issue-16765"
location = "us-east1"
ingress = "INGRESS_TRAFFIC_ALL"
template {
containers {
image = "broken"
}
}
}
The container fails to boot because the image is invalid / does not exist in the docker registry.
Debug logs for the two terraform apply runs: https://gist.github.com/igorwwwwwwwwwwwwwwwwwwww/b59b1aefb22abdd89d03e4179dc4b5d1.
Looks like there's a couple other similar reports, possible duplicates of this:
I think this should be fixed by https://github.com/GoogleCloudPlatform/magic-modules/pull/10298
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
1.5.3
Affected Resource(s)
google_cloud_run_v2_service
Terraform Configuration Files
Debug Output
On initial run:
This still creates the service on the google side however.
On second run:
Full debug logs: https://gist.github.com/igorwwwwwwwwwwwwwwwwwwww/b59b1aefb22abdd89d03e4179dc4b5d1.
Panic Output
n/a
Expected Behavior
The service is created in GCP, and this resource creation is reflected within the tfstate.
Actual Behavior
The service is created in GCP, but the tfstate does not contain the resource.
Steps to Reproduce
terraform apply
Important Factoids
Not AFAICT.
References
b/315953949