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

    rhythmic-pillow-13935

    12/15/2020, 6:31 PM
    I'm confused about the pricing. For Starter, is it $50 per month (if billed annually) otherwise it's $60 per month? For Pro, is it $225 per month, or $90 per month (if billed annually)?
    h
    l
    • 3
    • 3
  • w

    worried-queen-62794

    12/15/2020, 7:46 PM
    Is it safe to rename a project just by changing the name in the YAML file?
    • 1
    • 2
  • f

    freezing-finland-22895

    12/15/2020, 9:30 PM
    I'm seeing intermitent segmentation faults (!!!) when running
    pulumi up
    in my CI environment. Using AWS CodeBuild 4.0 image, with the latest version of pulumi. Anyone else seeing something similar? AFAICT my deployment hasn't changed much. Increasing resources on the build machine didn't help (so doesn't seem to be a memory issue).
    g
    • 2
    • 6
  • w

    worried-queen-62794

    12/15/2020, 11:00 PM
    I am trying to change the role that I am assuming but this is changing the provider and now pulumi wants to replace everything. Can I stop it doing that?
    l
    q
    • 3
    • 4
  • i

    icy-london-56932

    12/16/2020, 1:20 AM
    how can I get the cluster name from a k8s.Provider that I initialized using the cluster name? (in TS)
  • m

    mysterious-oyster-86659

    12/16/2020, 4:53 PM
    What's the "best" or recommended way to stop/remove all AWS services generated for a given stack while still retaining everything for the stack's configuration on a local dev environment? My group's been doing this by commenting out code sections to do this, and I'm sure there's a better way...
    l
    • 2
    • 4
  • t

    tall-jackal-67163

    12/17/2020, 4:14 AM
    How do I pass credentials to Pulumi code? Say, in my build agent I have a script to get the credentials from a source... then in my Pulumi code, how can I reference to that secret?
    l
    • 2
    • 9
  • f

    future-megabyte-14556

    12/17/2020, 5:21 AM
    Any clues on what this error means? - was working fine yesterday
    error: Running program '/Users/…/myproject' failed with an unhandled exception: 
    Error: invocation of kubernetes:helm:template returned an error: failed to generate YAML for specified Helm chart: failed to load chart from temp directory: stat /var/folders/pm/ftb5j1d51_gbr3cdxfpl1v4r0000gn/T/helm179799543/nginx-ingress: no such file or directory
    
    unhandled rejection: CONTEXT(516): Invoking function: tok=kubernetes:helm:template asynchronously
  • c

    creamy-country-23426

    12/17/2020, 7:06 AM
    Hey guys. I have a strange issue. Beginning from yesterday I'm feeling issues with deploying new changes. I'm using gcp and kubernetes and yesterday I successfully deployed las changes and after that I tried to push new changes after a little time ago, but now all changes are stuck on the preview, just stuck on the reading stack references (stack references are healthy and working and I can push changes to them). What can be happened? Any ideas?
  • b

    bored-flower-84342

    12/17/2020, 1:52 PM
    just getting started with Pulumi here - working thru the ecs example and have everything working in my environment - now I need to adjust so that my ECS Task Definition pulls the image from a different account then the one running Pulumi (images stored in our aws shared account), Pulumi running under our aws dev account, generally I would solve this using assume role, but not seeing how to do that with Pulumi - anyone have something similar working ?
    b
    f
    • 3
    • 4
  • m

    mysterious-oyster-86659

    12/17/2020, 5:34 PM
    Any support for AWS LakeFormation? If not, is there some kind of useful work-around?
    g
    • 2
    • 3
  • k

    kind-mechanic-53546

    12/17/2020, 11:19 PM
    hey folks I'm trying to import an existing aws lambda and it's failing with the error
    handler and runtime must be set when PackageType is Zip
    Runtime is set (
    .NET Core 3.1 (C#/PowerShell)
    ), handler is set (
    Stevie.Cloud.Api::Stevie.Cloud.Api.LambdaEntryPoint::FunctionHandlerAsync
    ) Any ideas?
  • p

    proud-pizza-80589

    12/18/2020, 10:44 AM
    Does pulumi resolve the outputs on its own if you use a value of one resource in another one (same file)? Or do you need to go via the pulumi.all method your self? Usecase: i deploy a secret with a wildcard ssl certificate, and i need the secret name the values of the chart i deploy right after that.
    g
    • 2
    • 2
  • l

    limited-pager-46264

    12/18/2020, 12:07 PM
    What’s the disadvantage of managing a stack’s secrets with passphrase in production?
    b
    b
    • 3
    • 7
  • m

    magnificent-restaurant-51456

    12/18/2020, 1:42 PM
    I tried using tf2pulumi tool and I was able to convert small terraform file into pulumi but failed when I had a complex one
    g
    • 2
    • 1
  • a

    average-school-38756

    12/18/2020, 3:11 PM
    i'm splitting an existing project into multiple stacks, by using existing resource IDs as
    import
    values and stack dependencies. But how do i handle resources like
    pulumi_aws.acm.CertificateValidation
    which don't have corresponding cloud provider IDs? i'd like it to continue to be defined in IaC so that a new stack can be spun up with that same code, but Pulumi wants to create a new one.
    s
    l
    • 3
    • 4
  • g

    gifted-student-18589

    12/18/2020, 5:51 PM
    I also have a question related to multiple stacks.. When it comes to referencing other stacks, I’m aware of
    StackReference
    resource type, but it seems it only works when your state files are stored in the Pulumi cloud (Pulumi backend). Is there something we could use to reference other stacks, but for the case in which the state files are stored locally? Thanks!
    l
    • 2
    • 1
  • j

    jolly-vr-53742

    12/18/2020, 6:16 PM
    Good afternoon. I have a k8 deployment that is not progressing though the preview, it seems to be hung on "create". Anyway I can see the details of this "create" to see why it is hanging?
  • f

    full-mouse-82324

    12/18/2020, 7:58 PM
    Is it possible to provision an AWS Canary with Pulumi? https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html
  • b

    bitter-dentist-28132

    12/18/2020, 8:11 PM
    trying to run some old code. i get this:
    error: Error: Command failed: helm template /tmp/tmp-31838777XOYQC967QQm/deprecation --name-template nginxingresscontroller --values /tmp/tmp-31838777XOYQC967QQm/deprecation/values.yaml --values /tmp/tmp-31838771tvGEyQxKeRB.yaml --namespace default
        Error: open /tmp/tmp-31838777XOYQC967QQm/deprecation/values.yaml: no such file or directory
    anyone have any ideas?
  • d

    dry-engine-17210

    12/18/2020, 9:03 PM
    Anyone around these parts tried to figure out how to get a Terraform providing working with Pulumi using the “bridge”?
    g
    b
    +2
    • 5
    • 25
  • j

    jolly-vr-53742

    12/18/2020, 10:41 PM
    With the AWS CDK I can set the kubectl memory like "kubectlMemory: cdk.Size.mebibytes(512)" how can I do this with Pulumi?
    b
    • 2
    • 1
  • j

    jolly-vr-53742

    12/18/2020, 11:05 PM
    I need to dig into this level: https://docs.aws.amazon.com/cdk/api/latest/python/aws_cdk.aws_eks/Cluster.html
  • p

    proud-pizza-80589

    12/19/2020, 5:17 PM
    Is there a limit on how big a pulumi stack can become before it becomes an issue? 10 clusters with 30 namespaces with each 10-15 helm charts? How much will that impact speed?
    b
    • 2
    • 4
  • b

    billions-oxygen-70106

    12/21/2020, 1:07 AM
    I am having strange issues with stack conflicts that have been able to replicate with pulumi and GCS backend. I'm new to pulumi, so I am probably just doing something wrong. After creating a new go stack, this is what happens: 1. I import a resource (status shows imported) 2. Run
    pulumi up
    - it works fine and there are no changes 3. I import a second resource (status shows imported) 4. When running
    pulumi up
    , I get a duplicate URN error for the stack:
    error: Duplicate resource URN 'urn:pulumi:org::some-project::pulumi:pulumi:Stack::some-project-org'; try giving it a unique name
    Does anyone have an idea what I may be doing wrong? I've been fiddling with this for a while.
    l
    b
    • 3
    • 9
  • w

    worried-queen-62794

    12/21/2020, 7:24 AM
    Is there a way to get
    refresh
    to show me the differences?
    details
    doesn't show anything. If I run
    pulumi up
    then all is well but then an immediate
    pulumi refresh
    shows changes.
    l
    b
    f
    • 4
    • 5
  • s

    swift-hamburger-98290

    12/21/2020, 11:29 AM
    Did the auto naming strategy change? For instance, I have a resource called
    app-something
    , which gets created with the name
    app-something{suffix}
    , instead of
    app-something-{suffix}
    (notice the missing
    -
    ). Dotnet API, on Azure. Thank you.
    b
    t
    l
    • 4
    • 11
  • m

    magnificent-restaurant-51456

    12/21/2020, 3:29 PM
    Can someone give an example to know about creating modules with golang
    b
    b
    • 3
    • 6
  • j

    jolly-vr-53742

    12/21/2020, 3:49 PM
    This randomly came up in a GitLab CI. Anyone know where I go to resolve this? "error: problem logging in: PULUMI_ACCESS_TOKEN must be set for login during non-interactive CLI sessions"
    b
    • 2
    • 4
  • b

    billions-yak-67755

    12/21/2020, 5:16 PM
    Hello! I am pretty new to Pulumi, but encountering trouble creating an EKS cluster in AWS using the Pulumi Python library. When creating the cluster, I invariably run into some variant of the error:
    error: aws:eks/cluster:Cluster resource 'training-eks-cluster' has a problem: Computed attribute cannot be set
    Adding debug / verbose logs has not provided anything that seemed useful, and none of the many variants to parameters (providing, omitting, computed, hardcoded, etc.) have provided any progress, either. Any ideas on next steps for digging in and figuring out if this is user-error or a bug?
    p
    b
    • 3
    • 8
Powered by Linen
Title
b

billions-yak-67755

12/21/2020, 5:16 PM
Hello! I am pretty new to Pulumi, but encountering trouble creating an EKS cluster in AWS using the Pulumi Python library. When creating the cluster, I invariably run into some variant of the error:
error: aws:eks/cluster:Cluster resource 'training-eks-cluster' has a problem: Computed attribute cannot be set
Adding debug / verbose logs has not provided anything that seemed useful, and none of the many variants to parameters (providing, omitting, computed, hardcoded, etc.) have provided any progress, either. Any ideas on next steps for digging in and figuring out if this is user-error or a bug?
eks_cluster = aws.eks.Cluster(
    'training-eks-cluster',
    name = 'training-eks-cluster',
    role_arn = eks_role.arn,
    vpc_config = aws.eks.ClusterVpcConfigArgs(
      vpc_id= training_vpc.id,
      subnet_ids= [private1.id, private2.id]
    ),
    version = '1.18',
    tags = {
        'rs:project': 'training',
        'rs:owner': '<mailto:sol-eng@rstudio.com|sol-eng@rstudio.com>'
    }
)
p

prehistoric-kite-30979

12/21/2020, 5:17 PM
I have seen this before.. My issue had something to do with vpcid I think.
Try commenting out fields and see what works. That was how I resolved.
b

billowy-army-68599

12/21/2020, 5:18 PM
@billions-yak-67755 can you open an issue in the EKS github repo for this as well?
b

billions-yak-67755

12/21/2020, 5:19 PM
Good to know, thanks!! I have tried hardcoding the VPC id, subnet ids, role_arn, etc. to no avail 😞 I have gone all the way down to nothing, adding only required parameters (hardcoded) to no avail either. And yes - I will definitely go open an issue!
This repo, I presume? https://github.com/pulumi/pulumi-eks
b

billowy-army-68599

12/21/2020, 5:20 PM
yes that's the one
✅ 1
b

billions-yak-67755

12/21/2020, 5:25 PM
https://github.com/pulumi/pulumi-eks/issues/494 Thanks!
View count: 1