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

    few-toddler-19603

    06/30/2022, 7:47 PM
    Probably should've posted this here but I hit the wrong channel, so just posting the link to my post in #getting-started in case anyone here can help: https://pulumi-community.slack.com/archives/C01PF3E1B8V/p1656618290807489
  • m

    many-spring-73557

    06/30/2022, 10:34 PM
    Is there a way for pulumi to merge AWS tags rather than overwrite them? We have an automated service that applies tags to AWS resources, and every time I pulumi up I end up removing the tags that the other service added. I’m not actually sure it makes sense to merge, because if I remove a tag from pulumi how would it know to remove it? But, this is the situation I’m in right now and wondering if anyone has guidance on how not to remove tags applied by a different service.
    b
    • 2
    • 2
  • b

    breezy-butcher-78604

    07/01/2022, 4:10 AM
    is there a way to get pulumi to identify stack config that isn’t referenced in the pulumi program?
  • w

    worried-xylophone-86184

    07/01/2022, 1:49 PM
    Hi all ! Is there way to determine
    pulumi delete
    during the flow of the script? Just like how there is runtime has a function called is_dry_run to check if its a preview execution or not. Basically I want to perform some deletes on another service before the actual delete of resources happen
    i
    • 2
    • 8
  • s

    sparse-intern-71089

    07/01/2022, 3:33 PM
    This message was deleted.
    i
    n
    • 3
    • 6
  • e

    early-intern-90238

    07/01/2022, 5:26 PM
    Does anyone know how to get rid of the warning message with GCP for GKE that's saying the gcp auth plugin is deprecated?
    i
    w
    b
    • 4
    • 14
  • r

    rapid-eve-24229

    07/01/2022, 9:59 PM
    Hello, I have a stack, something got messed up along the line. Now, I cannot redeploy because it cannot find a target group that it wants to delete
    c
    • 2
    • 1
  • r

    rapid-eve-24229

    07/01/2022, 10:00 PM
    Diagnostics: aws🇱🇧TargetGroup (tg-xxxxx-svc): error: deleting urn😛ulumi:dev:❌xxxx:aws:lb/targetGroup:TargetGroup::tg-xxxxx-svc: 1 error occurred: * error deleting Target Group: ValidationError: 'arn:aws:elasticloadbalancing:us-east-2:xxxxxxxxxx:targetgroup/tg-xxxxx-svc-xxxxx/xxxxxxxxxxxxxxx' is not a valid target group ARN status code: 400, request id: 7xxxxxxxxxxxx
  • r

    rapid-eve-24229

    07/01/2022, 10:27 PM
    Hey I am just going to add this and then I'm out of here. It looks like one of our devs tried to deploy using the aws keys for the wrong account. So, the deployment created resources in the wrong aws account. Now, I am trying to deploy to the correct account, but I am getting this error. That target group was created in the wrong place. Stuff happens. But, the pulumi should handle this by skipping the missing group, not throwing an unresolvable error
    b
    • 2
    • 1
  • r

    rapid-eve-24229

    07/01/2022, 10:28 PM
    If it does not find the target group that it wants to delete, it should move along
  • f

    flat-laptop-90489

    07/01/2022, 11:13 PM
    Is it okay to give a shout-out here? I just want to say a huge thank you to all the people who answer questions on this slack. I know how hard it is to run an OSS community that is far smaller than this, and y'all do an awesome job. Huge thank you personally to those I've talked to, and I know There's others I haven't.
    👍 2
    ❤️ 7
    s
    • 2
    • 2
  • b

    billowy-army-68599

    07/01/2022, 11:25 PM
    Hey folks. We are heading into a long weekend here in the US so staff members responses may not come until Wednesday.
    👍 3
  • c

    careful-secretary-79148

    07/02/2022, 10:47 AM
    Good morning All
    👋🏻 1
  • b

    better-umbrella-26052

    07/02/2022, 2:21 PM
    Good morning also. Is there a certain channel that is best suited to (new) customers providing feedback?
    b
    • 2
    • 4
  • f

    few-toddler-19603

    07/02/2022, 3:50 PM
    I hope everyones weekend is going well and I do want to make clear that I do not wish to oblige anyone to work on a holiday weekend, however I will be available for the next few hours to work on the thread on my previous message, with a still unresolved problem: https://pulumi-community.slack.com/archives/C01PF3E1B8V/p1656618290807489
    ❤️ 1
  • a

    acceptable-tent-31739

    07/02/2022, 9:45 PM
    how can i simply go back to previous state? are they stored anywhere?
    b
    b
    • 3
    • 3
  • a

    acceptable-tent-31739

    07/02/2022, 9:45 PM
    i don't mean rollback, just hard replace
  • b

    bland-air-74625

    07/03/2022, 9:26 AM
    Hi all, Im new here and I need some help. When I run
    pulumi up
    it is failing with
    .pulumi\plugins\resource-eks-v0.41.0\pulumi-resource-eks.exe: Access is denied.
    When I rerun it it will try to reinstall or something results in the error
    \.pulumi\\plugins\\resource-eks-v0.41.0\\pulumi-resource-eks.exe": file does not exist
    I checked the plugins folder and the .exe is not there. I extracted the last release files and move the .exe there manually and it works for one run then the error is reappear. Any ideas?
    e
    • 2
    • 13
  • r

    red-apartment-20331

    07/03/2022, 1:40 PM
    When I run pulumi up from GitHub actions it succeeded , however when I run pulumi down from cli it is failing on AWS. Both using same credentials . Any pointers to debug the issue
    b
    • 2
    • 1
  • b

    big-lizard-68492

    07/03/2022, 2:05 PM
    Hello, I am having issues with two of my stacks due to something with the passphrase and would appreciate some help 🙂 : Issue 1: I was able to perform
    pulumi stack select <stack>
    successfully with my passphrase but when trying to run a
    pulumi preview
    command it is throwing the following error:
    error: getting secrets manager: incorrect passphrase
    This error is different from the error I would usually get if my passphrase is wrong for 2 reasons: 1. when the passphrase is wrong I usually can't even select the stack successfully 2. the usual error string i am getting for the wrong passphrase is:
    error: failed to decrypt: incorrect passphrase, please set PULUMI_CONFIG_PASSPHRASE to the correct passphrase or set PULUMI_CONFIG_PASSPHRASE_FILE to a file containing the passphrase
    Issue 2: A stack passphrase became unknown, is there a way to fix the current stack manually if I have access to the stack JSON file? some workaround I can perform in order to change the passphrase from within the stack file?
    e
    • 2
    • 6
  • r

    rich-businessperson-35436

    07/03/2022, 2:55 PM
    whats inflation_provider in https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/aks/ doing
    e
    • 2
    • 2
  • c

    curved-motorcycle-96186

    07/03/2022, 6:30 PM
    Can I use an
    Output<str>
    in a
    pulumi_kubernetes.yaml.ConfigFile
    transformation - and if so how? --- Context: I'm trying to update the image name of a container with the freshly built image (with unique pinned ID) using
    pulumi_docker
    however I keep running into the issue of the transformation (which attempts to just set
    spec.template.spec.containers.0.image
    = image_name (output from
    docker.Image().image_name
    ) Am I just being foolish for trying to use the yaml files (rather than re-importing them in python?)
  • s

    sparse-spring-91820

    07/03/2022, 6:36 PM
    Just wanted to share that I just found out that
    @pulumi/command
    package exists: https://www.pulumi.com/registry/packages/command/ The last time I was ssh-ing to ec2 instance there was no such package. So nice to see how pulumi grows! 🚀 Good job pulumi team!
    💜 1
    b
    • 2
    • 2
  • a

    ancient-car-89914

    07/03/2022, 9:26 PM
    I’m finding myself in the position of having to split a monolithic pulumi project into multiple sub-projects, and there are a lot of secrets in the config - is there some way to copy them from one project to another the way you can with stacks?
    • 1
    • 4
  • w

    wet-noon-14291

    07/03/2022, 10:24 PM
    Is the confluent Kafka provider based on this terraform provider? https://registry.terraform.io/providers/confluentinc/confluent/latest If yes, is the update done automatically? It just became an 1.0 realest of the terraform version.
    e
    • 2
    • 3
  • g

    great-breakfast-61299

    07/04/2022, 1:36 PM
    hello does someone use certmanager in k8s ? it gives me this :
    warning: resource plugin kubernetes-cert-manager is expected to have version >=0.0.3, but has 0.0.1; the wrong version may be on your path, or this may be a bug in the plugin
    e
    d
    • 3
    • 4
  • b

    bumpy-byte-21437

    07/04/2022, 2:47 PM
    hi somebody has some example in go how to create and reference outputs between packages?
    b
    • 2
    • 17
  • m

    most-mouse-38002

    07/04/2022, 3:00 PM
    For env variable (such as pipeline configs) we can do
    pulumi up -c "input1=123" -c "input2=345"
    , but why are these prefixed with the
    name
    from Pulumi.yaml?
    a
    • 2
    • 2
  • a

    adventurous-breakfast-54578

    07/05/2022, 12:05 PM
    I have imported some Azure resources like API Management and Cosmos Db's into my Pulumi state and now no matter what or how I configure the resources to match in code I can't get the Pulumi Up to not want to replace them. I can't do that! The config and code do match. I think this may has something to do with Managed Identities. I have tried everything I can think of including an export, editing, and importing again, but I must be missing something. Any help would be greatly appreciated.
    b
    • 2
    • 1
  • p

    prehistoric-sandwich-7272

    07/05/2022, 2:54 PM
    What is the Go equivalent of Typescript’s export? I am trying to achieve this Typescript code:
    exports.vpcId = eksVpc.id
    But in Golang. Anyone knows? In the docs there is no example for Golang
    f
    • 2
    • 10
Powered by Linen
Title
p

prehistoric-sandwich-7272

07/05/2022, 2:54 PM
What is the Go equivalent of Typescript’s export? I am trying to achieve this Typescript code:
exports.vpcId = eksVpc.id
But in Golang. Anyone knows? In the docs there is no example for Golang
f

fancy-spoon-7206

07/05/2022, 2:56 PM
ctx.Export("vpcId", vpc.VpcId)
@prehistoric-sandwich-7272
https://www.pulumi.com/docs/get-started/aws/review-project/
p

prehistoric-sandwich-7272

07/05/2022, 7:27 PM
@fancy-spoon-7206 Thanks! Do you happen to know maybe as well how to get output of a stack referense afterwards?
I understood that you need to export a variable and in order to use it in a different stack you need to get out put
I tried doing:
s := stack.GetOutput(pulumi.String(key))
but it is returned as
pulumi.AnyOutput
- and I can’t manage to convert it to string
f

fancy-spoon-7206

07/05/2022, 7:33 PM
https://www.pulumi.com/docs/intro/concepts/inputs-outputs/
You will need the Appy func
p

prehistoric-sandwich-7272

07/05/2022, 7:39 PM
@fancy-spoon-7206 does it happen after the ctx.export?
f

fancy-spoon-7206

07/05/2022, 7:57 PM
Whereever you are trying to ingest the imported stack 🙂.
p

prehistoric-sandwich-7272

07/06/2022, 7:30 AM
thanks a lot!
View count: 3