hallowed-cat-56281
11/30/2021, 5:42 PM443: connect: no route to host
errors randomly while updating/deploying a stack?fast-easter-23401
11/30/2021, 6:59 PMgcp.pubsub.SubscriptionIAMBinding
resource. I got first this error:
gcp:pubsub:SubscriptionIAMBinding (communications-applications-worker-iam-binding):
error: Preview failed: importing projects/<my-project-id>/subscriptions/<my-subscription-name>/roles/pubsub.subscriber: Wrong number of parts to Binding id [projects/<my-project-id>/subscriptions/<my-subscription-name>/roles/pubsub.subscriber]; expected 'resource_name role [condition_title]'.
Then, at the suggestions of @green-school-95910 (many thanks), I used a two-part string including the resource name and the role attached to the binding separated by a whitespace. But then I got the following error:
gcp:pubsub:SubscriptionIAMBinding (communications-applications-worker-iam-binding):
error: Preview failed: importing projects/<my-project-id>/subscriptions/<my-subscription-name> roles/pubsub.subscriber: project: required field is not set
I'm a bit puzzled, as the resource name does indeed contain a reference to the project. Here's my code (I'm using TS):
const communicationsApplicationsWorker = new gcp.pubsub.SubscriptionIAMBinding(
'communications-applications-worker-iam-binding',
{
project: projectId,
members: [
`serviceAccount:${serviceAccountEmail}`,
],
role: 'roles/pubsub.subscriber',
subscription: subscriptionName,
},
{
import:
`projects/${projectId}/subscriptions/${subscriptionName} roles/pubsub.subscriber`,
protect: true,
}
);
Any ideas what I'm doing wrong?
Many thanks 🙂tall-photographer-1935
12/07/2021, 11:05 PMerror: expected non-nil error with nil state during Create of urn:pulumi:dev::****::gcp:sql/user:User::db user addl-user1 in **
code sample:
gcp_classic_db_user.User(resource_name=f'db user {user_args.username} in {created_instance_name}',
args=user_args.database_user_args,
opts=ResourceOptions(depends_on=self.instance))
Any ideas on how to fix this?flaky-evening-60547
12/10/2021, 6:54 PMType Name Plan Info
+ pulumi:pulumi:Stack lazy-test-dev create
└─ gcp:organizations:Project asdfasdfasdf 1 error
Diagnostics:
gcp:organizations:Project (asdfasdfasdf):
error: could not validate provider configuration: 2 errors occurred:
* Invalid or unknown key
* Invalid or unknown key
How do I debug this? I was able to create a gcp project in a different pulumi project.happy-gpu-24908
12/10/2021, 11:28 PMsome-continent-7311
12/13/2021, 12:24 PMimagePullSecrets
to be able to pull images from a private GCP Registry Container. I would appreciate if anyone could point out to a tutorial. Thank you!able-camera-57198
12/14/2021, 6:54 PMError 400: Invalid value for field 'resource.cdnPolicy.defaultTtl': '3600'. default_ttl cannot be specified with USE_ORIGIN_HEADERS cache_mode., invalid
What's interesting is that I'm not specifying a DefaultTtl
(C#). Yet for some reason, Pulumi must be coming up with one and providing it to the provider?able-camera-57198
12/14/2021, 7:29 PMError updating UrlMap ".......": googleapi: Error 412: Invalid fingerprint., conditionNotMet
This URLMap was created fine with the same code, but suddenly has started failing on updates.billions-glass-17089
12/16/2021, 10:51 PMquiet-plastic-34312
12/20/2021, 2:47 PMDiagnostics:
gcp:cloudrun:IamPolicy (noauthIamPolicy):
anyone know how to solve it?sparse-butcher-73713
12/22/2021, 7:37 AMsparse-butcher-73713
12/22/2021, 8:15 AMfast-arm-63150
12/28/2021, 8:58 AMminiature-country-26754
12/29/2021, 1:06 PMadaptive_protection_config=gcp.compute.SecurityPolicyAdaptiveProtectionConfigArgs(
layer7_ddos_defense_config=gcp.compute.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs(enable=None)
),
It fails with:
error: gcpcompute/securityPolicySecurityPolicy resource 'XXXX' has a problem: Invalid or unknown key. Examine values at 'SecurityPolicy.AdaptiveProtectionConfig.Layer7DdosDefenseConfig'.cold-night-79049
12/30/2021, 10:18 AMabundant-yacht-50678
12/30/2021, 5:01 PMeager-room-52651
01/06/2022, 2:28 PMproject = gcp.projects.Service(PROJECT_NAME,
disable_dependent_services=True,
project=PROJECT_ID,
service=["<http://compute.googleapis.com|compute.googleapis.com>", "<http://container.googleapis.com|container.googleapis.com>"])
out put:
AssertionError: Unexpected type. Expected 'list' got '<class 'str'>'
curved-summer-41191
01/06/2022, 4:10 PM❯ pulumi plugin install resource gcp v3.25.0
[resource plugin gcp-3.25.0] installing
error: [resource plugin gcp-3.25.0] downloading from : 403 HTTP error fetching plugin from <https://get.pulumi.com/releases/plugins/pulumi-resource-gcp-v3.25.0-darwin-arm64.tar.gz>
quiet-plastic-34312
01/06/2022, 7:39 PMbillions-glass-17089
01/06/2022, 10:34 PMfast-arm-63150
01/11/2022, 6:04 PMeager-room-52651
01/13/2022, 3:00 PMquick-wolf-8403
01/14/2022, 7:23 PMquick-wolf-8403
01/14/2022, 7:23 PMsecret, err := secretmanager.NewSecret(ctx,
"myTestSecret",
&secretmanager.SecretArgs{
Replication: secretmanager.ReplicationArgs{},
SecretId: pulumi.String("joebob"),
}, nil)
quick-wolf-8403
01/14/2022, 7:24 PMgoogle-native:secretmanager/v1:Secret (myTestSecret):
error: error sending request: googleapi: Error 400: Secret.replication must be specified.: "<https://secretmanager.googleapis.com/v1/projects/nocap-demo/secrets?secretId=joebob>" map[project:nocap-demo replication:map[] secretId:joebob]
aloof-leather-66267
01/17/2022, 5:37 AMaloof-leather-66267
01/19/2022, 12:13 AMsome-continent-7311
01/19/2022, 11:07 AMaloof-leather-66267
01/19/2022, 11:00 PMpulumi up
, it says the change was made. However, in reality no change was made, and running pulumi preview
still shows the change as pending.brash-stone-86819
01/21/2022, 12:14 AM