https://pulumi.com logo
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

    elegant-pager-5412

    05/03/2021, 8:35 AM
    Is the general practice is to append a suffix based on the current stack to each resource so we can deploy multiple each stack separately for developing?
    w
    • 2
    • 1
  • e

    elegant-pager-5412

    05/03/2021, 8:35 AM
    Like
    dev
    and
    prod
    stacks `like
  • f

    fresh-hospital-81544

    05/03/2021, 8:52 AM
    Hi, in my code Pulumi is missing some dependencies which makes the script fail I have this in one part of my code
    const retry_queue = new aws.sqs.Queue("retry", {
            delaySeconds: 180,
            messageRetentionSeconds: 345600, // 4 days
    and then later
    });
    const queueURL = retry_queue.name.apply(name => aws.sqs.getQueue({
            name: name,
        }).then(queue => queue.url));
    however when I up this I get the error that the queue with the name is not available.
    error: Running program '/working/src/stack-staging' failed with an unhandled exception:
        Error: invocation of aws:sqs/getQueue:getQueue returned an error: invoking aws:sqs/getQueue:getQueue: 1 error occurred:
            * Error getting queue URL: AWS.SimpleQueueService.NonExistentQueue: The specified queue does not exist for this wsdl version.
    If I hard code the queueURL and
    pulumi up
    and then restore the second snippet then the script works. Is there a way to ensure a dependency here?
    c
    • 2
    • 5
  • h

    handsome-state-59775

    05/03/2021, 11:04 AM
    My stack runtime is listed as nodejs at app.pulumi.com in the tags and in the options/danger zone, but I've always used python in a venv for pulumi. This doesn't seem to be interfering with anything - just wanted to point it out
  • b

    boundless-angle-56560

    05/03/2021, 12:33 PM
    maybe a silly question but why Pulumi doesn't set ec2 instance names ?
    b
    • 2
    • 3
  • b

    boundless-angle-56560

    05/03/2021, 3:05 PM
    hmmm, is the following (in screenshot) a pulumi bug?
    c
    b
    b
    • 4
    • 30
  • f

    flat-monkey-80334

    05/03/2021, 4:55 PM
    #general #aws #python I am struggling to find correct pulumi import [type] [name] [flag] configuration to import aws:iam role? "arn:aws:iam:123456789012:instance-profile/SomeRole123-123"
    b
    • 2
    • 3
  • g

    gorgeous-translator-67757

    05/03/2021, 5:15 PM
    Is there a way to loop through a list of resources e.g. ec2 instances per id, in order to create another resource like an Cloudwatch alert/alarm?
    g
    • 2
    • 11
  • e

    enough-truck-34175

    05/03/2021, 6:54 PM
    Does anyone know what ciphers Pulumi uses for encryption? I need to info for a security review.
    g
    • 2
    • 3
  • p

    purple-train-14007

    05/03/2021, 7:45 PM
    Not gonna lie I kinda liked the old pulumi site better.
  • p

    purple-train-14007

    05/03/2021, 7:46 PM
    Its just so bright it hurts my eyes while I code in my moms basement
    😄 2
  • b

    boundless-angle-56560

    05/03/2021, 7:47 PM
    I liked the old pulumi logo 🙂
  • p

    purple-train-14007

    05/03/2021, 7:47 PM
    same
  • p

    purple-train-14007

    05/03/2021, 7:50 PM
    me
  • p

    purple-train-14007

    05/03/2021, 7:50 PM

    https://youtu.be/cwU56Vp6Xxg?t=145â–¾

    l
    • 2
    • 3
  • p

    purple-train-14007

    05/03/2021, 7:50 PM
    ^ Thats me when I go to new pulumi site lol
  • f

    fast-dinner-32080

    05/03/2021, 7:52 PM
    This extension should fix that right up https://chrome.google.com/webstore/detail/dark-reader/eimadpbcbfnmbkopoojfekhnkhdbieeh?hl=en-US
    🎉 1
  • e

    enough-truck-34175

    05/03/2021, 8:23 PM
    Hello! Is there a way to pass in custom args to the program via the pulumi cli? For example, I would like to run
    pulumi preview --stack dev --custom-args="{my-custom-arg=true}"
    . Is the only way I can achieve this through environment variables?
    • 1
    • 1
  • p

    purple-train-14007

    05/03/2021, 8:48 PM
    Microsofts API is saying the expressroute resource isnt found in the Microsoft.Network API. Here is what I have.
  • p

    purple-train-14007

    05/03/2021, 8:48 PM
    azure-native:network:ExpressRoutePort (USDomainServicesCircuit):
        error: Code="InvalidResourceType" Message="The resource type could not be found in the namespace 'Microsoft.Network' for api version '2020-08-01'."
  • w

    worried-knife-31967

    05/03/2021, 9:10 PM
    https://martinjt.me/2021/05/03/deploying-net-5-azure-functions-with-pulumi-and-github-actions/
  • b

    bumpy-summer-9075

    05/03/2021, 9:44 PM
    For some reason when I ran
    pulumi up
    from my CI, it replaced my Kubernetes provider and some resources failed to deploy (they already existed). Now my stack is broken and I don't know how to fix it. This is what I get after I ran
    pulumi up
    locally:
    error: .pulumi/stacks/foo.dev.json: snapshot integrity failure; refusing to use it: resource urn:pulumi:foo.dev::myproject-foo::mycompany:myproject:K8sService$<kubernetes:traefik.containo.us/v1alpha1:Middleware::strip-prefix-middleware> refers to unknown provider urn:pulumi:foo.dev::myproject-foo::pulumi:providers:kubernetes::eks::dd3c15b3-68ea-4fdb-8361-93d85200c008
    even
    pulumi stack export --file state.json --stack foo.dev
    throws the aforementioned error ----- I ended up deleting my stack directly in my s3 backend and recreating.
  • p

    proud-art-41399

    05/04/2021, 5:22 AM
    Hi, is it possible to run just a part of the Pulumi program? Let's say I have a React app and want to send logs to AWS CloudWatch. First I'd like to create a log group and an IAM user that can create log streams and send logs in that log group. Then I need to expose the log group name and user credentials to the React app during build step. Finally I'd like to provision the infrastructure for the app and deploy it.
    l
    b
    • 3
    • 10
  • l

    lemon-monkey-228

    05/04/2021, 7:21 AM
    I’d have thought not since it’s meant to be declarative not imperative. I’d guess that you should either split them up so that you can consume them separately and maybe feature flag each piece, eg. have a
    config.cloudWatchEnabled
    then only run Pulumi components if that’s true
  • r

    rough-arm-38844

    05/04/2021, 11:04 AM
    hi, can anyone help or advise with this: we are using packer to spin up an AMI (AWS) image of one of our web app servers, we would like to use pulumi to run additional configuration in the form of powershell scripts on the server to install and configure instances of our web application. What is the best way to go about doing this? Advice and guidance much appreciated, thanks!
    b
    p
    • 3
    • 10
  • d

    damp-school-17708

    05/04/2021, 11:59 AM
    Hello, we have a ci/cd pipeline (monorepo) where we build frontend, backend and some infra, each of those have their own stack. To speed things up, we build in parallel (codebuild/codepipeline) fe in one build, be in one build and infra in another build. We did notice that the infra stack (which is referenced by fe/be) sometimes is null. I assume that happens because we use s3 as backend and possibly that's locked when when doing a pulumi up in a different process. But how else could we structure this? Are we using the tooling in a wrong way?
  • w

    wet-noon-14291

    05/04/2021, 2:00 PM
    Anyone that has example of using pulumi with kafka on confluent?
  • m

    mysterious-wolf-74677

    05/04/2021, 6:09 PM
    Is the webinar happening? The "Ask the Expert - NA" one?
    b
    • 2
    • 1
  • p

    prehistoric-bird-72020

    05/04/2021, 7:49 PM
    Hello, I'm pulling a secret from k8s
    const secret = k8s.core.v1.Secret.get(...)
    and using it in a new Secret. The
    data
    field is being displayed in my plan rather than being obscured. I tried adding
    additionalSecretOutputs: ['data']
    . Is there something else I should be doing, or would it be displayed in the plan as text but is being encrypted in Pulumi?
  • r

    refined-ambulance-81475

    05/04/2021, 11:31 PM
    I got an error when trying to import crawlers, it returns an error telling me that I must especify at least one target, but it alredy has the S3Target. Does anybody knows how to skip it?
    • 1
    • 1
Powered by Linen
Title
r

refined-ambulance-81475

05/04/2021, 11:31 PM
I got an error when trying to import crawlers, it returns an error telling me that I must especify at least one target, but it alredy has the S3Target. Does anybody knows how to skip it?
This is the architecture of the crawler, as you can see, it has a S3Target
View count: 1