proud-spoon-58287
08/03/2020, 4:39 PMproud-spoon-58287
08/03/2020, 4:39 PMaverage-eye-3295
08/04/2020, 12:18 AMdocker:image:Image dev-data-gathering-srv-docker-img The push refers to repository [<http://gcr.io/pivotal-spark-262418/dev-data-gathering-srv|gcr.io/pivotal-spark-262418/dev-data-gathering-srv>]
docker:image:Image dev-data-gathering-srv-docker-img Successfully pushed to docker.
~ gcp:cloudrun:Service dev-data-gathering-srv updating [diff: ~template]
~ gcp:cloudrun:Service dev-data-gathering-srv updating [diff: ~template]; error: 1 error occurred:
~ gcp:cloudrun:Service dev-data-gathering-srv **updating failed** [diff: ~template]; error: 1 error occurred:
pulumi:pulumi:Stack cloud-run-deployer-dev running error: update failed
pulumi:pulumi:Stack cloud-run-deployer-dev **failed** 1 error
Diagnostics:
pulumi:pulumi:Stack (cloud-run-deployer-dev):
error: update failed
gcp:cloudrun:Service (dev-data-gathering-srv):
error: 1 error occurred:
* updating urn:pulumi:dev::cloud-run-deployer::gcp:cloudrun/service:Service::dev-data-gathering-srv: Error updating Service "locations/us-central1/namespaces/pivotal-spark-262418/services/dev-data-gathering-srv-2a3d6f8": googleapi: Error 409: Conflict for resource 'dev-data-gathering-srv-2a3d6f8': version '1594441718486000' was specified but current version is '1594441734108000'.
Outputs:
- Domain : "<http://dev.data-gathering.srv.yofio.app|dev.data-gathering.srv.yofio.app>"
- dockerImg : "<http://gcr.io/pivotal-spark-262418/dev-data-gathering-srv:latest-XXSXSXS12313131|gcr.io/pivotal-spark-262418/dev-data-gathering-srv:latest-XXSXSXS12313131>"
- service account Email: "dev-data-gathering-svr-cr@pivotal-spark-262418.iam.gserv
average-receptionist-65239
08/04/2020, 6:21 AMkube-state-metrics
to the Pulumi configs"proud-spoon-58287
08/04/2020, 1:02 PMgifted-student-18589
08/04/2020, 1:59 PMdelightful-xylophone-3967
08/04/2020, 3:22 PMboundless-musician-43495
08/04/2020, 5:55 PMgray-city-50684
08/04/2020, 8:06 PMastonishing-quill-88807
08/04/2020, 8:18 PMvault:address
, vault:auth_logins
, or can you do something like:
vault:
address: foo
auth_logins:
- bar
average-receptionist-65239
08/05/2020, 5:33 AM<http://pulumi.log.info|pulumi.log.info>()
and pulumi.log.debug()
in my TS infrastructure code. How can I see the debug logging during a preview? I've tried pulumi preview --verbose 3
(and 4) but that's not it.worried-sandwich-8337
08/05/2020, 5:41 AMaws.ecs.Secret
. The problem is valueFrom
is a String
but I only have a Promise<string>
which can be converted to Output<string>
via pulumi.output
. What's the recommended solution? Thanks! https://github.com/pulumi/pulumi-aws/blob/master/sdk/nodejs/ecs/container.ts#L262bumpy-river-47200
08/05/2020, 6:19 AM*Code*:
dfjob = gcp.dataflow.Job(
"mydfjob",
max_workers=4,
name="mydfjob",
parameters={
"subscriber": "projects/demo/subscriptions/demo_subs",
"CustomSize": "2",
"callingAgent": "py_data_hourly"
},
project="demo",
region="us-west1",
temp_gcs_location="<gs://demotemplates/tempfiles>",
template_gcs_path="<gs://demotemplates/templates/mydfjob.json>",
zone="us-west1b",
)
Error:
Diagnostics:
gcp:dataflow:Job (mydfjob):
error: googleapi: Error 400: (5e3de3139df6c08e69): The workflow could not be created. Causes: (5ee31t539df6c08f66): Found unexpected parameters: ['callingAgent' (perhaps you meant 'runner'), 'CustomSize' (perhaps you meant 'runner'), 'subscriber' (perhaps you meant 'pipelineUrl')], badRequest
Any suggestion to fix this?kind-mechanic-53546
08/05/2020, 9:03 AMmammoth-motorcycle-8004
08/05/2020, 9:24 AMnutritious-shampoo-16116
08/05/2020, 10:34 AMproud-spoon-58287
08/05/2020, 11:00 AMnutritious-battery-42762
08/05/2020, 12:57 PMastonishing-quill-88807
08/05/2020, 4:31 PM__main__.py
and I'm creating separate stacks for each of them using an S3 backend. Currently I've been creating the stack definitions inside the modules, but I accidentally ended up with one at the root of the project and it automatically added a line to the config with a path to the module. I just wanted to double check whether my initial approach is the "correct" way, or if I should be creating the stack definition yaml in the root of the repository?
Repository: https://github.com/mitodl/ol-infrastructure/
Root level stack definition: https://github.com/mitodl/ol-infrastructure/blob/main/Pulumi.infrastructure.aws.dns.yaml
Module level stack definition: https://github.com/mitodl/ol-infrastructure/blob/main/src/ol_infrastructure/infrastructure/aws/dns/Pulumi.infrastructure.aws.dns.yamlastonishing-quill-88807
08/05/2020, 8:34 PMup
command. Is there something I need to do to get it to recognize the fact that I've already got the KMS secret management set up?many-egg-6856
08/05/2020, 8:46 PMpulumi.yaml
override the backend set by pulumi login
?proud-spoon-58287
08/05/2020, 9:48 PMpulumi.interpolate`"org.apache.kafka.common.security.plain.PlainLoginModule required username=\\"${config.requireSecret('kafkaApiKey')}\\" password=\\"${config.requireSecret('kafkaApiSecret')}\\";"`
thankful-holiday-28161
08/05/2020, 10:53 PMimport ipdb; ipdb.set_trace()
for Python or debugger;
for TypeScript?thankful-holiday-28161
08/05/2020, 10:56 PMthankful-holiday-28161
08/05/2020, 10:56 PMA key for signing Cloud CDN signed URLs for BackendBuckets. To get more information about BackendBucketSignedUrlKey, see: * [API documentation](<https://cloud.google.com/compute/docs/reference/rest/v1/backendBuckets>) * How-to Guides * [Using Signed URLs](<https://cloud.google.com/cdn/docs/using-signed-urls/>) > **Warning:** All arguments including `keyValue` will be stored in the raw state as plain-text. #### Example Usage - Backend Bucket Signed Url Key ```typescript import * as pulumi from "@pulumi/pulumi"; import * as gcp from "@pulumi/gcp"; const bucket = new gcp.storage.Bucket("bucket", {location: "EU"}); const testBackend = new gcp.compute.BackendBucket("testBackend", { description: "Contains beautiful images", bucketName: bucket.name, enableCdn: true, }); const backendKey = new gcp.compute.BackendBucketSignedUrlKey("backendKey", { keyValue: "pPsVemX8GM46QVeezid6Rw==", backendBucket: testBackend.name, }); ```
damp-elephant-82829
08/06/2020, 7:51 AMastonishing-quill-88807
08/06/2020, 1:27 PMdamp-elephant-82829
08/06/2020, 2:07 PMdamp-elephant-82829
08/06/2020, 2:07 PMastonishing-quill-88807
08/06/2020, 2:07 PMastonishing-quill-88807
08/06/2020, 2:07 PM