bumpy-river-47200
07/31/2020, 9:11 AMDo you want to perform this update? yes
Updating (dev):
…………………………………………………………………….
pulumi:pulumi:StackReference (grst):
error: post-step event returned an error: failed to save snapshot: .pulumi/stacks/dev.json: snapshot integrity failure; it was already written, but is invalid (backup available at .pulumi/stacks/dev.json.bak): child resource urn:pulumi:dev::xyz::pulumi:pulumi:StackReference::grst refers to missing parent urn:pulumi:dev::xyz::pulumi:pulumi:Stack::xyz-dev
Not sure why it keep saying child resource is missing parent, any suggestion please?elegant-window-55250
07/31/2020, 1:46 PMfamous-kite-69533
07/31/2020, 4:20 PMpulumi update
again it tries to create again a CRD (operatorconfigurations.acid.zalan.do) that it has already created the first time. I can't figure out how to prevent that. You can see the code at https://ybin.me/p/2162e08ece72e646#iOV2fVY34JpU2d1mAqpxc00ru4SCfGwRdcquitOKupY= - any idea of what I can do to fix? Thanks!bright-policeman-55860
07/31/2020, 6:44 PMbright-policeman-55860
07/31/2020, 6:45 PMbright-teacher-51435
07/31/2020, 7:13 PMbright-teacher-51435
07/31/2020, 7:13 PMbillowy-laptop-45963
07/31/2020, 8:28 PMpulumi stack ls
it doesn't see anything. I can see files in the .pulumi/stacks/ folder. Did the format change somewhere along the line?bright-policeman-55860
07/31/2020, 8:55 PMerror: no stack selected; please use `pulumi stack select` or `pulumi stack init` to choose one
pulumi stack ls
shows nothing.bright-policeman-55860
07/31/2020, 8:59 PMbright-policeman-55860
07/31/2020, 9:24 PMthankful-holiday-28161
08/01/2020, 4:38 AMthankful-holiday-28161
08/01/2020, 4:38 AMthankful-holiday-28161
08/01/2020, 4:39 AMthankful-holiday-28161
08/01/2020, 4:39 AMthankful-holiday-28161
08/01/2020, 4:39 AMthankful-holiday-28161
08/01/2020, 4:40 AMthankful-holiday-28161
08/01/2020, 4:40 AM~/.pulumi/credentials
or ~/.pulumi/config
like ~/.aws
hasthankful-holiday-28161
08/01/2020, 4:40 AMthankful-holiday-28161
08/01/2020, 4:41 AMvenv/
configuration, since I ran my Docker container as a default root user to template out a PoC the file / directory permissions are different b/w host + container and it's a snag to work that outthankful-holiday-28161
08/01/2020, 4:43 AMthankful-holiday-28161
08/01/2020, 4:44 AMcurl -fsSL <https://get.pulumi.com> | sh
since I wanted to lock down the Pulumi version, but I think there's perf differences between curling the tarball directory and having the script do it for youthankful-holiday-28161
08/01/2020, 4:45 AMthankful-holiday-28161
08/01/2020, 4:45 AMthankful-holiday-28161
08/01/2020, 4:46 AMthankful-holiday-28161
08/01/2020, 4:47 AMbillowy-army-68599
pulumi login
command will generate a ~/.pulumi/credentials.json
, there's an example of it here: https://gist.github.com/jaxxstorm/b7672567bf76bcf64c41d8150b6afaea
- unless I'm misunderstanding, you can grab env variable directly using the standard python tools, we also have configuration: https://www.pulumi.com/docs/intro/concepts/config/ and stack references: https://www.pulumi.com/docs/intro/concepts/organizing-stacks-projects/#inter-stack-dependencies which help with configuring user specific config
- I'd love to see some numbers for your download speed/perf differences. the curl | sh
installation method isn't my personal favourite here. We have docker containers ready to use if you need them: https://hub.docker.com/u/pulumi
- not sure what your use case is, but it seems like you're doing static assets with a bucke. There's no specific endpoint for Cloud CDN as you say, but if you add a standard gcp bucket it gets cloud cdn and there's also a backend bucket type which might meet your needs: https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/gcp/compute/#BackendBucket
- you can specify your own venv if you like: https://www.pulumi.com/docs/intro/languages/python/#virtual-environments
hope that helps, welcome to the community!bright-teacher-51435
08/01/2020, 12:39 PMgcloud config list
shows my config, however in @pulumi/gcp.config
all values are undefined. Any ideas?bright-teacher-51435
08/01/2020, 12:49 PMpulumi config set gcp
acceptable-stone-35112
08/01/2020, 1:41 PM