hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.34k stars 1.74k forks source link

Error: Provider produced inconsistent final plan #18199

Open MichaelAgapaloglou-KSO opened 5 months ago

MichaelAgapaloglou-KSO commented 5 months ago

Question

i encountered the following error: When expanding the plan for google_cloud_scheduler_job.ads_policy_daily_scheduler to include new values learned so far during apply, provider "registry.terraform.io/hashicorp/google" produced an invalid new value for .http_target[0].oidc_token[0].audience: was null, but now cty.StringVal("####"). This is a bug in the provider, which should be reported in the provider's own issue tracker.

fathom-ben commented 5 months ago

Saw the same error -- our workaround was to specify the audience (the URI of a Cloud Run service)

MichaelAgapaloglou-KSO commented 5 months ago

Saw the same error -- our workaround was to specify the audience (the URI of a Cloud Run service)

Thanks for that. Im gonna try this too!

wdzeng commented 4 months ago

Maybe a duplicate of #16018.