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
  • e

    early-intern-90238

    04/26/2019, 2:02 PM
    and I am using minikube which also is using 1.14
  • t

    thousands-solstice-45099

    04/26/2019, 4:27 PM
    Hey πŸ‘‹ - I created a Pulumi Provider for Hetzner Cloud (
    hcloud
    ). What would be the release strategy for making it public? πŸ™‚ I saw some deployment scripts in the boilerplate repository which transfer the provider plugin to a Pulumi S3 bucket, etc. I guess this is for the "official providers". What about community providers? πŸ™‚
    πŸŽ‰ 2
    πŸ™Œ 3
    g
    s
    • 3
    • 7
  • f

    full-dress-10026

    04/26/2019, 6:55 PM
    Hi. My company, Compute Software, recently launched our first SaaS product and pilot program. Our solution dynamically optimizes and automates scaling in the cloud and delivers the greatest business value and efficiency from cloud usage. Would love to show the Pulumi team how we could help optimize scaling. Who would be the right person to talk to? PS: We use Pulumi on a daily basis to deploy all our environments. It has been a lifesaver in getting things up and running quickly πŸ™‚
    c
    • 2
    • 1
  • c

    calm-greece-42329

    04/26/2019, 7:52 PM
    is there a docker image built off of the master branch? there was PR merged that I have been waiting on and as far as I can tell the docker images are only built off of images pushed to the pulumi s3 bucket
    c
    b
    • 3
    • 5
  • p

    powerful-london-34081

    04/27/2019, 8:34 PM
    Is there a way to log to the correct resource from a dynamic provider (js)? I'm able to do so from a component resource, but can't see an obvious way for resources backed by dynamic providers.
  • g

    gray-elephant-37695

    04/28/2019, 7:14 PM
    Is it normal that for every change I make to my infra, any docker images are uploaded each time - even if the changes are unrelated to that docker image?
    g
    • 2
    • 3
  • b

    better-rainbow-14549

    04/29/2019, 8:11 AM
    is there a simpler way to rewrite this bit of typescript please?
    • 1
    • 1
  • s

    straight-napkin-70642

    04/29/2019, 3:51 PM
    Hi, nice work guys! Quick question, I can't find a command to figure out where I'm logged. I'm missing something?
    g
    m
    • 3
    • 8
  • t

    tall-librarian-49374

    04/29/2019, 4:37 PM
    I'm trying to create a Cosmos DB account with 5 regions and it invariably fails as described in https://github.com/pulumi/pulumi-azure/issues/219. Any hints or workarounds?
    b
    l
    w
    • 4
    • 4
  • b

    broad-dog-22463

    04/29/2019, 5:38 PM
    qq for the room, does anyone have any TypeScript code that shows how ignoreChanges is used as part of a provider?
    f
    • 2
    • 3
  • c

    calm-greece-42329

    04/29/2019, 7:24 PM
    @lemon-spoon-91807 hey man thanks for jumping into that #2455 cloud object store PR. do you know if there is anything tracking support for distributed locks? it was mentioned at the beginning of it but was dropped as a requirement
    l
    • 2
    • 9
  • i

    icy-dress-83371

    04/29/2019, 9:02 PM
    Anyone know if it is possible to use Service Principal certificates to access azure from the Pulumi config settings instead of just ClientSecret? Terraform uses
    ARM_CLIENT_CERTIFICATE_PASSWORD
    and
    ARM_CLIENT_CERTIFICATE_PATH
    , wondering if Pulumi has an equivalent. Couldn't find any docs.
    b
    • 2
    • 13
  • s

    some-waitress-78905

    04/30/2019, 6:11 AM
    are there any examples of cloudstorage or firebase besides the slack one in the examples folder? https://pulumi.io/reference as far as I can tell is empty on this.
    • 1
    • 1
  • p

    powerful-london-34081

    04/30/2019, 12:32 PM
    Is there a way to log to the correct resource from a dynamic provider (js)? I'm able to do so from a component resource, but can't see an obvious way for resources backed by dynamic providers.
  • q

    quick-action-34599

    04/30/2019, 1:52 PM
    Is there a way to get the dns name for an
    awsx.elasticloadbalancingv2.ApplicationLoadBalancer
    ?
  • q

    quick-action-34599

    04/30/2019, 1:53 PM
    I know you can get a listener endpoint
  • q

    quick-action-34599

    04/30/2019, 2:09 PM
    I guess any listener on an alb will have the same endpoint
  • q

    quick-action-34599

    04/30/2019, 2:27 PM
    Oh,
    ApplicationLoadBalancer .loadBalancer.dnsName
  • q

    quick-action-34599

    04/30/2019, 3:02 PM
    Another question: is there a way to assign multiple target groups to a awsx FargateService? I get an error about multiple `load_balancer`s being set
    w
    • 2
    • 2
  • f

    full-dress-10026

    04/30/2019, 5:13 PM
    I seem to always hit this error:
    aws:ec2:SecurityGroupRule (fib-lb-listener-external-0-ingress):
        error: Plan apply failed: [WARN] A duplicate Security Group rule was found on (sg-0eb9f6d1b7d9a192b). This may be
        a side effect of a now-fixed Terraform issue causing two security groups with
        identical attributes but different source_security_group_ids to overwrite each
        other in the state. See <https://github.com/hashicorp/terraform/pull/2376> for more
        information and instructions for recovery. Error message: the specified rule "peer: 0.0.0.0/0, TCP, from port: 80, to port: 80, ALLOW" already exists
    I'm using pulumi 0.17.8, awsx 0.18.3. It seems like it has something to do with
    external: true
    passed to
    createListener
    and explicitly passing a security group to
    awsx.elasticloadbalancingv2.ApplicationLoadBalancer
    .
  • f

    full-dress-10026

    04/30/2019, 5:16 PM
    Also just started receiving this message after running `pulumi up`:
    TypeError: Converting circular structure to JSON
            at stringify (<anonymous>)
            at OutputImpl.<anonymous> (/home/kenny/compute_software/demo-applications/fibonacci/pulumi-fargate/node_modules/@pulumi/pulumi/output.js:102:47)
            at Generator.next (<anonymous>)
            at /home/kenny/compute_software/demo-applications/fibonacci/pulumi-fargate/node_modules/@pulumi/pulumi/output.js:20:71
            at new Promise (<anonymous>)
            at __awaiter (/home/kenny/compute_software/demo-applications/fibonacci/pulumi-fargate/node_modules/@pulumi/pulumi/output.js:16:12)
            at exports.Output.promise.then (/home/kenny/compute_software/demo-applications/fibonacci/pulumi-fargate/node_modules/@pulumi/pulumi/output.js:89:70)
            at <anonymous>
    Could be related to just updating the CLI to 0.17.8.
    w
    l
    • 3
    • 66
  • m

    millions-judge-24978

    04/30/2019, 8:08 PM
    Hi, I went ahead and opened the
    hombrew
    PR for 0.17.9 https://github.com/Homebrew/homebrew-core/pull/39443, but it fails on this new dep: https://github.com/pulumi/pulumi/blame/55b233fbdc4d59706f17d64e7618f28ddab6412d/go.mod#L43
  • f

    fierce-dinner-20116

    04/30/2019, 8:19 PM
    Hi, I’m using the following script to get pulumi to show a preview of a PRs changes to a GKE cluster:
    yarn --frozen-lockfile
    pulumi stack select ...
    pulumi refresh --yes
    pulumi preview --diff
    However, I get the following error when I run it in CI:
    [2019-04-30T20:10:12Z] + pulumi refresh --yes
    [2019-04-30T20:10:13Z] Previewing refresh (...):
    [2019-04-30T20:10:14Z]
    ...
    [2019-04-30T20:10:14Z]  ~  gcp:container:NodePool dogfood-full-k8s-node-pool refreshing error: Preview failed: refreshing urn:pulumi:ds-dog-k8s-dev::sg-deploy-k8s-helper::gcp:container/nodePool:NodePool::dogfood-full-k8s-node-pool: Error reading Container NodePool dogfood-full-k8s-node-pool: googleapi: Error 403: Request had insufficient authentication scopes., forbidden
    [2019-04-30T20:10:14Z] ~ gcp:container:Cluster dogfood-full-k8s refreshing error: Preview failed: refreshing urn:pulumi:ds-dog-k8s-dev::sg-deploy-k8s-helper::gcp:container/cluster:Cluster::dogfood-full-k8s: Error reading Container Cluster "dogfood-full-k8s": googleapi: Error 403: Request had insufficient authentication scopes., forbidden
    I gave the service account that pulumi uses the
    Editor
    and
    Kubernetes Engine Developer
    roles: https://cloud.google.com/kubernetes-engine/docs/how-to/iam Do you know if I need to give it any more permissions?
    w
    • 2
    • 1
  • r

    rhythmic-australia-1932

    04/30/2019, 8:31 PM
    Hi! I’m kind of a Pulumi noob, and am testing it out in GCP. Running into this problem when running `pulumi up`:
    $ pulumi up
    Previewing update (dev):
    
         Type                 Name                      Plan       Info
     +   pulumi:pulumi:Stack  pulumi-test-function-dev  create     1 error
    
    Diagnostics:
      pulumi:pulumi:Stack (incoming-measurement-dev):
        error: Running program '~/pulumi' failed with an unhandled exception:
        ~/pulumi/index.js:1
        (function (exports, require, module, __filename, __dirname) { import * as pulumi from "@pulumi/pulumi";
                                                                             ^
    
        SyntaxError: Unexpected token *
            at new Script (vm.js:80:7)
            at createScript (vm.js:274:10)
            at Object.runInThisContext (vm.js:326:10)
            at Module._compile (internal/modules/cjs/loader.js:664:28)
            at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
            at Module.load (internal/modules/cjs/loader.js:600:32)
            at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
            at Function.Module._load (internal/modules/cjs/loader.js:531:3)
            at Module.require (internal/modules/cjs/loader.js:637:17)
            at require (internal/modules/cjs/helpers.js:22:18)
    Here’s my stack code:
    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    
    const bucket = new gcp.storage.Bucket("my-test-bucket", {});
    const archive = new gcp.storage.BucketObject("archive", {
        bucket: bucket.name,
        source: new pulumi.asset.FileArchive("./artifacts/cloudfunction.zip"),
    });
    
    const functionFunction = new gcp.cloudfunctions.Function("function", {
        availableMemoryMb: 128,
        description: "pulumi-test-function",
        entryPoint: "hello_world",
        labels: {
            "cloudfunction": "pulumi-test-function",
        },
        sourceArchiveBucket: bucket.name,
        sourceArchiveObject: archive.name,
        timeout: 60,
        triggerHttp: true,
    });
  • c

    chilly-crayon-57653

    04/30/2019, 9:39 PM
    Glad you are up and running @rhythmic-australia-1932 ... feel free to let us know if you hit anything else.
    πŸ‘ 1
  • c

    colossal-room-15708

    04/30/2019, 10:03 PM
    Btw how did the Azure hackathon go?
    c
    w
    • 3
    • 3
  • h

    helpful-vegetable-35581

    05/01/2019, 7:05 AM
    Gave a 10 minute pulimi talk at work yesterday. Got some great responses, "there was so much yes in that presentation", "I'd actually learn Typescript for that".
    πŸ˜›ulumipus-8bit: 1
    πŸŽ‰ 10
    πŸš€ 1
  • g

    gray-elephant-37695

    05/01/2019, 8:42 AM
    Is there a way to reference existing resources, similar to what terraform's "data" does?
    w
    b
    • 3
    • 3
  • b

    better-rainbow-14549

    05/01/2019, 1:54 PM
    i've just updated to 0.17.9 and pulumi login file://blah doesnt work
  • b

    better-rainbow-14549

    05/01/2019, 1:54 PM
    it prompts for an access token
    w
    • 2
    • 3
Powered by Linen
Title
b

better-rainbow-14549

05/01/2019, 1:54 PM
it prompts for an access token
w

white-balloon-205

05/01/2019, 6:57 PM
Hmm - I do not see that myself. Which commands did you run that led you to see this?
b

better-rainbow-14549

05/02/2019, 8:18 AM
a command like
pulumi login file://c:\dev\state
it works great on 0.17.8, on .9 it doesn't seem to interpret that as a file URI
w

white-balloon-205

05/02/2019, 6:11 PM
Looks like this is a Windows-specific issue - @helpful-vegetable-35581 reported https://github.com/pulumi/pulumi/issues/2693 on this earlier today and we're looking into it now.
πŸ‘ 1
View count: 1