thankful-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
08/01/2020, 4:57 AMpulumi 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 PMbroad-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 PM