steep-island-39848
08/31/2022, 6:47 PMgcp:pubsub:SubscriptionIAMMember <resource-name> refreshing error: unable to find required configuration setting: GCP Project
if err := s.SetAllConfig(ctx, map[string]auto.ConfigValue{
"gcp:project": {Value: p.Project},
"gcp:region": {Value: p.GcpRegion},
}); err != nil {
return nil, errors.Wrap(err, "failed to set config")
}
But that did not resolve the issue either.gcp-cfg:project: <project-name>
instead of
gcp:project: <project-name>
Using this nonstandard parameter I set the project for each resource.
This does not work anymore with v6.36.0, where the default config key gcp:project
needs to be set or not even a refresh will work.echoing-dinner-19531
08/31/2022, 7:27 PMbillowy-army-68599
08/31/2022, 7:28 PMshy-arm-32391
08/31/2022, 8:04 PMsteep-island-39848
09/01/2022, 7:36 AMgreat-sunset-355
09/01/2022, 10:30 AMgcp:iam:WorkloadIdentityPoolProvider (gcp-workload-identity-provider-dwh-github-actions-wipp):
error: 1 error occurred:
* updating urn:pulumi:dwh::gcp-workload-identity-provider::gcp:iam/workloadIdentityPoolProvider:WorkloadIdentityPoolProvider::gcp-workload-identity-provider-dwh-github-actions-wipp: 1 error occurred:
* Error updating WorkloadIdentityPoolProvider "projects/stately-lodge-257509/locations/global/workloadIdentityPools/github/providers/dwh-analytics": Patch "<https://iam.googleapis.com/v1beta/projects/stately-lodge-257509/locations/global/workloadIdentityPools/github/providers/dwh-analytics?alt=json&updateMask=>": dial tcp: lookup <http://iam.googleapis.com|iam.googleapis.com> on 192.168.168.254:53: no such host
PS. I do not quite understand the Go snippet you added and how does it help, I'm not using automation apisteep-island-39848
09/01/2022, 10:59 AMunable to find required configuration setting: GCP Project
that popped up in my case, and specifically for the automation API, not regular use of Pulumigreat-sunset-355
09/01/2022, 11:09 AM