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

    happy-optician-17286

    05/05/2022, 8:00 PM
    So I’m curious if anyone else uses mongodb Atlas and has seen this particular problem. We are basically trying to get mongo upgraded from an older provider (1.7) to the latest (3.3.0) and I see that I can get the pulumi project to work unless I set the flag “cloudBackup: true”. When this flag is set I get the following error, which strongly looks like a terraform bug that pulumi has also absorbed.
    main-cluster (mongodbatlas:index:Cluster)
    error: 1 error occurred:
    	* updating urn:pulumi:dev::mongo::mongodbatlas:index/cluster:Cluster::main-cluster: 1 error occurred:
    	* Invalid address to set: []string{"snapshot_backup_policy", "0", "policies", "0", "policy_item", "0", "id"}
  • f

    fresh-librarian-41835

    05/05/2022, 8:40 PM
    Is there any documentation on how to import resources into a pulumi component resource? IE: i have a dev component resource that builds vpc, subnets, vms, etc. How would i import a VPC into that DEV Component?
    g
    • 2
    • 1
  • f

    future-refrigerator-88869

    05/05/2022, 8:56 PM
    Hi everyone, is there a way to get all stacks via the automation api ? EG: the ouput of
    pulumi stack ls
    command
    a
    • 2
    • 1
  • g

    gifted-fish-997

    05/05/2022, 9:17 PM
    Hello, is there any action planned on the current
    tf2pulumi
    issue #221? It's blocking some conversion of old terraform IaC at my org. It's possible to convert manually but the lift is substantially higher than doing an initial conversion then updating from that point.
  • b

    bulky-agent-73210

    05/06/2022, 9:55 AM
    Hey all, where could I find some docs on input/output of provider Read method?
    func Read(ctx context.Context, m map[string]interface{}) (map[string]interface{}, bool, error)
    e
    • 2
    • 20
  • l

    limited-energy-77059

    05/06/2022, 10:23 AM
    [Solved] Hello, Pulumi Community 👋 I am using the Azure Pipelines task to
    preview
    and
    up
    my stack, hosted in Azure. Using the latest
    v3.32.1
    displays the following error.
    error: passphrase must be set with PULUMI_CONFIG_PASSPHRASE or PULUMI_CONFIG_PASSPHRASE_FILE environment variables
    I haven't figured out how to define the passphrase using the Azure task.
    e
    • 2
    • 4
  • l

    little-belgium-31679

    05/06/2022, 10:53 AM
    How long does it take an organization on average to change AWS Infra, which is made of Terraform (HCL), to Pulumi Python or Typescript?
  • l

    little-belgium-31679

    05/06/2022, 10:56 AM
    If there is a case study or actual case, our company is also try a new service IaC Pulumi(Python or TypeScript).
  • m

    mysterious-area-77666

    05/06/2022, 2:41 PM
    With CrossCode, is the plan now to move away from using
    terraform-bridge
    for the pulumi packages ex.
    fastly
    https://www.pulumi.com/registry/packages/fastly/?
    b
    • 2
    • 1
  • a

    astonishing-controller-79521

    05/06/2022, 3:23 PM
    Hi team, what are the plans to support AWS EKS ipv6 provisioning in pulumi eks?
    b
    • 2
    • 8
  • e

    echoing-postman-88590

    05/06/2022, 3:33 PM
    Hi, is there an example on how to use the
    postrender
    argument for the
    pulumi_kubernetes.helm.v3.Release
    ? Seems that the input should be a string representing the command to be executed. I have tried
    postrender="touch /tmp/test"
    but nothing is created. Thanks
  • f

    fierce-advantage-48432

    05/06/2022, 3:53 PM
    Hi all 👋 currently doing a bit of a study on what Pulumi would look like as a next phase of our IaC journey. My question is more of an approach one, how much is too much for a single run of
    pulumi up
    , would thousands of resources in one program’s stack be madness or more than reasonable?
  • m

    mammoth-art-6111

    05/06/2022, 4:43 PM
    anyone have any experience using Pulumi w/ Harness or Codefresh?
  • a

    agreeable-king-2755

    05/06/2022, 5:06 PM
    hey folks, I'm looking for a Python/AWS example of configuring an nginx proxy on Elastic Beanstalk. If it uses
    .ebextensions/nginx/nginx.conf
    , shall I use that?
    • 1
    • 1
  • b

    brave-angle-33257

    05/06/2022, 8:19 PM
    suddenly getting an error in my automation API in a docker container stating:
    passphrase must be set with PULUMI_CONFIG_PASSPHRASE or PULUMI_CONFIG_PASSPHRASE_FILE
    but when I print out the ENV vars above (running in docker) it's listed.
    e
    • 2
    • 19
  • f

    full-artist-27215

    05/06/2022, 8:48 PM
    Is there anything like a swagger definition for the Pulumi Service API? Interested in trying some code generation.
    e
    w
    d
    • 4
    • 5
  • f

    freezing-umbrella-5483

    05/06/2022, 11:48 PM
    Is it possible to provision a CI/CD pipeline from within the Pulumi code, like it's done in AWS CDK Pipelines?
    v
    g
    s
    • 4
    • 26
  • c

    cold-midnight-33684

    05/07/2022, 1:58 PM
    hey y’all. tl;dr - how should the directory structure look like? we have a vast existing infrastructure structure and we’re looking into importing everything into pulumi so it could be managed in an IaC manner. what I can’t seem to understand is how should we structure the projects and folders. we have a lot of “stuff” - dozens of route53 zones each with hundreds of records, hundreds of s3 buckets, cloudfront distributions, and a lot of other stuff. these components are not always a part of one logical product/git repo so we can’t have each microservice or monolith repos with their pulumi files as well. in such a case - how do you structure it? one git repo with each pulumi project in a folder?
    b
    • 2
    • 1
  • e

    elegant-monkey-64304

    05/07/2022, 4:25 PM
    Hi! 🙂 We’ve been using
    pulumi-eks
    for a while and we’ve got the following exception during a regular
    pulumi up
    error: Error: Command failed: kubectl patch deployment coredns -n kube-system --type json -p='[{"op":"replace","path":"/spec/template/metadata/annotations/eks.amazonaws.com~1compute-type","value":"fargate"}]'
    error: exec plugin: invalid apiVersion "<http://client.authentication.k8s.io/v1alpha1|client.authentication.k8s.io/v1alpha1>"
    I believe it might be related to the following fresh
    aws-cli
    issue here: https://github.com/aws/aws-cli/issues/6920 Any idea? Thanks 🙂
  • c

    curved-doctor-69226

    05/08/2022, 10:03 AM
    Hi Community! I’m trying to test a Chart, but I keep getting this error:
    objects = json_opts.apply(lambda x: pulumi.runtime.invoke('kubernetes:helm:template',
    TypeError: 'NoneType' object is not subscriptable
    Could you help me out? Have someone tested a chart before? Thanks in advance!🧵
    b
    • 2
    • 4
  • b

    bumpy-policeman-19654

    05/08/2022, 10:48 AM
    Hi pulumiers! I looking to move all my ioc company code from TF to pulumi but I wonder is it is possible to start just creating new tiny modules with pulumi and being executed in TF in a transparent way, to make the transition from TF to pulumi easier for product teams
    b
    e
    • 3
    • 3
  • s

    stocky-helmet-82003

    05/08/2022, 11:39 AM
    Hey! Maybe a slightly off-topic question. What is it with the ACME Corp Examples? Is it a reference to the company from the Road Runner cartoons? 👀
    e
    • 2
    • 1
  • h

    high-pencil-44536

    05/08/2022, 3:45 PM
    If I have projects with different storage backends/locations, is it possible to refer to their outputs via stackreference?
    b
    • 2
    • 2
  • h

    high-pencil-44536

    05/08/2022, 3:48 PM
    e.g. shared infra stores state at gs://my-company-infra/pulumi/ and project-a stores state at gs://my-company-PROJECT/pulumi/ and I want to read infra state (e.g. subnets) in PROJECT
    b
    • 2
    • 2
  • q

    quick-wolf-8403

    05/08/2022, 4:27 PM
    Hello folks. I'm trying to rename a project as I move it into another repository and expand it. I created a new destination project and wondered if I could use
    pulumi config cp
    to move secrets and config entries from the old stack.
    b
    • 2
    • 3
  • a

    alert-balloon-36955

    05/09/2022, 1:14 AM
    Hi Folks I am trying to setup datafactory using azure-native pulumi, but when i try to configure a private endpoint i am not able to find any option to set up the virtual network that i want, any idea how to accomplish this?
  • f

    future-window-78560

    05/09/2022, 4:55 AM
    Hey Team How can we enable IP forwarding for GCE ? and assign network interface card = gVNIC to GCE through pulumi ??
    m
    • 2
    • 1
  • m

    microscopic-cpu-38113

    05/09/2022, 5:00 AM
    hi everyone, does anyone here use the managed Pulumi service? We'd like to know what does the managed service have to offer to decide if we should subscribe on it, please reply in thread if you can share more with me, thanks!
    e
    f
    b
    • 4
    • 5
  • a

    adorable-gpu-98268

    05/09/2022, 10:34 AM
    Hi, this might be an easy question: How do I get the pulumi “organization”? I need to refer to it in stack references. The documentation sets it via a config value: https://www.pulumi.com/learn/building-with-pulumi/stack-references/, however I thought there might be an easier way, as it should be available dynamically.
  • a

    adorable-gpu-98268

    05/09/2022, 11:37 AM
    Can I set the AWS ECS account settings using pulumi? Specifically I want to enable Dual-stack VPC IPv6:
    dualStackIPv6
    I can set this using the aws cli, but I’ve a multi-account setup configured with pulumi and would need to set that for every account.
    • 1
    • 4
Powered by Linen
Title
a

adorable-gpu-98268

05/09/2022, 11:37 AM
Can I set the AWS ECS account settings using pulumi? Specifically I want to enable Dual-stack VPC IPv6:
dualStackIPv6
I can set this using the aws cli, but I’ve a multi-account setup configured with pulumi and would need to set that for every account.
It seems pulumi only supports
containerInsights
of the settings listed at that page.
const cluster = new aws.ecs.Cluster("cluster", {
    settings: [{
        name: "dualStackIPv6",
        value: "enabled"
    }]
})
fails with:
aws:ecs:Cluster (cluster):
    error: aws:ecs/cluster:Cluster resource 'cluster' has a problem: expected setting.0.name to be one of [containerInsights], got dualStackIPv6. Examine values at 'Cluster.Settings'.
I’d like to invoke this command using pulumi: https://docs.aws.amazon.com/cli/latest/reference/ecs/put-account-setting-default.html
aws ecs put-account-setting-default --name dualStackIPv6 --value enabled --region my-region
So I did find: https://www.pulumi.com/registry/packages/aws/api-docs/ecs/accountsettingdefault/ but it also doesn’t support
dualStackIPv6
View count: 14