agreeable-traffic-11888
04/16/2020, 2:10 PMconst cfg = new pulumi.Config();
const dbUsername = cfg.requireSecret("db_username");
const dbPassword = cfg.requireSecret("db_password");
When I run pulumi stack export --file stack.json
these details are appearing in plain text in the exported file, under an outputs
node. Is that expected?millions-judge-24978
04/16/2020, 6:07 PMacoustic-river-98339
04/16/2020, 7:28 PMalert-pencil-7400
04/16/2020, 8:31 PMnew pulumi.asset.RemoteArchive('<gs://example/file.zip>')
<-- complains that gs://
is not supportedalert-pencil-7400
04/16/2020, 8:54 PMfaint-motherboard-95438
04/16/2020, 10:24 PMComponentResource
(in my use case, I need a bucket’s name) ?
I tried to define an arg like aws.s3.bucket
, string
, pulumi.Input<string>
, pulumi.Input<aws.s3.bucket>
, I tried to pass the whole bucket object or the bucket name directly, I tried to convert the input as an output, I tried to apply, interpolate, whatever, all I get when I want to use the name is :
Calling [toString] on an [Output<T>] is not supported.
To get the value of an Output<T> as an Output<string> consider either:
1: o.apply(v => `prefix${v}suffix`)
2: pulumi.interpolate `prefix${v}suffix
Thanksflat-engine-80045
04/16/2020, 10:54 PMenvs
is of type pulumi.Input[list] but i would expect it to be of type pulumi.Input[dict] to take key:value pairs for the env vars? I appreciate any helphigh-postman-55219
04/16/2020, 11:49 PMhigh-postman-55219
04/16/2020, 11:49 PMhigh-postman-55219
04/16/2020, 11:50 PMhigh-postman-55219
04/16/2020, 11:50 PMbland-lamp-16797
04/17/2020, 6:52 AMinfrastracture
that will have 3 stacks (dev/staging/prod), each stack configures diffrent GCP project
2. in each repo it will be a folder called infra
which will have pulumi configration for dynamic env. So if Joe wants environment he will trigger some script that will go across all repos and create env for him joe.env.company.dev where he can work on it
Am I going a right direction? I'm afraid I'll stumble on something unexpected so I ask here...bored-planet-52144
04/17/2020, 10:46 AMboundless-tailor-35598
04/17/2020, 10:47 AMboundless-tailor-35598
04/17/2020, 10:47 AMfaint-motherboard-95438
04/17/2020, 10:48 AMregion
while using the same custom credentials)bored-planet-52144
04/17/2020, 11:32 AMquick-greece-34196
04/17/2020, 4:08 PMbig-potato-91793
04/17/2020, 4:51 PMquick-greece-34196
04/17/2020, 6:19 PMpulumi.ComponentResource
is instantiated in the service program. What is going on? Is there anything I am missing?acceptable-stone-35112
04/17/2020, 9:13 PMbrave-glass-88708
04/17/2020, 9:42 PMfast-dinner-32080
04/17/2020, 10:23 PMfast-dinner-32080
04/17/2020, 10:26 PMpulumi stack ls | grep "*" | awk '{print $1}' | sed 's/\*//g'
quiet-wolf-18467
quiet-wolf-18467
tall-librarian-49374
04/18/2020, 7:04 PMmammoth-journalist-45153
04/18/2020, 9:17 PMhigh-orange-18933
04/19/2020, 12:27 AMsticky-lighter-73941
04/19/2020, 1:43 PM