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

    red-scooter-62880

    07/26/2022, 12:02 PM
    Hi. Do you know how to get the deployment token from Azure with Pulumi? I need this token to get access to the app from CI pipeline
  • i

    icy-pilot-31118

    07/26/2022, 12:58 PM
    Reposting for additional help: https://pulumi-community.slack.com/archives/CRH5ENVDX/p1658800319880859
    👀 1
  • d

    damp-honey-93158

    07/26/2022, 2:00 PM
    gooood afternoon! I have two machines running pulumi up. One on machine, we get to the preview prompt - on the second machine the pulumi up command hangs forever just after the compile (C#) finishes. Where would i start looking to dig into this in more detail? It clearly seems to be an environment issue ... (the stack uses our own Key Vault for secrets)
    b
    e
    • 3
    • 3
  • c

    crooked-laptop-67565

    07/26/2022, 7:59 PM
    Hi all, the docs for tag policies point to what looks an unmaintained personal repo. In particular there's a hardcoded list of AWS resources that can be tagged, which hasn't been updated for 2 years. Is this documentation still current, and is this still the best way to go about it?
  • f

    fancy-shoe-18611

    07/26/2022, 8:46 PM
    Hi all, I’m working on a pulumi project in ClojureScript. the tldr is that in order to get a repl going to do live coding, I need to have a runtime for the output js. I have tried
    node -e "require('./compiled-js')"
    and i get
    Error: Program run without the Pulumi engine available; re-run using the pulumi CLI
    then when i run
    pulumi watch compiled-js
    i get
    pulumi watch is not currently supported on darwin/arm64
    c
    e
    • 3
    • 8
  • m

    most-napkin-6669

    07/27/2022, 8:06 AM
    Hey! i recently started working with Pulumi on AWS with python I'm trying to deploy tasks to ECS using Pulumi but i couldn't find anywhere how it can be done.. I am able to create ECS cluster and task-definition, but for some reason there is no option to deploy it with Task type(instead Service type) Is there any workaround to get past that? Or perhaps any future plans?
    • 1
    • 1
  • m

    magnificent-address-3498

    07/27/2022, 8:15 AM
    Hi, I am using Pulumi with AWS KMS for encrypting secrets. In one project Pulumi insists on asking me for a secrets passphrase even though all stacks use AWS KMS. Has anybody encoutered this as well and has solved it? (Currently using pulumi v3.36.0)
    e
    • 2
    • 2
  • r

    red-scooter-62880

    07/27/2022, 9:01 AM
    How can I change Output<String> to string in C#?
    e
    • 2
    • 17
  • r

    red-scooter-62880

    07/27/2022, 9:12 AM
    How do you generate dynamic names for each resource based on a similar pattern as this: <resource type>-<product>-<environment>-<region> like: func-todosaas-dev-ne
    e
    • 2
    • 6
  • s

    shy-rocket-89655

    07/27/2022, 10:41 AM
    Hi , I am trying to use Pulumi for a specific use case , I am not sure , if it can cater it or not so please if someone can let me know it will be a great help. So basically we are trying to handover the responsibility of hitting all cloud APIs ( AWS , Azure , GCP ) like getting ec2 instances , creating new EC2 instance , or getting ec2 utilisation and many more such things that are supported by SDKs , to our cloud / platform team , who are not very good with coding languages and API hitting and parsing etc. So can Pulumi make it easier for them to do all the stuff a sdk does and then can send the JSON they got to other teams to use. Basically , can Pulumi get all the data an SDK can get ?
    e
    • 2
    • 2
  • c

    cuddly-magician-97620

    07/27/2022, 2:07 PM
    Hi All, Setting up Reshift Cluster like this:
    const redshiftCluster = new aws.redshift.Cluster(`redshift-cluster-${stack}`, {
        clusterSubnetGroupName: redshiftSubnetGroup.id,
        clusterIdentifier: `redshift-cluster-${stack}`,
        clusterType: "multi-node",
        numberOfNodes: Number(redshiftConfig.require("number-of-nodes")),
        encrypted: true,
        logging: {
            enable: true,
        },
        publiclyAccessible: false,
        enhancedVpcRouting: true,
        databaseName: redshiftConfig.require("database-name"),
        masterPassword: redshiftConfig.require("master-password"),
        masterUsername: redshiftConfig.require("master-username"),
        nodeType: redshiftConfig.require("node-type"),
        skipFinalSnapshot: true,
        tags: {
            Pulumi: "True",
            env: stack,
        },
    });
    the
    logging
    block is giving me a hard time. AWS recommends Cloudwatch, and Pulumi docs say I should be able to use it. But Pulumi does not like this:
    logging: {
            enable: true,
            logDestinationType: "cloudwatch",
        },
    Pulumi v3.34.1 pulumi/aws 4.29.0 What am I doing wrong? Could it be that my aws provider is too old?
  • r

    red-scooter-62880

    07/27/2022, 2:43 PM
    How can I delete all resources and all state for all resources? Because deployment failed I need to delete every resource manually
    g
    • 2
    • 4
  • b

    busy-helicopter-97413

    07/27/2022, 4:53 PM
    X-posting here but tldr is this error below consistent with using the wrong version of getAMI? (deprecated vs non deprecated)
  • a

    ancient-night-64850

    07/27/2022, 5:04 PM
    Looks like a recent Pulumi update to version 3.37.0 broke functionality when using the CLI in Azure pipelines. Reverting to the previous version 3.36.0 worked error: Pulumi installation failed with error 'Directory does not exist: D:\a\_temp\2ee57406-8f66-477a-9f08-ca79696bd086\pulumi\bin
    f
    e
    • 3
    • 14
  • f

    flat-umbrella-41594

    07/28/2022, 6:19 AM
    How do you assign a namespace to a pod inside a deployment in Pulumi? It always resorts to default, I tried to set the namespace name in metadata parameter of PodTemplateSpecArgs
  • c

    colossal-vr-62639

    07/28/2022, 6:46 AM
    I am trying to install a pulumi resource provider from a file but it seems that regardless of what I do, it's not accepting the file via the
    file
    parameter. e.g.
    pulumi plugin install resource sample-resource-provider --file sample-resource-provider.tar.gz
    
    error: 404 HTTP error fetching plugin from <https://api.github.com/repos/pgermishuys/sample-resource-provider/releases/latest>. If this is a private GitHub repository, try providing a token via the GITHUB_TOKEN environment variable. See: <https://github.com/settings/tokens>
    e
    • 2
    • 3
  • c

    colossal-vr-62639

    07/28/2022, 8:29 AM
    When building your own provider, what's the link between the Provider and the SDK? More explicitly, when I run a pulumi action (e.g.
    pulumi preview
    ). Pulumi knows to download and install the appropriate provider for the SDKs i'm using in my Pulumi project.
    l
    • 2
    • 22
  • r

    red-scooter-62880

    07/28/2022, 10:36 AM
    Have you experienced this error before, I get it when creating metric alert rule in azure monitor. ─ azure-native:insights:MetricAlert alert creating failed error: autorest/azure: Service returned an error. Status=400 Code="BadRequest" Message="Criteria field 'odata.type' is missing. Activity ID: 0e792dc4-7837-4fe2-9468-c9dddef9e3e2."
    e
    • 2
    • 2
  • r

    red-scooter-62880

    07/28/2022, 2:40 PM
    Why do I get this error when deploying API Management in Azure with Pulumi:
    error: Code="InvalidParameters" Message="Invalid parameter: Cannot have two services in the same location 'East US'."
    e
    • 2
    • 5
  • r

    red-scooter-62880

    07/28/2022, 3:02 PM
    When you try to manually delete a resource group in Azure that was created with pulumi do you get this error sometimes:
    "provisioningState": "Deleting"
    e
    • 2
    • 2
  • b

    big-account-56668

    07/28/2022, 3:17 PM
    We've just had Pulumi wanting to recreate a slew of resources seemingly out of the blue because it has decided to change some automatically generated attributes i.e. the hash that it automatically adds to say, a Cloud Run service name, is now different so it wants to replace the resource. The types of resources are varied and span three providers, AWS, GCP, GCP native. This happened just after applying changes to the stack, immediately after which it would not diff, but slightly later on the order of minutes/hour, it suddenly diffs. There are no known other factors that I can think of that would've caused this, and it's happened twice in short succession. Replacing the resources would cause downtime in our production system. First time we were able to accept the downtime as part of scheduled maintenance, but now we need to figure out what is going on. Does anyone have any suggestions on how to debug this further?
    e
    • 2
    • 36
  • f

    few-yacht-11623

    07/28/2022, 4:58 PM
    can you use
    pulumi import
    with the
    aws-native
    provider? I tried
    pulumi import aws-native:s3/bucket:Bucket my-bucket my-bucket
    and I get
    Resource type aws-native:s3/bucket:Bucket not found
    Not sure how to find the correct name for these
    e
    • 2
    • 1
  • l

    limited-rainbow-51650

    07/28/2022, 5:08 PM
    Hello everyone, we were lagging a bit, but the Public Pulumi Roadmap has been updated with our scope for Q3 and Q4 of this year: https://github.com/orgs/pulumi/projects/44
    🙏 1
  • s

    stocky-petabyte-29883

    07/28/2022, 6:14 PM
    Hey Working with pulumi secrets, can we have a configuration object with all secrets or a mixture of secrets and plain text, if so how do we access the object programmatically?
    b
    • 2
    • 3
  • r

    ripe-ram-38792

    07/28/2022, 9:32 PM
    Hello, I tried setting up a schedules for ComputeInstance Compute. But its does not looks like it is possible as per Pulumi docs However it is doable with the ARM template code. https://docs.microsoft.com/en-us/azure/machine-learning/how-to-create-manage-compute-instance?tabs=python#create-a-schedule-w[…]rce-manager-template Any idea, how we can setup schedules for AZML ComputeInstances
  • t

    thankful-controller-17230

    07/28/2022, 10:15 PM
    Anybody know if
    pulumi policy
    is going to be supported for local execution?
    error: File state backend does not support resource policy
    b
    • 2
    • 17
  • r

    red-scooter-62880

    07/29/2022, 12:44 PM
    Can I disable soft delete of API Management with Pulumi?
  • c

    colossal-vr-62639

    07/29/2022, 12:50 PM
    Is there anyway to write a Pulumi provider in any other language than Golang?
    e
    • 2
    • 5
  • m

    melodic-car-16900

    07/29/2022, 1:15 PM
    Can anyone throw any light as to why I've started receiving this error during my CI runs?
    panic: runtime error: invalid memory address or nil pointer dereference
    
    [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0xd38807]
    
    error: Preview failed: transport is closing
    goroutine 52 [running]:
    
    <http://github.com/digitalocean/terraform-provider-digitalocean/digitalocean.flattenCredentials({0xc0009ac920|github.com/digitalocean/terraform-provider-digitalocean/digitalocean.flattenCredentials({0xc0009ac920>, 0x1b}, {0xc000995678, 0x4}, 0x0)
    
    	/home/runner/go/pkg/mod/github.com/pulumi/terraform-provider-digitalocean@v1.19.1-0.20220406174106-35d0a4be61b3/digitalocean/resource_digitalocean_kubernetes_cluster.go:642 +0x47
    
    <http://github.com/digitalocean/terraform-provider-digitalocean/digitalocean.digitaloceanKubernetesClusterRead(0xc0004ecf00|github.com/digitalocean/terraform-provider-digitalocean/digitalocean.digitaloceanKubernetesClusterRead(0xc0004ecf00>, 0xc0005da000, 0xc0000b4000)
    
    	/home/runner/go/pkg/mod/github.com/pulumi/terraform-provider-digitalocean@v1.19.1-0.20220406174106-35d0a4be61b3/digitalocean/resource_digitalocean_kubernetes_cluster.go:383 +0xaf3
    
    <http://github.com/digitalocean/terraform-provider-digitalocean/digitalocean.resourceDigitalOceanKubernetesClusterRead({0x176b1f8|github.com/digitalocean/terraform-provider-digitalocean/digitalocean.resourceDigitalOceanKubernetesClusterRead({0x176b1f8>, 0xc0000b4008}, 0xc000117d80, {0x1277f60, 0xc000b2c840})
    
    	/home/runner/go/pkg/mod/github.com/pulumi/terraform-provider-digitalocean@v1.19.1-0.20220406174106-35d0a4be61b3/digitalocean/resource_digitalocean_kubernetes_cluster.go:311 +0x1ea
    
    <http://github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xc0003ed140|github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xc0003ed140>, {0x176b1f8, 0xc0000b4008}, 0x24, {0x1277f60, 0xc000b2c840})
    
    	/home/runner/go/pkg/mod/github.com/pulumi/terraform-plugin-sdk/v2@v2.0.0-20201218231525-9cca98608a5e/helper/schema/resource.go:297 +0x1a3
    
    <http://github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc0003ed140|github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc0003ed140>, {0x176b1f8, 0xc0000b4008}, 0xc0009be540, {0x1277f60, 0xc000b2c840})
    
    	/home/runner/go/pkg/mod/github.com/pulumi/terraform-plugin-sdk/v2@v2.0.0-20201218231525-9cca98608a5e/helper/schema/resource.go:564 +0x35b
    
    <http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2.v2Provider.Refresh({0xc0006a3870}|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2.v2Provider.Refresh({0xc0006a3870}>, {0x1440b28, 0x1f}, {0x176c0a0, 0xc000850f40})
    
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.20.0/pkg/tfshim/sdk-v2/provider.go:125 +0x155
    
    <http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.(*Provider).Read(0xc00036ab40|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.(*Provider).Read(0xc00036ab40>, {0x176b268, 0xc00062c540}, 0xc0004c45a0)
    
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.20.0/pkg/tfbridge/provider.go:941 +0x651
    
    <http://github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Read_Handler.func1({0x176b268|github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Read_Handler.func1({0x176b268>, 0xc00062c540}, {0x139cfe0, 0xc0004c45a0})
    
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.27.0/proto/go/provider.pb.go:2647 +0x7b
    
    <http://github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1({0x176b268|github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1({0x176b268>, 0xc00062c4e0}, {0x139cfe0, 0xc0004c45a0}, 0xc000b118e0, 0xc0006fd740)
    
    	/home/runner/go/pkg/mod/github.com/grpc-ecosystem/grpc-opentracing@v0.0.0-20180507213350-8e809c8a8645/go/otgrpc/server.go:57 +0x425
    
    <http://github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Read_Handler({0x13de460|github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Read_Handler({0x13de460>, 0xc00036ab40}, {0x176b268, 0xc00062c4e0}, 0xc00007cb40, 0xc0008376a0)
    
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.27.0/proto/go/provider.pb.go:2649 +0x138
    
    <http://google.golang.org/grpc.(*Server).processUnaryRPC(0xc000652700|google.golang.org/grpc.(*Server).processUnaryRPC(0xc000652700>, {0x1782e38, 0xc0002d0780}, 0xc0007c9e60, 0xc000358de0, 0x2199a98, 0x0)
    
    	/home/runner/go/pkg/mod/google.golang.org/grpc@v1.37.0/server.go:1217 +0xc8f
    
    <http://google.golang.org/grpc.(*Server).handleStream(0xc000652700|google.golang.org/grpc.(*Server).handleStream(0xc000652700>, {0x1782e38, 0xc0002d0780}, 0xc0007c9e60, 0x0)
    
    	/home/runner/go/pkg/mod/google.golang.org/grpc@v1.37.0/server.go:1540 +0xa2a
    
    <http://google.golang.org/grpc.(*Server).serveStreams.func1.2()|google.golang.org/grpc.(*Server).serveStreams.func1.2()>
    
    	/home/runner/go/pkg/mod/google.golang.org/grpc@v1.37.0/server.go:878 +0x98
    
    created by <http://google.golang.org/grpc.(*Server).serveStreams.func1|google.golang.org/grpc.(*Server).serveStreams.func1>
    
    	/home/runner/go/pkg/mod/google.golang.org/grpc@v1.37.0/server.go:876 +0x294
    e
    • 2
    • 3
  • s

    sparse-intern-71089

    07/29/2022, 2:24 PM
    This message was deleted.
    e
    f
    • 3
    • 3
Powered by Linen
Title
s

sparse-intern-71089

07/29/2022, 2:24 PM
This message was deleted.
e

echoing-dinner-19531

07/29/2022, 2:58 PM
What's your "Pulumi.yaml" file look like?
f

freezing-window-60195

07/29/2022, 3:01 PM
Thanks Fraser, looked like doing a repair of my drive resolved this.
e

echoing-dinner-19531

07/29/2022, 3:02 PM
👍
View count: 2