https://pulumi.com logo
Docs
Join the conversationJoin Slack
Channels
announcements
automation-api
aws
azure
blog-posts
built-with-pulumi
cloudengineering
cloudengineering-support
content-share
contribex
contribute
docs
dotnet
finops
general
getting-started
gitlab
golang
google-cloud
hackathon-03-19-2020
hacktoberfest
install
java
jobs
kubernetes
learn-pulumi-events
linen
localstack
multi-language-hackathon
office-hours
oracle-cloud-infrastructure
plugin-framework
pulumi-cdk
pulumi-crosscode
pulumi-deployments
pulumi-kubernetes-operator
pulumi-service
pulumiverse
python
registry
status
testingtesting123
testingtesting321
typescript
welcome
workshops
yaml
Powered by Linen
general
  • t

    thankful-holiday-28161

    08/01/2020, 4:39 AM
    I come from AWS + CloudFormation
  • t

    thankful-holiday-28161

    08/01/2020, 4:39 AM
    One thing I noticed off the bat is how Pulumi uses OAuth natively in order to authenticate to an orchestration server
  • t

    thankful-holiday-28161

    08/01/2020, 4:40 AM
    I wrap my development runtime using Docker and I prefer credential files that I can mount into a Docker volume
  • t

    thankful-holiday-28161

    08/01/2020, 4:40 AM
    Pulumi makes me pass in an auth token w/o conventional
    ~/.pulumi/credentials
    or
    ~/.pulumi/config
    like
    ~/.aws
    has
  • t

    thankful-holiday-28161

    08/01/2020, 4:40 AM
    or click on a link to a website
  • t

    thankful-holiday-28161

    08/01/2020, 4:41 AM
    Also not sure how much I like the
    venv/
    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 out
  • t

    thankful-holiday-28161

    08/01/2020, 4:43 AM
    I'm also not sure whether Pulumi can pass in env variables and output variables from the stack, I think it can I just haven't discovered it yet, but CF makes this trivial since there's a top-level keyword in the docs
  • t

    thankful-holiday-28161

    08/01/2020, 4:44 AM
    Not sure how much I like the
    curl -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 you
  • t

    thankful-holiday-28161

    08/01/2020, 4:45 AM
    Curling the tarball URL directly was too slow to be practical imho
  • t

    thankful-holiday-28161

    08/01/2020, 4:45 AM
    I really wish Pulumi would support Cloud CDN, I think this is a GCP-specific issue as GCP Deployment Manager also raises no backends with this explicitly, vs. AWS's CloudFront CloudFormation resource
  • t

    thankful-holiday-28161

    08/01/2020, 4:46 AM
    Instead React.js deployment docs reference GCP App Engine which at minimum costs $18 / mo. (imho I think that's a ripoff given I'm running a blog using an S3 bucket + CloudFront for a few cents every month)
  • t

    thankful-holiday-28161

    08/01/2020, 4:47 AM
    Hope it helps, I'm sure Pulumi has great things ahead and I'm looking forward to using it
  • b

    billowy-army-68599

    08/01/2020, 4:57 AM
    hey @thankful-holiday-28161, would be great if you could thread all this awesome feedback, would make it easier to address and reduces the amount of scrollback in the channel. Some things I can provide as specific points: - the
    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!
    t
    • 2
    • 3
  • b

    bright-teacher-51435

    08/01/2020, 12:39 PM
    Hi All, on my local
    gcloud config list
    shows my config, however in
    @pulumi/gcp.config
    all values are undefined. Any ideas?
  • b

    bright-teacher-51435

    08/01/2020, 12:49 PM
    pulumi config set gcp
  • a

    acceptable-stone-35112

    08/01/2020, 1:41 PM
    When is pulumi going to upgrade to v3 officially? https://www.hashicorp.com/blog/announcing-v3-0-of-the-terraform-aws-provider/
  • b

    broad-dog-22463

    08/01/2020, 9:28 PM
    @acceptable-stone-35112 there’s a PR that I am working on right now
  • b

    broad-dog-22463

    08/01/2020, 9:29 PM
    We are going to be assessing it’s upgrade path
    👍 2
  • b

    bright-policeman-55860

    08/02/2020, 12:25 PM
    Is there any way to force an import of a resource? In my case I need to import a certain AWS SSM document that exists by default on AWS, but I need to change its content. So I need to import it and change it in one go, but Pulumi complains that it can't import the resource because the content differs.
    q
    • 2
    • 12
  • h

    high-lunch-43392

    08/03/2020, 5:57 AM
    Hey, what is the best/recommended way of mocking pulumi's
    config
    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)
    l
    • 2
    • 2
  • d

    dazzling-sundown-39670

    08/03/2020, 11:04 AM
    Any guide for digitalocean container registries yet? Can't get it to work 😞
    l
    • 2
    • 18
  • d

    delightful-xylophone-3967

    08/03/2020, 1:50 PM
    Hello, I have trouble getting a values.yaml file for Helm translated to C#. I am trying to deploy a remote chart with pulumi c# and need to set some variables. In values file it would look like this
    extraEnv: |
    -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?
    b
    g
    • 3
    • 5
  • m

    miniature-leather-70472

    08/03/2020, 2:35 PM
    I'm creating a ComponentResource, which has parameters passed in, I have made these parameters into Input<T> so that they can be used directly in resource creation and passed to other resources etc. however it appears now that when I need to use an Input<bool> in an if statement with an "or" operator, it does not work. Should I be passing those objects into my component resource as straight bool objects, or is there a way to resolve this?
    w
    • 2
    • 1
  • q

    quiet-hairdresser-18834

    08/03/2020, 3:14 PM
    I posted this in the typescript channel last week no one has put any ideas so maybe there is a general way to do this: "Is it possible to wait in a pulumi script? I am having issues with a service principal not being replicated so I would like to wait X seconds to see if that fixes it"
    m
    g
    • 3
    • 6
  • r

    red-winter-93430

    08/03/2020, 3:49 PM
    Hello, is there any way to execute "pulumi up" programmatically in Python (Avoiding Popen or similar approaches)?
    b
    b
    l
    • 4
    • 6
  • p

    proud-spoon-58287

    08/03/2020, 4:38 PM
    Hi all
    👋 1
  • p

    proud-spoon-58287

    08/03/2020, 4:38 PM
    do not understand how the hell I can add a cluster provider here
  • p

    proud-spoon-58287

    08/03/2020, 4:38 PM
    // Create resources
    const ksqldb = new k8s.yaml.ConfigGroup('ksqldb', {
      files: [path.join('yaml', '*.yaml')],
    })
  • p

    proud-spoon-58287

    08/03/2020, 4:39 PM
    got a bunch of yaml file
  • p

    proud-spoon-58287

    08/03/2020, 4:39 PM
    I have followed the gke tutorial with Palumi
Powered by Linen
Title
p

proud-spoon-58287

08/03/2020, 4:39 PM
I have followed the gke tutorial with Palumi
View count: 1