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

    crooked-jordan-34725

    07/02/2019, 6:31 AM
    I’m trying to create a new pulumi provider (wrapping a terraform one), and I followed all the instructions but the
    cmd/pulumi-tfgen-xyz
    command blows up with:
    /Users/txus/go/pkg/mod/github.com/pulumi/pulumi-terraform@v0.18.4-0.20190622203420-512f93e9d8c3/pkg/tfbridge/provider.go:189:5: cannot use (*Provider)(nil) (type *Provider) as type pulumirpc.ResourceProviderServer in assignment:
    	*Provider does not implement pulumirpc.ResourceProviderServer (wrong type for Configure method)
    		have Configure("context".Context, *pulumirpc.ConfigureRequest) (*empty.Empty, error)
    		want Configure("context".Context, *pulumirpc.ConfigureRequest) (*pulumirpc.ConfigureResponse, error)
    /Users/txus/go/pkg/mod/github.com/pulumi/pulumi-terraform@v0.18.4-0.20190622203420-512f93e9d8c3/pkg/tfbridge/serve.go:30:21: cannot use NewProvider("context".TODO(), host, module, version, info.P, info) (type *Provider) as type pulumirpc.ResourceProviderServer in return argument:
    	*Provider does not implement pulumirpc.ResourceProviderServer (wrong type for Configure method)
    		have Configure("context".Context, *pulumirpc.ConfigureRequest) (*empty.Empty, error)
    		want Configure("context".Context, *pulumirpc.ConfigureRequest) (*pulumirpc.ConfigureResponse, error)
  • c

    crooked-jordan-34725

    07/02/2019, 6:31 AM
    I have no idea about Go, maybe there is an obvious clue that I’m missing?
  • c

    crooked-jordan-34725

    07/02/2019, 6:46 AM
    It seems to stem from this line: https://github.com/pulumi/pulumi-terraform/blob/master/pkg/tfbridge/provider.go#L189 does this help at all?
  • s

    stocky-spoon-28903

    07/02/2019, 7:19 AM
    Hi @crooked-jordan-34725! Seems our boilerplate needs updating (or potentially the dependencies in Pulumi-terraform)
  • s

    stocky-spoon-28903

    07/02/2019, 7:19 AM
    I’ll try to take a look today EU time
  • s

    stocky-spoon-28903

    07/02/2019, 7:20 AM
    Which provider are you bridging?
  • c

    crooked-jordan-34725

    07/02/2019, 8:08 AM
    dnsimple~
  • c

    crooked-jordan-34725

    07/02/2019, 8:09 AM
    I made it work copying the postgresql one!
  • c

    crooked-jordan-34725

    07/02/2019, 8:09 AM
    😄
  • s

    stocky-spoon-28903

    07/02/2019, 10:11 AM
    Ah great - I’ll update the boilerplate today
  • b

    billions-lock-80282

    07/02/2019, 12:39 PM
    Hey, how do I create a config variable as a list? This is for nodeLocations property for GKE cluster. pulumi.config doesn't support lists.
    t
    • 2
    • 8
  • b

    billions-lock-80282

    07/02/2019, 1:33 PM
    Can you create a set of resources that are declared outside of the Project folder? For example. If I have 3 projects, 1 for GKE, EKS and AKS, they all build the infrastructure. But all 3 Projects run the same Helm/K8S setup steps. Rather than duplicating them, can I declare them in a separate folder and call them into the project?
    b
    • 2
    • 7
  • b

    busy-umbrella-36067

    07/02/2019, 1:35 PM
    is there a pattern or method for modifying k8s resources that already exist? In my case, I need to add an annotation to the
    default
    namespace.
    g
    • 2
    • 1
  • b

    busy-air-16359

    07/02/2019, 2:50 PM
    When destroying a stack, shouldn’t the Kubernetes provider be destroyed first and then AWS? Right now, the EKS worker nodes are deleted first, and then obviously no k8s operator can cleanup anymore
    b
    • 2
    • 8
  • t

    tall-librarian-49374

    07/02/2019, 3:58 PM
    Is there some way to obtain the Azure access token that pulumi CLI is using from within the program? I need to make a REST API call with the same token, and it feels a bit wasteful to bring extra JS libraries and make all the decisions whether to use CLI/SP/MSI while the token is somewhere there...
  • h

    high-translator-22614

    07/02/2019, 4:07 PM
    would anyone be interested in a pulumi continuous deployment service? like, add to your github org, connect to pulumi & aws/azure/gcp/etc, and integrates with github deployments/environments
    👍 1
    • 1
    • 1
  • m

    modern-bear-85657

    07/02/2019, 4:43 PM
    I’d like to understand config templates. It seems that the default values are ignored. Given:
    template:
      config:
        aws:region:
          description: The AWS Region
          default: us-east-1
    I get the following error:
    $ pulumi config get aws:region
    error: configuration key 'aws:region' not found for stack '<org>/dev'
    Why should I need to define a config var for every stack if it has a default value?
  • n

    nice-airport-15607

    07/02/2019, 4:58 PM
    I’m trying to use
    requireSecretObject
    to get the data from a secret and I can see the values if I use
    .apply((res)=>res)
    but I can’t get passed that. I need the data outside of that apply method, does anyone know how to do that? Also in the docs it mentions something about the methods returning
    Output<T>
    , but what is that supposed to be?
  • b

    bored-river-53178

    07/02/2019, 7:14 PM
    when I create s3 bucket with pulumi, pulumi adds a random suffix to the specified bucket name, what could be the reason and how can I avoid that?
    b
    w
    • 3
    • 15
  • c

    colossal-room-15708

    07/02/2019, 10:06 PM
    To establish cost for a commercial customer, do I only need to know how many people will require access to the Pulumi organisation? So for small teams, the Team Starter with three individual pulumi accounts is $50USD/month? What's the difference between "basic" and "advanced" secrets management?
    b
    • 2
    • 1
  • c

    colossal-room-15708

    07/02/2019, 10:14 PM
    Crosswalks: my customer is huge on the AWS Well Architected Framework. Fair to say that crosswalks can make "getting there" a lot easier?
    w
    • 2
    • 1
  • h

    high-translator-22614

    07/03/2019, 12:20 AM
    has anyone noticed
    --emoji
    doing anything?
  • a

    aloof-flag-24664

    07/03/2019, 12:32 AM
    I've got a question regarding azure-pipelines example. I'm getting a very generic "service connection x which could not be found" error. I'm allowing all pipelines to use the sub service in question. Anything else obvious I should be looking at?
    w
    c
    • 3
    • 4
  • m

    millions-judge-24978

    07/03/2019, 3:25 AM
    I am finding that a
    k8s.apps.v1.StatefulSet
    is being replaced when the diff is only to the
    spec
    , specifically adding
    args
    to one of the containers. This doesn't seem like it should be expected behavior right?
    w
    h
    g
    • 4
    • 16
  • c

    crooked-jordan-34725

    07/03/2019, 5:54 AM
    Hey, I created a provider for DNSimple — what do you usually do when people do this? Do you take on maintenance? As I see in the scripts it seems that you deploy all of them under
    @pulumi/*
    , is that right?
    b
    • 2
    • 9
  • c

    crooked-jordan-34725

    07/03/2019, 5:55 AM
    https://github.com/codegram/pulumi-dnsimple
  • g

    glamorous-waitress-51149

    07/03/2019, 8:48 AM
    if anyone could help, thanks - https://stackoverflow.com/questions/56866257/retrieve-a-vpc-to-create-a-security-group
  • g

    glamorous-waitress-51149

    07/03/2019, 9:24 AM
    is there anyway to output objects/values? console.info() seems unreliable and when pulumi fails calling
    pulumi logs
    is pointless as it appears empty
  • g

    glamorous-printer-66548

    07/03/2019, 9:37 AM
    console.dir ?
  • j

    jolly-lifeguard-22556

    07/03/2019, 12:02 PM
    I recall a while ago that someone posted some build output for a Pulumi Preview on Azure Devops and it was doing some cool stuff rendering build output into nice looking tables
Powered by Linen
Title
j

jolly-lifeguard-22556

07/03/2019, 12:02 PM
I recall a while ago that someone posted some build output for a Pulumi Preview on Azure Devops and it was doing some cool stuff rendering build output into nice looking tables
View count: 1