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

    miniature-leather-70472

    11/17/2020, 11:21 AM
    Any idea when the next Pulumi core release is planned for? Waiting on this change to fix Kubernetes deployment https://github.com/pulumi/pulumi/pull/5760
    b
    • 2
    • 3
  • a

    agreeable-ram-97887

    11/17/2020, 11:43 AM
    Hello, short question here: Is it possible to run
    pulumi preview
    without actually comparing against the current stack? I am trying to test if the pulumi code compiles without error in a CICD script, and at this point don't actually care about the changes it may or may not cause
    👍 1
    w
    • 2
    • 7
  • a

    agreeable-ram-97887

    11/17/2020, 12:19 PM
    One more CICD-related question: When getting the output of pulumi preview in a GitLab merge request, it seems that they get truncated (see the screenshot below). Is there a way to show the full output regardless of length?
    w
    • 2
    • 2
  • h

    high-morning-17948

    11/17/2020, 2:38 PM
    Has anyone deployed a nextjs app with AWS?
  • r

    rhythmic-napkin-82334

    11/17/2020, 4:07 PM
    We are still exploring CI/CD and have not find a way yet to print the output of
    pulumi up
    to the merge request overview on GitLab. The ressource changes from the
    pulumi preview
    show up properly (see image) but no output from
    pulumi up
    is added afterwards.. It would be good to get the output, since there are cases in which
    pulumi up
    throws some errors that are important to be notified of... Does anyone know a trick?
    b
    c
    a
    • 4
    • 22
  • h

    hundreds-musician-51496

    11/17/2020, 4:53 PM
    Is there a way to create a resource, but not delete it? AWS CloudFront's "Lambda@Edge" functions can be created, but AWS takes care of deleting them (and gives an error if pulumi tries to delete them instead). So is there some way to create these functions, but delete them?
    • 1
    • 1
  • f

    fierce-engine-31599

    11/17/2020, 4:57 PM
    Hey! Does anyone know how to import an existing kubernetes resource? I tried UID, name, and self link but nothing works...
    g
    • 2
    • 3
  • f

    future-nail-59564

    11/17/2020, 5:27 PM
    hey folks! 👋 I’m looking into Pulumi to automate the creation of our users in AWS, but the question I have is not AWS-specific: What would be a best practice to output the temporary generated passwords out of pulumi? Would you say it’s ok to output them as plain text, assuming they’re only temporary and will need to be changed by user upon first login anyway? As we’re running Pulumi as part of an automated pipeline (using Codefresh), I guess I would still be a little uncomfortable to have those passwords leaking into the pipeline logs. Though we still need to retrieve those passwords somehow… 🤔
    👀 2
    b
    m
    • 3
    • 13
  • a

    agreeable-ram-97887

    11/17/2020, 6:22 PM
    For those using pulumi within a CICD pipeline to provision an amazon EKS cluster, how do you communicate with the cluster after its creation (e.g. via kubectl) when the awscli is configured to use your personal AWS credentials?
    w
    • 2
    • 13
  • w

    wooden-account-17701

    11/17/2020, 6:34 PM
    Hi, I use GCP provider with Python. Its possible to store the output public IP addresses of the machines I created with GCE in a array? Thanks
    a
    • 2
    • 2
  • h

    hundreds-musician-51496

    11/18/2020, 1:16 AM
    I want to use
    pulumi state delete
    to remove a resource that is "pending delete". However, the URN refers to two resources. When I run
    pulumi state delete
    I get the following prompt:
    Multiple resources with the given URN exist, please select the one to edit:  [Use arrows to move, enter to select, type to filter]
    > "handle-request-ap-1782-resources-resources-ci-901d9e4"
      "handle-request-ap-1782-resources-resources-ci-b67bf05" (Pending Deletion)
    Is there any way to select the second one non-interactively? I want to do this on my CI server.
    g
    • 2
    • 1
  • w

    wet-soccer-72485

    11/18/2020, 5:31 PM
    Is there a way to define a default
    orgName
    so that I can use the shorthand for referring to a stack? So instead of having to write
    pulumi stack select myorg/mystack
    I can just define
    myorg
    as the default, and just do
    pulumi stack select mystack
    ?
    l
    • 2
    • 3
  • f

    faint-australia-78690

    11/18/2020, 6:15 PM
    If I want to create an IAM policy with Pulumi that grants full access to resources that Pulumi manages, is there a way to just get all Pulumi-managed resources for the stack in one go?
    l
    • 2
    • 6
  • w

    wonderful-manchester-62734

    11/19/2020, 6:51 AM
    Pulumi is suddenly very slow, an update took 1.5 hours. Any idea?
  • r

    rhythmic-napkin-82334

    11/19/2020, 7:24 AM
    Dear community, how do you
    pulumi destroy
    via GitLab CI? Is it even possible? Cheers Robin
    w
    l
    • 3
    • 2
  • b

    brash-psychiatrist-86349

    11/19/2020, 8:53 AM
    The name of the resources are generated in this form:
    test-api-c0163d9
    test-lambda-6e02bf9
    How this hash is generated and how can I choose a string to replace it?
    b
    • 2
    • 2
  • d

    dazzling-sundown-39670

    11/19/2020, 2:30 PM
    Is there some way to get a pulumi output set as an github action output when using the Pulumi Github Actions?
  • s

    steep-angle-29984

    11/19/2020, 3:05 PM
    I got
    Duplicate resource URN
    error, but URN is unique. The URN is very long(->307), can that be the cause of the error?
    b
    • 2
    • 3
  • d

    dazzling-sundown-39670

    11/19/2020, 4:00 PM
    How can I mock configuration?
    Error: Missing required configuration variable 'project:domain'
    running in NodeJS
    • 1
    • 2
  • e

    early-glass-64522

    11/19/2020, 4:34 PM
    are there any examples of mocking a stackreference?
  • i

    icy-london-56932

    11/19/2020, 6:21 PM
    how can we specify the
    kubecontext
    for a Helm chart resource?
    i
    • 2
    • 2
  • b

    billowy-nightfall-59212

    11/19/2020, 7:57 PM
    Talk on that compared
    pulumi
    with other tools in
    kubecon
    https://kccncna20.sched.com/event/ek9o/five-hundred-twenty-five-thousand-six-hundred-k8s-clis-phillip-wittrock-gabbi-fisher-apple
  • b

    bumpy-portugal-31592

    11/19/2020, 10:32 PM
    anything like pulumi2tf available? use case: my org is currently bound by contract to supply tf scripts to our customers for infra on which our software suite is installed to even consider migrating to pulumi, we must first achieve the intermediate goal of generating same tf from equivalent pulumi
    g
    • 2
    • 4
  • e

    early-glass-64522

    11/19/2020, 11:07 PM
    pardon if this is not an appropriate channel for this, but I am looking to bring on a devops engineer to help me promote and build a great devops culture. We are a small and young tech company that is really well funded. I and the dev team want Pulumi to be at the heart of our IaC! If interested, DM me for info. (not sure I’m allowed to post it here)
  • i

    icy-london-56932

    11/19/2020, 11:28 PM
    what's the recommended way to run shell commands with pulumi after a resource is created?
    g
    b
    p
    • 4
    • 16
  • a

    ambitious-father-68746

    11/20/2020, 1:39 AM
    If I have a resource that contains a secret, then
    pulumi update
    will only show the details as
    secret
    . For example, on an AWS Task Definition:
    ~ containerDefinitions: "[secret]" => "[secret]"
    I really want to see what's about to change on that
    containerDefinition
    . Is there a way to show those secret values?
    b
    • 2
    • 3
  • q

    quiet-agency-98780

    11/20/2020, 5:42 AM
    is it possible to pass values from an API as configuration values to the Pulumi script? I don’t want to set the config values in the CLI mode, I am looking for a fully automated way without using CLI and the Pulumi script gets the value from another source and use it to do the provisioning.
    b
    • 2
    • 1
  • a

    alert-raincoat-81485

    11/20/2020, 6:47 AM
    Hello folks, When i am trying to create Ingress/Egress attribute of the SecurityGroup, it throws a following error
    ingress=[aws.ec2.SecurityGroupIngressArgs(
        AttributeError: module 'pulumi_aws.ec2' has no attribute 'SecurityGroupIngressArgs'
    The code was referred from an Pulumi docs example.
    security_group = aws.ec2.SecurityGroup( # type: ignore
        "secgrp",
        description="Splunk Hybrid cloud security group",
        vpc_id=vpcid,
        ingress=[aws.ec2.SecurityGroupIngressArgs(
            description="TLS from VPC",
            from_port=443,
            to_port=443,
            protocol="tcp",
            cidr_blocks=["0.0.0.0/0"],
        )],
        egress=[aws.ec2.SecurityGroupEgressArgs(
            from_port=0,
            to_port=0,
            protocol="-1",
            cidr_blocks=["0.0.0.0/0"],
        )],
    )
    Any suggestions?
    e
    • 2
    • 2
  • n

    narrow-area-20379

    11/20/2020, 7:45 AM
    Ran into an issue today, looks like when creating a kubernetes secret with Pulumi you have no choice but to accept autonaming of the secret. https://github.com/pulumi/pulumi/issues/5790
    d
    • 2
    • 8
  • s

    sparse-dream-33326

    11/20/2020, 12:21 PM
    How do I create a windows node AKS? I am trying to build mixed node cluster and I cannot find any examples on how to achieve this.
Powered by Linen
Title
s

sparse-dream-33326

11/20/2020, 12:21 PM
How do I create a windows node AKS? I am trying to build mixed node cluster and I cannot find any examples on how to achieve this.
View count: 1