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

    ancient-eve-13947

    02/09/2022, 3:52 PM
    when creating a
    docker.Image()
    , how can I specify multiple tags? say ":1.0" and ":latest"? what I currently do to work around is to create two images, but that's a) annoying because they need to have different resource-names and b) leads to the creation of two resources where I logically have only one with 2 tags.
    f
    • 2
    • 5
  • b

    bored-table-20691

    02/09/2022, 5:41 PM
    I ran into an interesting issue yesterday while importing a resource, and wanted to see if it was expected. Our stack uses an explicit AWS provider (so not the default one, which we’ve disabled since 3.23.0), and I need to import an RDS cluster. I ran the following command:
    pulumi import "aws:rds/cluster:Cluster" my-rds-cluster "rds-cluster-name"
    and I got an error saying the RDS cluster did not exist. After a while, I figured out it was just using the implicit AWS credentials I have on my machine, which are going to our main account (which doesn’t have this resource in it), as opposed to our prod account. So I created a profile to our prod account (with assume role) and did:
    AWS_PROFILE=prod-account pulumi import "aws:rds/cluster:Cluster" my-rds-cluster "rds-cluster-name"
    and then it “successfully” found and imported the cluster. I put it in quotes because it basically imported it under a new provider (I think the default one), which then conflicted with what I had in code so it wanted to re-create it. I manually exported the stack JSON, edited the provider reference, re-imported it and it was happy. With that in mind, my questions: 1. Is it expected that I would need to do something like the
    AWS_PROFILE=prod-account
    above? Should it not select the provider I have defined in my stack (or ask me which one I want to use)? 2. Is it expected that it imported it into the stack state with a brand new provider that didn’t exist before?
    l
    c
    • 3
    • 7
  • a

    agreeable-eye-87399

    02/09/2022, 5:43 PM
    Hey folks! As you may know, we have a Github Discussions forum in addition to this community Slack. We encourage you to use the Github Discussions forums as well. We are using Discussions to provide a central location as a knowledge base and for users and other community members to help and connect with each other. We hope that you: - As questions that you might have related to Pulumi - Engage with other community members - Share what you are building with Pulumi! All forum posts are subject to the Code of Conduct. Use the Pulumi Community Slack for questions/issues where you want to collaborate in real time. However, moderators of the Community Slack may encourage you to move the discussion to Github Discussions if it seems like an area that will be helpful for others in the future (since Slack is not searchable and the content disappears over time). We also encourage you to use Github Discussions as we can much more easily connect these discussions (vs Slack) to Github Issues. If you want to collaborate with other people on your code, Slack is a great place to work through those challenges! If you are looking to find out about success patterns, architectural references, or if you’re not sure if something is a bug, GitHub Discussions is your place to go!
    😛ulumipus-8bit: 4
  • l

    limited-army-96747

    02/09/2022, 8:03 PM
    hey folks someone has some examples of how to use spot instances with eks? I am finding the docs to be a little confusing
    b
    • 2
    • 20
  • a

    acoustic-fireman-23577

    02/09/2022, 10:31 PM
    we're trying to build a logic app, what does it want for the connector names? trying to use office 365 connection for our trigger and a create blob v2 for the for each
  • n

    nutritious-battery-42762

    02/09/2022, 11:46 PM
    Is there a guide for creating and deploying containers to gcp compute instances? I tried using the same image i was deploying to cloudrun but i get an error that the image cannot be found
    q
    • 2
    • 1
  • h

    hallowed-librarian-90419

    02/10/2022, 1:36 AM
    Hello Folks, could I possibly add post-deployment code to update database after a stack is successfully deployed? Thanks!
    l
    a
    l
    • 4
    • 8
  • f

    fancy-spoon-46046

    02/10/2022, 9:13 AM
    hey everyone. I am trying to connect to a private docker registry. But it seems that the password or username is not passed correctly. While not using the provider, it throws 401, and using the provider it changes to 403. That leads to the conclusion that the provider is indeed used, and tries to login. But is not able to login. I can use the same credentials with
    docker login
    and have it working in the terminal. Am I missing a setup step? Or is this just a bug?
    new docker.Provider(
      `github-docker-provider`,
      {
        registryAuth: [
          {
            address: '<http://ghcr.io|ghcr.io>',
            username: 'XXX',
            password: 'XXX',
          },
        ],
      }
    )
    error: Running program ‘/Users/xxx/Documents/projects/xxx’ failed with an unhandled exception: Error: invocation of docker:index/getRegistryImage:getRegistryImage returned an error: invoking docker:index/getRegistryImage:getRegistryImage: 1 error occurred: * Got error when attempting to fetch image version xxx/xxx:latest from registry: Got bad response from registry: 403 Forbidden
    q
    • 2
    • 4
  • l

    limited-army-96747

    02/10/2022, 9:52 AM
    hey guys, anyone knows how to propagate `Name`tag to my ec2 instances with an eks managed group? I tried
    tags
    ,
    cloudFormationTags
    and
    autoScalingGrouptTags
    , but none of them worked
    b
    w
    • 3
    • 3
  • s

    steep-beach-52652

    02/10/2022, 10:37 AM
    Hello, Is there a way to scan docker image before deploying it using Pulumi
  • a

    abundant-notebook-11210

    02/10/2022, 10:40 AM
    hi @echoing-match-29901 - I want to achieve as follows in my stack which is monitored by k8s operator - When my RDS instance gets created successfully , i want to pipe the outputs to a k8s secret. Problem - The secret is getting created even before the RDS instance and hence it has garbage values. How to solve this ? I heard there is an DAG mechanism in-built which takes care of creating things in a proper order, but in my case that seems to be not woring
  • g

    gifted-island-55702

    02/10/2022, 10:42 AM
    Hi @echoing-match-29901 is there an issue with the registry?
    $ pulumi plugin install resource terraform v5.2.0
    [resource plugin terraform-5.2.0] installing
    error: [resource plugin terraform-5.2.0] downloading from : 403 HTTP error fetching plugin from <https://get.pulumi.com/releases/plugins/pulumi-resource-terraform-v5.2.0-darwin-arm64.tar.gz>
    e
    • 2
    • 3
  • g

    gifted-island-55702

    02/10/2022, 10:43 AM
    And in the browser for the same URL:
  • g

    gifted-island-55702

    02/10/2022, 10:43 AM
    Or is it just me?
  • m

    most-pager-34456

    02/10/2022, 2:18 PM
    Hi @echoing-match-29901 - I've fell in love with Pulumi but I'd also like to use Stax.io as well for governance controls. Stax.io has packages which are based on CloudFormation templates. Can I use Pulumi to generate Terraform creation/update/deletion scripts managed by an external stack? I'm based in AU and doing a special purpose POC and have contacts internally at Stax.io in AU who I can engage to help solve 'wicked problems' which could include interop between the platforms
    e
    l
    a
    • 4
    • 15
  • a

    acoustic-fireman-23577

    02/10/2022, 4:49 PM
    Anybody know the way to set up an outlook connector through pulumi? we can deploy the logic app up but the connector is not recognized... using whats in the template does not work
  • r

    rough-intern-34947

    02/10/2022, 5:18 PM
    Anyone had this happen before? When modifying lambda code (created by
    awsx.apigateway.API
    ) this happens: (I’ve played with modifying Lambda code like this yesterday and it worked without problems 😕 - just plain old JavaScript)
    n
    • 2
    • 4
  • h

    high-angle-20826

    02/11/2022, 3:58 AM
    Hola everyone - Just started exploring Pulumi - where can i find more info and buzz about this ? Night young today and took a day off tomorrow - so want atleast scratch the first layer of this today
    n
    w
    • 3
    • 2
  • s

    steep-cartoon-89174

    02/11/2022, 9:16 AM
    Hello all, before send an email to support, would anyone know why some of my typescript-aws project are created with a package(-lock).json and node_module folder and some just don't ?
  • s

    steep-cartoon-89174

    02/11/2022, 9:17 AM
    and very "funny" part is, the ones that do have the package.json and node_module folder, they fail if I'm trying to register the autotag feature
  • w

    wet-hydrogen-53006

    02/11/2022, 9:58 AM
    if I already have a cloud setup in azure can I import a specific resource-group and all it's VMs and the subnets and the network security groups and the bastion host into pulumi using the pulumi cli import cmd? I cannot find any examples on doing that importing from azure?
  • r

    rapid-raincoat-36492

    02/11/2022, 4:19 PM
    I created a PR to allow disabling typechecking in typescript projects: https://github.com/pulumi/pulumi/pull/8981, defaulting to the current behavior of typechecking turned on. I think that is the only remaining change my company would need to stop using our fork off of 3.14.0: https://github.com/transcend-io/pulumi 😄
    m
    • 2
    • 2
  • s

    steep-baker-41148

    02/11/2022, 4:19 PM
    Hi folks, so we have updated our Heroku provider to Pulumi 3 - https://github.com/moneymeets/pulumi-heroku - but we actually would very much like to get it adopted by the Pulumi community. My colleague @wide-cat-87818 has talked to @broad-dog-22463 in the past, but in the end it somehow didn't happen. Maybe @white-balloon-205 would have an idea? Is there really no interest in Heroku at Pulumi? We're kind of struggling to keep our provider up to date due to the lack of manpower... 😕 P.S. Of course, if a great Python / Pulumi / AWS engineer is interested in joining us... 😉
    👍 1
    m
    • 2
    • 1
  • h

    happy-minister-40132

    02/11/2022, 4:49 PM
    Does anyone know how to stop Pulumi from collecting git information? I was quite surprised to find a lot of git info under the environment tab in the Pulumi UI. Not sure I like that Pulumi collects this info. at all.
    b
    l
    • 3
    • 5
  • w

    wonderful-postman-42028

    02/11/2022, 5:09 PM
    Just to know, exists any language syntax easy to create our iac code using a easy language like hcl (terraform) for pulumi ?
  • w

    wonderful-postman-42028

    02/11/2022, 5:09 PM
    Also, is possible to use Ruby on Pulumi to create our own code ?. Please, show me how. 🙏
    f
    m
    • 3
    • 6
  • m

    mysterious-piano-88140

    02/11/2022, 5:32 PM
    Hi Guys! We urgently need support from the Pulumi Dev Team. We have a storage container deleted from the account, although we have not instructed this anywhere. The project is the bootleneck of our project that is supposed to go live on Monday.
    s
    r
    • 3
    • 4
  • m

    mammoth-art-6111

    02/11/2022, 6:40 PM
    what's a good way to organize code that belongs to one stack, but no other stacks? as a for instance, we have a codebuild job that does two different things in staging/production, was kinda curious how people approached that
    m
    • 2
    • 4
  • p

    purple-megabyte-83002

    02/11/2022, 7:03 PM
    hello I’d like to use
    @aws-sdk
    in a pulumi script but the code tries to run during the preview mode, how to make it behave like regular pulumi resources ?
  • a

    acceptable-oil-81004

    02/11/2022, 7:08 PM
    any ideas how to change an aws default resource tag without having to re-create all resources?
Powered by Linen
Title
a

acceptable-oil-81004

02/11/2022, 7:08 PM
any ideas how to change an aws default resource tag without having to re-create all resources?
View count: 5