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
getting-started
  • b

    brainy-church-78120

    02/26/2021, 5:23 PM
    set the channel description: a place to ask any and all questions you have about first getting started with Pulumi.
  • d

    delightful-salesclerk-16161

    03/01/2021, 7:00 PM
    set the channel topic: Ask any question on how to get started with Pulumi
  • n

    nice-holiday-8523

    03/02/2021, 6:28 PM
    Hi all!!
    b
    • 2
    • 9
  • c

    cold-jackal-25814

    03/03/2021, 4:06 PM
    so i'm trying to get my first test project up but when i do pulumi up i get an error error: failed to discover plugin requirements: exit status 9009. i can't find any info on what i need to do
    c
    • 2
    • 6
  • g

    gentle-gold-64302

    03/03/2021, 7:29 PM
    Hi all ๐Ÿ™‚ I am trying out azure native package but got this error when running pulumi up preview: failed to discover plugin requirements: illegal semver returned by language host: azurenative@vazure-native 0.7.1: Invalid character(s) found in major number "azure-native\n0". I am using dotnet and azure. can anyone help me with this issue? trying to find fixes or workaround.
    b
    b
    • 3
    • 14
  • g

    green-motherboard-37108

    03/03/2021, 11:39 PM
    hey all! stoked to join, thanks for having me! aws + python: trying to create a vpc and then 2 subnets attached to it but im having trouble getting the syntax right for referencing the vpc id and either get that its not found or
    TypeError: 'Vpc' object is not subscriptable
    . tl;dr how do i correctly reference the vpc id? any helpful pointers in the right direction would be much appreciated! ๐Ÿ™ code in thread...
    s
    • 2
    • 6
  • b

    boundless-lighter-48678

    03/05/2021, 8:57 AM
    Hi ! I have just created my first dynamic resource provider but when running pulumi up on my buildserver (Linux) it fails with: Diagnostics: pulumi๐Ÿ˜›roviders:pulumi-nodejs (default): error: no resource plugin 'pulumi-nodejs' found in the workspace or on your $PATH It works on my local Ubuntu, same Pulumi version, can anybody direct me towards what I should be looking for ?
    b
    • 2
    • 2
  • b

    brainy-church-78120

    03/05/2021, 3:25 PM
    ๐Ÿ‘‹๐Ÿป hi, im susan, a ux designer at Pulumi, and we are running a short 5-minute survey for new users who are just getting started with Pulumi. If you have a few minutes to participate, we'd super appreciate your time!! ๐Ÿ’œ https://www.surveymonkey.com/r/K9ZYZQC
    p
    • 2
    • 3
  • t

    tall-yacht-63106

    03/08/2021, 10:34 AM
    Hi, Just testing things out with the vSphere provider doing the create new datacenter example and it errors out with * creating urn๐Ÿ˜›ulumi:dev::infra::vsphere:index/datacenter๐Ÿ˜„atacenter::my-dc: POST https://xxxxxx.io/rest/com/vmware/cis/tagging/tag-association?~action=list-attached-tags: 404 Not Found But it actually created the datacenter resource, just seems to have issues with the tagging. Does pulumi work with VCSA 7.01 ? Is there something else I have to enable before the tagging works ?
    b
    • 2
    • 4
  • h

    high-microphone-79954

    03/09/2021, 1:25 PM
    HI guys, I have a question. I have defined
    var args = new ResourceGroupArgs {ResourceGroupName = "AppShared"};
    inside my stack... I can deploy changes to my Azure subscription, but I wonder why the name is always AppShared{SOME_RANDOM_CHARACTERS} when i browse resources on azure portal? I need the name to be set exactly as I defined. Please advice
    c
    • 2
    • 1
  • n

    numerous-table-61756

    03/11/2021, 7:02 AM
    Hi, I am in the progress of migrating an app from serverless to pulumi. Now I am getting
    error: 1 error occurred:
            * error creating Lambda Function (1): RequestEntityTooLargeException:
            status code: 413, request id: ce25e9d7-45aa-4de3-a2b5-26a29372d6d3
    when trying to upload an aws lambda with size of 72M. Any known way to solve this?
    b
    • 2
    • 4
  • s

    salmon-solstice-66768

    03/11/2021, 2:23 PM
    I am new to Pulumi. Can we create a azure function using pulumi_azure_native(python package)?
    d
    c
    w
    • 4
    • 10
  • t

    thousands-arm-78308

    03/11/2021, 4:52 PM
    Hello, I have been utterly puzzled on how to create an api config on gcp. The required properties are content and path, content is fairly self explanatory but any path I try to give it spits back a 404 at me?
    gcp:apigateway:ApiConfig (discord-webhook-config):
        error: 1 error occurred:
            * Error creating ApiConfig: googleapi: got HTTP response code 404 with body: <!DOCTYPE html>
      <html lang=en>
        <meta charset=utf-8>
        <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
        <title>Error 404 (Not Found)!!1</title>
      
    ...
    https://www.pulumi.com/docs/reference/pkg/gcp/apigateway/apiconfig/#apiconfigopenapidocumentdocument Any help would be greatly appreciated!
    w
    • 2
    • 10
  • k

    kind-napkin-54965

    03/15/2021, 9:37 PM
    import * as github from "@pulumi/github"
    
    const repo = new github.Repository("demo-repo", {
        name: "demo-repo-final",
        description: "Generated from automated test",
        visibility: "private",
    }, { deleteBeforeReplace: true })
  • k

    kind-napkin-54965

    03/15/2021, 9:38 PM
    ^ am trying to set github org structure with pulumi TS. I get the repo name auto-named
    demo-repo-dea3c46
    . Am reading https://www.pulumi.com/docs/intro/concepts/resources/#autonaming yet donโ€™t find a way to avoid auto naming. I want my repo to appear in github as
    demo-repo
    instead of
    demo-repo-dea3c46
    . What should I change in my code? Thanks
    a
    • 2
    • 4
  • a

    average-spoon-16995

    03/16/2021, 9:21 AM
    Hi! Can I ask any question here regarding pulumi?
    b
    • 2
    • 2
  • n

    numerous-table-61756

    03/17/2021, 2:20 PM
    Hi. It is possible to host a aws lambdas deployment package via s3. This works nicely using Pulumis Function type. Now I wonder if it's possible to configure the Function in a way that Pulumi automatically redeploys it when the associated BucketObject gets updated?
  • b

    brave-knife-93369

    03/17/2021, 2:48 PM
    Hi all. I plan to use pulumi at work if possible (replacing bespoke boto3 scripts..). We are heavy cloudformation an servicecatalog users, which seems like it will be easy to migrate over pulumi (cloudformation is essentially already there) and servicecatalog should be easy for us to wrap around our code into a ressource. Question: cloudformation exposes the concept of "drift" (if someone modifies the ressource manually, for instance). Does pulumi have plans to detect and make use of that feature? Currently it seems like it's not being used by the diff engine at all (maybe it should).
    g
    • 2
    • 17
  • r

    rhythmic-nail-73192

    03/17/2021, 3:56 PM
    Is it possible to import component resources in the CLI? You can see I successfully imported 3 resources related to an S3 bucket, but it's at the root of the stack. I want to import them into the S3Bucket component I've created. I assume this is possible with a resource import, but is it possible from the CLI bulk import?
    g
    • 2
    • 6
  • o

    orange-microphone-43589

    03/18/2021, 11:52 AM
    hi, how do i pull an image from a private registry (on gcp or aws) to local. i tried something like this:
    const xyz = new docker.RemoteImage("xyz", {
      name: '<http://1234567899.dkr.ecr.us-east-1.amazonaws.com/myimage|1234567899.dkr.ecr.us-east-1.amazonaws.com/myimage>'
    })
    but it failed with
    Unable to read Docker image into resource: Unable to pull image...no basic auth credentials
    (i have AWS keys set in my shell) How do i configure the auth, (i couldn't find any options to configure it in the remoteImage doc)
    w
    • 2
    • 3
  • s

    strong-fall-61174

    03/23/2021, 8:51 PM
    How long does the Pulumi CLI cache new project(s), I was creating a new project - it failed with a permissions error (I'll ask about that separately). After I wiped out the directory, the CLI is still telling me there's already a project created with that name.
    g
    b
    • 3
    • 10
  • s

    strong-fall-61174

    03/23/2021, 8:53 PM
    My second question: I created a config repo for my pulumi stacks (dev, stage, prod) each with their own stack specific config settings for GCP, etc. When I do a
    pulumi new
    and provide the path to the config I want to seed the project with it runs and then hits this permissions error.
    stack name: (dev)
    Created stack 'dev'
    
    Creating virtual environment...
    Finished creating virtual environment
    Updating pip, setuptools, and wheel in virtual environment...
    error: updating pip, setuptools, and wheel via '/Users/tyler/projects/propel-api/infrastructure/dev/venv/bin/python -m pip install --upgrade pip setuptools wheel': fork/exec /Users/tyler/projects/propel-api/infrastructure/dev/venv/bin/python: permission denied
    • 1
    • 3
  • a

    adventurous-author-44528

    03/26/2021, 1:29 PM
    Hi. trying to use pulumi on a Macbook Pro M1,
    pulumi up
    returns:
    error: could not load plugin for kubernetes provider 'urn:pulumi:prod-bravo-excelproc::excel-processor::pulumi:providers:kubernetes::default_2_6_1': no resource plugin 'kubernetes-v2.6.1' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource kubernetes v2.6.1`
    runnig the suggested install command returns
    error: [resource plugin kubernetes-2.6.1] downloading from : 403 HTTP error fetching plugin from <https://get.pulumi.com/releases/plugins/pulumi-resource-kubernetes-v2.6.1-darwin-arm64.tar.gz>
    any ideas ?
    b
    c
    +2
    • 5
    • 33
  • s

    straight-scientist-39468

    04/01/2021, 7:29 AM
    Hey pulumi people ๐Ÿ™‚ This thing is completely new to me, but before diving in I've a quick question. Can I tell Pulumi to pull code from GitHub/Gitlab into a k8s pod, build a container (perhaps with kaniko) and push that container to a container registry? I've read a little about the Docker provider, and also looked through an example where a Python app is packaged up in a container in Azure and then deployed to Azure App Service. That's really cool but I'm looking at ways to do this inside a generic k8s cluster.
    d
    • 2
    • 5
  • c

    crooked-midnight-12246

    04/01/2021, 9:48 AM
    Hi, I am reading the docs and searching for provisioning a bare-metal cluster under KVM or whatever virtualization tech with Pulumi. Is this possible or is it supported in any way(bare-metal specific) or will it be in the future?
  • s

    sparse-agent-84160

    04/04/2021, 9:04 AM
    Hi pulumi folks, I just discovered pulumi. Also signed up for pulumiUP! event ๐Ÿ™Œ I recently figured out how to use ansible on a control node on digitalocean and from that one configure another digitalocean server node. My use case is: 1. i setup a web app that allows users to oauth connect their digitalocean credentials to my webapp 2. then they can press a button to spin up a new instance in their DO account and with all the configuration and software installed. My original plan was: 1. use an open source python-digitalocean library to call DO public API to spin up the instance under the userโ€™s account 2. then use the ansible control node (which belongs to my service and account) to configure the basic software on that new instance With the discovery of pulumi, what can I use it to replace in my original plan? I suppose the open source python-digitalocean library calling DO public API can be replaced by pulumi. What about ansible? do i still need that?
    p
    • 2
    • 4
  • f

    faint-petabyte-47894

    04/04/2021, 3:41 PM
    Does pulumi have a gui like AWS Cloudformation designer?
    b
    • 2
    • 7
  • b

    brave-photographer-72352

    04/07/2021, 8:06 AM
    Hello Pulumi people! After using Terraform for a while, I just discovered Pulumi and trying out if it's worth migrating! I though encountered an issue with the input/output concept, and the documentation is not enough for me to be unstuck. Let me explain: I would like to do a base setup of our AWS infrastructure, using Go language. I started up by creating a VPC with pulumi and AWS sdk. Then, I wanted to grab the main route table id from that VPC (the one created by default), to associate more routes to it. I failed miserably at that step.
    p
    • 2
    • 8
  • s

    some-continent-7311

    04/08/2021, 8:44 AM
    Hello everyone! Thanks for the great product which Pulumi is. I have a question: in the Google Cloud Console I manually set an alert to send a notifcation to a slack channel when a service in the GKE restarts. Does anyone have experience doing that via Pulumi? Could you please point out to a tutorial or smth on how to do that?
    b
    p
    • 3
    • 6
  • c

    cool-policeman-37867

    04/10/2021, 10:34 AM
    Hi, team! I really like Pulumi and trying to migrate from Terraform. I have a question. I have two GCP projects(dev & prod). Should I create two Pulumi project or should I use the same Pulumi project and seperate it by two stacks? Thank you!
    b
    • 2
    • 3
Powered by Linen
Title
c

cool-policeman-37867

04/10/2021, 10:34 AM
Hi, team! I really like Pulumi and trying to migrate from Terraform. I have a question. I have two GCP projects(dev & prod). Should I create two Pulumi project or should I use the same Pulumi project and seperate it by two stacks? Thank you!
b

better-shampoo-48884

04/10/2021, 5:16 PM
Think about it this way - your pulumi code represents a way of building something. You ideally want to build it the same way in development and production - but perhaps have smaller scale in development.
a pulumi project maps to the pulumi code pretty much - so having multiple stacks for multiple environments for a single project makes sense - that way a fix in development can be easily and correctly applied to production because you've tested the pulumi code there first and the original code for both environments were the same ๐Ÿ™‚
when I mention multiple projects for multiple types of operations- I usually think about this in terms of layers of stuff.. baseline infra established in one project, then one project manages database configurations, another project manages kubernetes configurations, and you might have a seperate project for access management (I'm currently playing with pulumi automation for this purpose, it shows real promise! :D)
View count: 3