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

    icy-jordan-58549

    01/29/2021, 1:39 PM
    is there a way to limit amount of
    docker build
    processes? (I have 4 of them already and it’s keep growing)
    • 1
    • 2
  • o

    orange-holiday-79016

    01/29/2021, 4:16 PM
    Hi all, I’m trying to use Pulumi to install the
    ingress-nginx
    helm chart. It gets stuck because the it’s waiting for pods to get ready before moving on, but the pods depend on secrets created by jobs, which are defined in the same chart. These jobs aren’t being installed/applied, I guess because Pulumi is waiting on the other resources to completely deploy succesfully. Does anyone have a solution how to solve this or work around it?
    b
    • 2
    • 8
  • l

    late-energy-66663

    01/29/2021, 8:37 PM
    Hi all, Is there a way to change the backend Pulumi code where it starts to store the state inside some DB instead of local file? without us having to register for cloud service?
    a
    m
    • 3
    • 6
  • n

    nice-airport-15607

    01/29/2021, 10:54 PM
    not sure how the docs are built for pulumi (aws), but this page https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/aws/types/output/#ProjectSourceGitSubmodulesConfig is killing my browser… 😞
    ➕ 2
    c
    k
    • 3
    • 3
  • c

    colossal-rainbow-39841

    01/30/2021, 6:09 AM
    Is it possible to define the parallelism = 1 for only a specific ComponentResource? I understand i can do it via the cli pulumi up -p 1 but I only need it for a specific Resource.
    b
    • 2
    • 1
  • c

    cuddly-leather-18640

    01/30/2021, 4:38 PM
    how can I concat extra values to an Output declared just like https://github.com/pulumi/examples/blob/master/aws-ts-airflow/index.ts#L61? I have some common environment variables and some unique environment variables. I’ve tried playing around with
    pulumi.all
    and
    environment.apply
    but haven’t been able to figure out how to do something like
    environment: environment + {name: "ANOTHER_ENV", value: "value"}
    ?
    p
    • 2
    • 3
  • w

    white-addition-55138

    01/30/2021, 10:30 PM
    I'm provisioning instances (DigitalOcean droplets if it matters) using a cloudinit YAML config. Pulumi exits (well, considers the droplet provisioned) before my commands in
    runcmd
    are done. What I'd like to do is wait until these are complete and then take a snapshot. My idea is to
    touch
    a file as the last command and have something in Pulumi poll & wait for that file to exist - only then should the droplet be considered provisioned. Is this possible - or am I off track? Is Pulumi a good fit here?
    b
    • 2
    • 8
  • c

    careful-fountain-56438

    01/31/2021, 10:56 AM
    how can I integrate Digital Ocean Kubernetes and Container Registry using Pulumi? I’m not clear on how to do it using this tutorial https://www.digitalocean.com/docs/container-registry/how-to/use-registry-docker-kubernetes/
    b
    • 2
    • 3
  • v

    victorious-machine-51951

    01/31/2021, 9:48 PM
    We are planning to use Infrastructructue as code at our company. The python developers suggested Pulumi. Are there more features in the paid version compared to free version?
    l
    • 2
    • 3
  • b

    busy-energy-48964

    02/01/2021, 1:48 AM
    Hi, I am using the Postgres plugin with dotnet. I have an existing role and changed the provider of the role definition. Pulumi detects this as change and tries to generate a new unique name. I tried to prevent this with IgnoreChanges ("provider"), however, it still detects a change. Any suggestions?
    b
    • 2
    • 9
  • l

    lemon-tomato-90786

    02/01/2021, 2:23 PM
    Hi, I'm trying to use the getPolicyDefinition function https://www.pulumi.com/docs/reference/pkg/azure-nextgen/authorization/getpolicydefinition/ , but I don't see what could possibly be the value of the policyDefinitionName argument For example for the built-in policy "Allowed location" (https://github.com/Azure/azure-policy/blob/master/built-in-policies/policyDefinitions/General/AllowedLocations_Deny.json) I tried to use the value of the field displayName or name but with no luck (Error : the policy definition 'Allowed locations' could not be found.) Previously I was using with no problem the function from the azure package https://www.pulumi.com/docs/reference/pkg/azure/policy/getpolicydefintion/ Any idea what could be the value of the policyDefinitionName argument ?
  • s

    straight-librarian-43739

    02/01/2021, 3:19 PM
    It does not seem possible to me to import a
    aws.iam.UserLoginProfile
    . There’s a chicken-and-egg situation with the
    pgpKey
    argument not existing on the resource but also not being creatable on the imported resource, and the suggested workaround (
    ignoreChanges
    ) does not seem to work for me. Is there a recommended way of doing this?
    🙏 2
    🎉 1
  • l

    lemon-tomato-90786

    02/01/2021, 4:40 PM
    Hi Another question regarding the policies with Azure Nextgen : I can't see any option to set the scope for a policyset definition or a policy definition like I used in the Azure package ( https://www.pulumi.com/docs/reference/pkg/azure/policy/policysetdefinition/#managementgroupname_nodejs), is there an other way to specify the scope that I missed or do I need to open a feature request ? References : https://www.pulumi.com/docs/reference/pkg/azure-nextgen/authorization/policysetdefinition/ https://www.pulumi.com/docs/reference/pkg/azure-nextgen/authorization/policydefinition/
  • b

    billowy-nightfall-59212

    02/01/2021, 9:46 PM
    Hi, Trying to export from TF to Pulumi, ran into this https://github.com/pulumi/tf2pulumi/issues/226 . What am I doing wrong?
    b
    • 2
    • 3
  • b

    brave-angle-33257

    02/01/2021, 10:07 PM
    Threaded usage question -
    l
    l
    • 3
    • 48
  • l

    lemon-machine-35564

    02/01/2021, 10:57 PM
    Hey y’all! Quick question regarding API Gateway and Crosswalk. We may want to create the API Gateway in a separate project and then use a StackReference to add routes/methods/etc. to it. Is it possible to do with Crosswalk, or is this a good place to use the main
    aws
    provider and make the resources ourselves?
    w
    • 2
    • 1
  • b

    best-belgium-60726

    02/02/2021, 12:11 AM
    AWS kms.Alias won't work no matter what i try
    b
    l
    • 3
    • 26
  • d

    delightful-jordan-36077

    02/02/2021, 2:20 AM
    Hello is there any user certification for Pulumi, like in AWS you have certification courses, I would be interested in doing such a thing with this
  • d

    delightful-jordan-36077

    02/02/2021, 2:21 AM
    One problem with Pulumi is convincing management its a good idea, they also will wonder if I am good enough to use Pulumi
    b
    • 2
    • 1
  • d

    delightful-jordan-36077

    02/02/2021, 2:23 AM
    For example I collect certifications here www.philhk.com
  • p

    purple-appointment-43233

    02/02/2021, 4:10 AM
    Hello all, I’m trying to figure out how to integrate Pulumi with Docker. I have existing build infrastructure that builds images locally, and I need Pulumi to create an AWS ECR for the project and push the local image into the registry. All I can find is the
    buildAndPublish
    command, but not just a
    Publish
    . Any thoughts on how I can do this?
    b
    • 2
    • 2
  • k

    kind-mechanic-53546

    02/02/2021, 7:09 AM
    I've targeted a resource for selective destroy using
    pulumi destroy -t {urn}
    which destroyed the resource but did not destroy dependent resources and errored with a stack trace and
    TypeError: Cannot read property 'hasOwnProperty' of undefined
    Q: Is the -t flag broken? I managed repair the stack by doing and export > import and removing references to the missing urn
  • a

    adorable-musician-67025

    02/02/2021, 9:50 AM
    Hey, is there any waiter function in Pulumi which would watch for some resource availability so I can proceed further with my custom provider? As an example: DCDN on Alibaba Cloud has to be in "online" state to allow configuration updates via API, which I do cover by using custom providers.
    b
    m
    • 3
    • 8
  • b

    bulky-analyst-69312

    02/02/2021, 2:52 PM
    Hey all, just started using Pulumi today. I'm trying to import an existing GCP instance using the following
    {
      "resources": [
        {
          "type": "gcp:compute/instance:Instance",
          "name": "bastion-host",
          "id": "bastion-host",
          "zone": "europe-west2-c"
        }
      ]
    }
    Alongside
    pulumi import -f resources.json
    But I receive the following error:
    error: gcp:compute/instance:Instance resource 'bastion-host' has a problem: ConflictsWith: "boot_disk.0.disk_encryption_key_raw": conflicts with boot_disk.0.kms_key_self_link
        error: gcp:compute/instance:Instance resource 'bastion-host' has a problem: Computed attribute cannot be set
        error: gcp:compute/instance:Instance resource 'bastion-host' has a problem: ConflictsWith: "boot_disk.0.kms_key_self_link": conflicts with boot_disk.0.disk_encryption_key_raw
        error: gcp:compute/instance:Instance resource 'bastion-host' has a problem: Computed attribute cannot be set
        error: Preview failed: one or more inputs failed to validate
    I can't figure out what I'm doing wrong, does anyone here know?
    g
    • 2
    • 1
  • e

    elegant-island-39916

    02/02/2021, 5:26 PM
    hi, the
    pulumi up
    plan suggested some changed resources would be updated, i clicked yes, then it deleted the resources 😕 some errors came up in the diagnostics part after my whole deployment was deleted:
    W0202 17:21:42.280499   83251 transport.go:260] Unable to cancel request for *exec.roundTripper
        E0202 17:21:42.280495   83251 request.go:975] Unexpected error when reading response body: context deadline exceeded (Client.Timeout or context cancellation while reading body)
    g
    • 2
    • 4
  • v

    victorious-sugar-42620

    02/02/2021, 9:39 PM
    Hey guys, simple question for you guys. I have a docker-compose.yml and I want to turn the services described there into images, push to ECR and use ECS... The only problem is how do I do that? Do I need multiple 
    Dockerfile
     's for each service? I have no Idea how to do this.
    b
    b
    • 3
    • 9
  • v

    victorious-sugar-42620

    02/02/2021, 9:39 PM
    I mean, imagine the MySQL image, I can pass the url and pulumi will push it, but I also want to send some files to the 
    docker-entrypoint-initdb.d
     . I only know how to do this with docker compose, but not with the Pulumi solution. Can someone point something so I can read about it?
    a
    • 2
    • 2
  • l

    lemon-monkey-228

    02/03/2021, 11:15 AM
    Howdy! Joined a week or so ago and forgot to say hi!
  • l

    lemon-monkey-228

    02/03/2021, 11:15 AM
    Really enjoying using Pulumi for Kubernetes (in TypeScript)
    😛artyk8s: 1
    🎉 2
    b
    • 2
    • 1
  • l

    lemon-monkey-228

    02/03/2021, 11:15 AM
    So much better than Helm; changed my world 😂
Powered by Linen
Title
l

lemon-monkey-228

02/03/2021, 11:15 AM
So much better than Helm; changed my world 😂
View count: 1