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

    kind-hamburger-15227

    08/03/2022, 11:24 AM
    👋 Hi everyone! Does anyone managed to run Pulumi automation as function under AWS Lambda? I think this sample https://github.com/pulumi/automation-api-examples/tree/main/python/pulumi_over_http can be easily packaged, except it have Pulumi cli in requirements, which I am not sure how to package into lambda image. (I mean easily). If anyone tried and succeed or failed would be good to discuss.
  • s

    sparse-intern-71089

    08/03/2022, 12:57 PM
    This message was deleted.
  • b

    billowy-laptop-50664

    08/03/2022, 2:44 PM
    Hi all, How can I
    rm
    a stack if I don't know the passphrase? is it just a matter of deleting the stack directory in the remote state?
    • 1
    • 1
  • v

    victorious-dusk-75271

    08/03/2022, 6:57 PM
    Hey guys, do you add database setup to app projects?
    m
    • 2
    • 1
  • f

    flaky-arm-38472

    08/04/2022, 6:56 AM
    Any reason the aws-native package has so little resources compared to classic? is not same day availability the main pro over using classic?.
    m
    q
    • 3
    • 6
  • n

    numerous-sundown-3234

    08/04/2022, 8:23 AM
    Hey all, I have a problem that is adressed in this issue since 30. May I'm waiting for an update can some please help 🙂 https://github.com/pulumi/pulumi-digitalocean/issues/308
  • f

    full-zebra-67293

    08/04/2022, 8:52 AM
    Hi Team Can u people help me How to install the pulumi in Windows through Gitbash or command Prompt??
  • b

    brief-helicopter-28120

    08/04/2022, 9:32 AM
    Hello, I'm trying to use
    k8s.yaml.ConfigFile
    to deploy CRDs into my EKS cluster (typescript) and I run into issues. Btw I'm new to typescript and as well to pulumi. So please kindly bare with me 🙏 Code:
    import * as k8s from "@pulumi/kubernetes";
    import * as eks from "@pulumi/eks";
    
    
    export default {
        install_crds(cluster: eks.Cluster){
            new k8s.yaml.ConfigFile("argocd_namespace", {
                file: "kubernetes_cluster_components/namespaces/argocd-namespace.yaml",
            }, {providers: { "kubernetes": cluster.provider }});
        }
    };
    Error:
    pulumi:pulumi:Stack  k8s-moralis-aws-dev-argo-test  running.    error: an unhandled error occurred: Program exited with non-zero exit code: -1
    I0804 09:23:53.878138   22054 deployment_executor.go:162] deploymentExecutor.Execute(...): exiting provider canceller
         Type                 Name                           Plan     Info
         pulumi:pulumi:Stack  k8s-moralis-aws-dev-argo-test           1 error; 39 messages
    
    Diagnostics:
      pulumi:pulumi:Stack (k8s-moralis-aws-dev-argo-test):
        Cloud Provider: aws Stack: aws-dev-argo-test
    
        error: an unhandled error occurred: Program exited with non-zero exit code: -1
    The error message is not very descriptive, hence difficult to troubleshoot. Can someone please help me here 🙏
    • 1
    • 1
  • e

    echoing-postman-88590

    08/04/2022, 10:31 AM
    Hi, someone else affected by this https://github.com/pulumi/pulumi-tls/issues/133? Thanks
  • w

    white-chef-55657

    08/04/2022, 11:43 AM
    I couldn’t find in the docs of the pulumi package, but is there a way to check if I’m currently in preview/update/destroy etc. ? specifically for the ts sdk
    l
    • 2
    • 3
  • b

    breezy-laptop-42679

    08/04/2022, 12:41 PM
    Hello I need guidance over creating s3 public access block the code mentioned in official documentation creates a new bucket and policy however I need to do it for a already created one please check the code below
  • b

    breezy-laptop-42679

    08/04/2022, 12:41 PM
    /*
       *   s3 public access block
       */
    const bucketNameList = ["prod-nueve-media-9184fce"]
    const bucketIdList: pulumi.Output<string>[] = []
    
    bucketNameList.forEach(bucketName => {
      // Create an AWS resource (S3 Bucket) 
      const bucket = new aws.s3.Bucket(bucketName, {});
      bucketIdList.push(bucket.id)
    });
    
    for (let index = 0; index < bucketIdList.length; index++) {
      new aws.s3.BucketPublicAccessBlock(`${bucketNameList[index]}-publicAccessBlock`, {
        bucket: bucketIdList[index],
        blockPublicAcls: true,
        blockPublicPolicy: true,
      });
    }
  • w

    worried-helmet-23171

    08/04/2022, 12:48 PM
    Hey folks, do policy packs work with Pulumi YAML definitions of resources?
  • b

    brief-baker-41837

    08/04/2022, 1:01 PM
    Hi there, is there a way to suppress the 'new version available' warnings in pulumi ?
    s
    • 2
    • 1
  • b

    breezy-laptop-42679

    08/04/2022, 1:10 PM
    @brief-baker-41837
    PULUMI_AUTOMATION_API_SKIP_VERSION_CHECK=true
  • r

    ripe-ram-38792

    08/04/2022, 1:36 PM
    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 (edited) docs.microsoft.com Create and manage a compute instance - Azure Machine Learning Learn how to create and manage an Azure Machine Learning compute instance. Use as your development environment, or as compute target for dev/test purposes.
  • b

    billowy-laptop-50664

    08/04/2022, 3:18 PM
    Hi I'm trying to reference state info from a TF http state. I can read the "outputs" however can't read non export/output values, is there anyway to access the rest of the state without adding to outputs?
  • a

    aloof-dress-1001

    08/04/2022, 4:44 PM
    Hey guys, Im deploying an EKS cluster with pulumi_aws, and i want to connect my cluster to kubectl as soon as its deployed, how do i output the kubeconfig to my local machine inside the code and not by a command later on?
  • w

    wet-account-54803

    08/04/2022, 8:40 PM
    https://docs.databricks.com/dev-tools/pulumi.html
  • s

    stocky-petabyte-29883

    08/04/2022, 8:56 PM
    Hey Trying to create a new subnet to an existing vpc, using either
    new awsx.ec2.Subnet
    or
    new aws.ec2.Subnet
    . How do we set the subnet as private or public? (edited)
    h
    s
    • 3
    • 2
  • q

    quick-airport-30353

    08/04/2022, 9:17 PM
    hey all! I'm creating CloudWatch log groups for my lambdas with a 90 day retention policy. After 90 days I want to delete it. My first thought was to log to both CloudWatch and s3.BucketLoggingV2. My question is: how do I make sure that the s3.BucketLoggingV2 stores the logs in Glacier and not S3 in general?
    l
    • 2
    • 2
  • f

    flaky-arm-38472

    08/05/2022, 3:35 AM
    I have a very curious error. When importing a subnet resource I get this warning:
    warning: aws:ec2/subnet:Subnet resource 'x-subnet-prv-1a' has a problem: Conflicting configuration arguments: "availability_zone": conflicts with availability_zone_id. Examine values at 'Subnet.AvailabilityZone'.
    warning: aws:ec2/subnet:Subnet resource 'x-subnet-prv-1a' has a problem: Conflicting configuration arguments: "availability_zone_id": conflicts with availability_zone. Examine values at 'Subnet.AvailabilityZoneId'.
    I proceed with the import and add the generated code. Then when running
    pulumi up
    it throws errors:
    error: aws:ec2/subnet:Subnet resource 'x-subnet-prv-1a' has a problem: Conflicting configuration arguments: "availability_zone": conflicts with availability_zone_id. Examine values at 'Subnet.AvailabilityZone'.
    error: aws:ec2/subnet:Subnet resource 'x-subnet-prv-1a' has a problem: Conflicting configuration arguments: "availability_zone_id": conflicts with availability_zone. Examine values at 'Subnet.AvailabilityZoneId'.
    Any ideas?
    • 1
    • 1
  • a

    able-dentist-35553

    08/05/2022, 5:26 AM
    hi all, i had a query about this issue https://github.com/pulumi/pulumi-auth0/issues/145
  • a

    able-dentist-35553

    08/05/2022, 5:26 AM
    ^ while the update did happen in 2.11.0, the update appeared to regress something else ...
  • a

    able-dentist-35553

    08/05/2022, 5:27 AM
    error: unmarshaling urn:...$auth0:index/tenant:Tenant$auth0:index/connection:Connection::connection-dev's instance state: could not read field options: '' expected type 'string', got unconvertible type 'map[string]interface {}', value: 'map[]'
  • r

    red-scooter-62880

    08/05/2022, 9:06 AM
    Do you use Pulumi for every infrastructure, such as for example Auth0 for identity management or do you combine using Pulumi with manual creation? What pros and cons do you see of this? In my opinion Pulumi helps me provision for multiple environments, but for some things it takes less time to create manual, such as Auth0. I would also like to use Azure B2C but it is not supported by Pulumi because it uses Microsoft Graph API instead of Azure ARM API
    l
    • 2
    • 2
  • a

    ambitious-agent-35343

    08/05/2022, 9:39 AM
    Is there a way to have ``pulumi destroy`` delete as much as possible and ignore failures?
    l
    d
    • 3
    • 5
  • l

    late-petabyte-3251

    08/05/2022, 5:35 PM
    When I go to my pulumi.com/username/projects page, my project is gone. A few minutes later I refresh and it’s back. My colleague is having a similar problem this morning. Is there a production incident in progress? Nevermind. It keeps switching Orgs to my personal instead of my company org. That is….. annoying. 😛
  • b

    broad-toddler-72261

    08/05/2022, 7:20 PM
    Hello all!! I'm in a predicament. We are on pulumi v1 and I attempted to upgrade to v3, before realizing that there were a number of breaking changes that would not resolve in our release cycle. Hence, I reverted back to v1. Problem now is other stacks still on v1 that referenced the shared platform stack i attempted to upgrade can no longer successfully reference it. I'm not in a position to upgrade to v3 right now - is there any way to repair what has occurred and move on with v1 for now????
    s
    • 2
    • 4
  • b

    big-potato-91793

    08/05/2022, 7:50 PM
    Hey I’m getting this
    pulumi:pulumi:Stack security-groups-prod running error: an unhandled error occurred: Program exited with non-zero exit code: -1
    Using aws provider and pulumi… for weird reason this only happen in one of my stack…. in all 3.. I activated the debug and versbose log and I’m not seeing anything wrong… any idea?
    c
    • 2
    • 6
Powered by Linen
Title
b

big-potato-91793

08/05/2022, 7:50 PM
Hey I’m getting this
pulumi:pulumi:Stack security-groups-prod running error: an unhandled error occurred: Program exited with non-zero exit code: -1
Using aws provider and pulumi… for weird reason this only happen in one of my stack…. in all 3.. I activated the debug and versbose log and I’m not seeing anything wrong… any idea?
not sure if that’s related but I saw this
ebug: RegisterResource RPC prepared: t=aws:ec2/securityGroup:SecurityGroup, name=es.prod.eu-west-1
    error: an unhandled error occurred: Program exited with non-zero exit code: -1
Right after the RPC prepared the program exicted
c

curved-helicopter-46451

08/05/2022, 7:59 PM
do you have all the plugins installed that you use?
b

big-potato-91793

08/05/2022, 8:05 PM
I don’t see any plugin install at the beginning but it should be install when doing npm install no?
c

curved-helicopter-46451

08/05/2022, 8:08 PM
like you have this installed
pulumi plugin install resource aws 5.7.2
I don't know just guessing 😉
View count: 2