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

    billions-hospital-77217

    12/21/2021, 10:53 PM
    Hey, is there a way to pass in Autoscaling Groups in EKS Node Groups? AWS auto creates an autoscaling group for the Node Group I make, but there's no way to pass in the autoscaling group in order to be able to specify the autoscaling behavior
  • l

    lively-student-98057

    12/21/2021, 11:18 PM
    Hi y’all! Want to use the PostgreSQL provider to create and set up multiple DBs in a single stack. However, the docs say that I need to specify either one set of environment variables or one set of pulumi config values. Does anyone know a strategy that would allow me to use a different set of values for each DB that my stack intends to create? Thanks!
    • 1
    • 1
  • b

    busy-magazine-6225

    12/22/2021, 4:50 AM
    I’d like to create a custom component resource that on creation performs some api calls and builds a thing on a website. If the calls are successful I’d like to publish an arbitrary resource in the pulumi state to track this resource. On pulumi destroy, or on destroy of the specific component resource, I’d like specific actions to be performed (An API call is executed to delete the resource, the arbitrary resource is deleted from pulumi state). Can anyone link me to some docs around handling the lifecycle of a custom component resource that’s built without using an already published provider? Lets say the class is called ClusterConnection, and it integrates my k8s cluster with a ci cd system by calling the cicd service’s API. I would have a clusterconnection resource in my pulumi state, and on destruction of that pulumi stack or resource it would perform a custom api call to delete the object and then it would remove the object from state
    l
    • 2
    • 3
  • d

    dry-answer-66872

    12/22/2021, 6:28 AM
    Hi Team, https://www.pulumi.com/registry/packages/aws/api-docs/s3control/bucketlifecycleconfiguration/ when I try with this example, I am getting _*NameError: name 'aws_s3control_bucket' is not defined*_ Could anyone help in this regard? I am assuming here ''example' as - Lifecycle Name
    bucket=aws_s3control_bucket["example"]["arn"],   --> Bucket ARN
    l
    • 2
    • 6
  • v

    victorious-cat-95191

    12/22/2021, 4:40 PM
    Hi all, I'm upgrading from v3.5.0 to v4.1.0 of the Cloudflare provider (https://www.pulumi.com/registry/packages/cloudflare/). This is resulting in a bunch of replacements because the resource URN changes:
    [provider: urn:pulumi:cloudflare-dns-secondary-domains::cloudflare-dns-secondary-domains::pulumi:providers:cloudflare::default_3_0_0::3a22f721-09b3-4061-965f-6d1a97f600f4 => urn:pulumi:cloudflare-dns-secondary-domains::cloudflare-d urn:pulumi:cloudflare-dns-secondary-domains::cloudflare-dns-secondary-domains::pulumi:providers:cloudflare::default_4_0_0::output<string>]
    Is this expected behaviour (because there's a breaking change in the upstream TF provider)? What's the best way of dealing with this?
    p
    b
    • 3
    • 12
  • w

    wet-noon-14291

    12/22/2021, 8:29 PM
    Is there a good reason to why
    pulumi up
    doesn't run
    init
    if the stack doesn't exists?
    ✅ 1
    r
    • 2
    • 2
  • c

    careful-vase-44898

    12/22/2021, 9:19 PM
    Hello 🙂. I'm considering storing SSL certs as Pulumi secrets. Is this a very stupid idea?
    l
    b
    • 3
    • 21
  • e

    elegant-kangaroo-93165

    12/23/2021, 4:40 AM
    Hi, I'm new to Pulumi, so this might be a terribly stupid question. I've created a project with a stack that creates ONE EC2 instance which are configured based on a couple of configuration settings. Now, I want to have (I think) another project (or stack?) that can launch the first one 5 times with different configurations. Is this possible? Am I even thinking about this right?
    l
    • 2
    • 3
  • w

    witty-scientist-26554

    12/23/2021, 5:22 AM
    I'm trying to create simple AKS cluster provisioning, however I'm getting below error. I have attached the go script... Please let me know what was the issue here.
    aks cluster provisoning-pulumi-go.txt
  • w

    witty-scientist-26554

    12/23/2021, 5:23 AM
    Diagnostics: pulumi😛ulumi:Stack (go-pulumi-aks-qa): # go-pulumi ./main.go:18:27: undefined: containerservice.NewKubernetsCluster ./main.go:18:83: undefined: containerservice.KubernetsClusterArgs error: an unhandled error occurred: program exited with non-zero exit code: 2
  • f

    future-daybreak-16512

    12/23/2021, 5:23 AM
    Hi Team, How to difference between Pulumi create and update stack action? I have a use-case where certain condition will be applied on code while stack update only (not stack create action)
  • g

    great-sunset-355

    12/23/2021, 10:23 AM
    Does pulumi handle resource name restriction? • automatically • is this based on the provider • do I need to write my own code?
    aws:lb/targetGroup:TargetGroup resource 'abc-app-backend-staging-fg-alb-tg' has a problem: "name" cannot be longer than 32 characters. Examine values at 'TargetGroup.Name'.
    b
    b
    • 3
    • 7
  • s

    steep-beach-52652

    12/23/2021, 11:47 AM
    Getting this error on pulumi up
    Diagnostics:
      aws:ecs:TaskDefinition (test-task):
        error: 1 error occurred:
        	* ClientException: Too many concurrent attempts to create a new revision of the specified family.
     
      pulumi:pulumi:Stack (dev-dev):
        error: update failed
  • s

    square-coat-62279

    12/23/2021, 3:16 PM
    hi all, I was trying to create IAP brand and client, strangely, the first attempt creating the brand actually throws an error saying the Support Email was invalid; on running pulumi up again, it then shows the entity has already exists with unconfiguredapp@google.com as the support Email. I retrieve the brand details using gcloud CLI and hard code it in my code and tried to create an IAP client using the brand ID, it shows the following error:
    error: 1 error occurred:
            * Error creating Client: googleapi: Error 400: Precondition check failed.
    I was running pulumi on my local, did I miss anything?
    c
    • 2
    • 1
  • s

    square-coat-62279

    12/23/2021, 3:20 PM
    Is there integration testing example for Typescript? I would like to write a test case to test a file upload function of my application after it was deployed, basically the test depends on 2 parameters: 1) the url of the application and 2) application authentication key which is generated on the fly in Pulumi.
  • h

    hallowed-horse-57635

    12/23/2021, 5:19 PM
    Question regarding automation API and support for policy: 1. Can we use a policy with automation api (not defined at the org level) 2. Do we still need an enterprise edition for using policies with automation API's?
  • h

    high-grass-3103

    12/24/2021, 7:53 PM
    Is there a way to reuse containers definition between a local docker and aws ecs? Or maybe an easier setup: local minicube and EKS?
  • q

    quiet-wolf-18467

    12/24/2021, 8:17 PM
    Want to clean up your GitOps pipelines? Sprinkle on some Pulumi https://www.pulumi.com/blog/improving-gitops-with-pulumi-operator/
  • b

    brash-painting-89833

    12/25/2021, 11:23 PM
    hello can anybody help me on passing a array/list to
    ChartArgs.Values
    using golang? And get this values from config?
  • b

    brash-painting-89833

    12/25/2021, 11:25 PM
    _, err = helm.NewChart(ctx, string(z), helm.ChartArgs{
    				Path: pulumi.String("./chart"),
    				Values: pulumi.Map{
    					"some": pulumi.Map{
    						"enabled": pulumi.Bool(false),
    					},
    					"someb": pulumi.Map{
    						"enabled": pulumi.Bool(true),
    						"loadBalancer": pulumi.Map{
    							"enabled":   pulumi.Bool(true),
    							"addresses": THISaddresses,
    						
    				},
    			}, pulumi.Provider(p))
    THISaddresses
    I want it from the config =/
    b
    • 2
    • 7
  • b

    brash-painting-89833

    12/25/2021, 11:28 PM
    When importing as array i get this:
    json: cannot unmarshal string into Go value of type pulumi.Input
  • e

    echoing-activity-32278

    12/27/2021, 10:46 AM
    Hi. The cluster has already been deployed with
    helm
    , now I am switching to pulumi, I am seeing this
    resource already exists
    error:
    kubernetes:<http://rbac.authorization.k8s.io/v1:RoleBinding|rbac.authorization.k8s.io/v1:RoleBinding> (kube-system/example-cert-manager-qa:leaderelection):
        error: resource kube-system/example-cert-manager-qa:leaderelection was not successfully created by the Kubernetes API server : <http://rolebindings.rbac.authorization.k8s.io|rolebindings.rbac.authorization.k8s.io> "example-cert-manager-qa:leaderelection" already exists
    b
    • 2
    • 4
  • i

    important-vegetable-39003

    12/27/2021, 1:18 PM
    Hi folks, does it matter in what order you define resources in your code? Or does Pulumi intelligently select the right order?
    e
    • 2
    • 11
  • h

    hallowed-intern-40532

    12/27/2021, 9:07 PM
    Hi! Could you please help to clarify 2 questions about Pulumi AWS EKS cluster deployment: - Are any reasons to use AWS EKS module from AWS package comparing to Pulumi.Eks package? - What is the best practice to configure custom CNI like Calico/Cilium instead of VPC Cni?
    b
    • 2
    • 1
  • e

    echoing-activity-32278

    12/28/2021, 12:48 PM
    Can I specify the default namespace for k8s resources?
    q
    • 2
    • 2
  • l

    limited-army-96747

    12/28/2021, 4:24 PM
    Hey guys, Is there a way to set iam permission to an EKS cluster once the cluster gets created?
  • m

    most-lighter-95902

    12/29/2021, 12:06 AM
    Hi, is there a way catch StackReference errors (i.e. if it doesn’t exist, handle the error rather than interrupting the deployment process)?
    b
    • 2
    • 3
  • m

    most-lighter-95902

    12/29/2021, 12:06 AM
    This doesn’t work:
  • m

    most-lighter-95902

    12/29/2021, 12:06 AM
    let dbStagingStackRef
      try {
        dbStagingStackRef = new pulumi.StackReference(`${organization}/${project}/db-staging`)
      } catch (err) {
        console.log('dbStagingStackRef err', err)
      }
  • m

    most-lighter-95902

    12/29/2021, 12:07 AM
    Throws with:
    error: unknown stack "<organization>/<project>/db-staging"
Powered by Linen
Title
m

most-lighter-95902

12/29/2021, 12:07 AM
Throws with:
error: unknown stack "<organization>/<project>/db-staging"
View count: 2