GoogleCloudPlatform / terraform-google-enterprise-application

Deploy an enterprise developer platform on Google Cloud
https://registry.terraform.io/modules/GoogleCloudPlatform/enterprise-application/google
Apache License 2.0
30 stars 14 forks source link

(CI) Seeing a lot of "Error: Provider produced inconsistent result after apply" #115

Closed apeabody closed 5 months ago

apeabody commented 6 months ago
Error: Provider produced inconsistent result after apply

When applying changes to module.env.google_service_account.bank_of_anthos,
provider "module.env.provider[\"registry.terraform.io/hashicorp/google\"]"
produced an unexpected new value: Root object was present, but now absent.

This is a bug in the provider, which should be reported in the provider's own
issue tracker.. Sleeping for 2m0s and will try again.
apeabody commented 6 months ago
Step #11 - "appfactory-apply": Error: Provider produced inconsistent result after apply
Step #11 - "appfactory-apply": 
Step #11 - "appfactory-apply": When applying changes to
Step #11 - "appfactory-apply": module.components["userservice"].module.app_env_project["production"].module.project-factory.google_service_account.default_service_account[0],
Step #11 - "appfactory-apply": provider "provider[\"registry.terraform.io/hashicorp/google\"]" produced an
Step #11 - "appfactory-apply": unexpected new value: Root object was present, but now absent.
Step #11 - "appfactory-apply": 
Step #11 - "appfactory-apply": This is a bug in the provider, which should be reported in the provider's own
Step #11 - "appfactory-apply": issue tracker.' but this error was expected and warrants a retry. Further details: Provider eventual consistency error.
apeabody commented 6 months ago

https://github.com/hashicorp/terraform-provider-google/issues/18087

apeabody commented 5 months ago

The adoption of the new https://github.com/terraform-google-modules/terraform-google-project-factory/releases/tag/v15.0.1 has greatly reduced the frequency of impact.