broad-dog-22463
08/01/2020, 9:28 PMbroad-dog-22463
08/01/2020, 9:29 PMbright-policeman-55860
08/02/2020, 12:25 PMhigh-lunch-43392
08/03/2020, 5:57 AMconfig
object? Basically, I need a lot of config vars from yaml
mocked for mocha unit tests to function. It seems there is a requirement to convert yaml to JSON and create an env variable for this to happen? If so, that definitely needs improvement! Could someone please point me to any resources/blogs/documentation about injecting config vars into unittests (typescript)dazzling-sundown-39670
08/03/2020, 11:04 AMdelightful-xylophone-3967
08/03/2020, 1:50 PMextraEnv: |
-name: myKey
value: "myValue"
In C# I thought "|" is the beginning of a multi line string literal and it should look like this
Value = new Dictonary<string, object>
{
{"extraEnv","-name: myKey\n value: \"myValue\""}
};
But I get a parse exception
error: Pulumi.ResourceException: Error: YAML parse error on keycloak/templates/statefulset.yaml: error converting YAML to JSON: yaml: line 83: did not find expected '-' indicator
Does anyone has the same problem?miniature-leather-70472
08/03/2020, 2:35 PMquiet-hairdresser-18834
08/03/2020, 3:14 PMred-winter-93430
08/03/2020, 3:49 PMproud-spoon-58287
08/03/2020, 4:38 PMproud-spoon-58287
08/03/2020, 4:38 PMproud-spoon-58287
08/03/2020, 4:38 PM// Create resources
const ksqldb = new k8s.yaml.ConfigGroup('ksqldb', {
files: [path.join('yaml', '*.yaml')],
})
proud-spoon-58287
08/03/2020, 4:39 PMproud-spoon-58287
08/03/2020, 4:39 PMproud-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 AM