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

    high-postman-55219

    05/07/2020, 10:45 PM
    first run
  • h

    high-postman-55219

    05/07/2020, 10:45 PM
    second run
  • h

    high-postman-55219

    05/07/2020, 10:47 PM
    How to fix this behavior, I try with versions 1.14.x and 2.1.0
  • b

    billowy-army-68599

    05/07/2020, 10:48 PM
    @high-postman-55219 that does indeed look frustrating 😞 can you open an issue here https://github.com/pulumi/pulumi-aws ?
    b
    h
    • 3
    • 19
  • a

    abundant-painting-88182

    05/08/2020, 11:32 AM
    I want to use Pulumi for a demo at work. I noticed that the "local backend" feature is "in preview" - does this mean it may not be supported in the future? More importantly, does this mean it may not really work right now?
    b
    • 2
    • 5
  • q

    quiet-wolf-18467

    05/08/2020, 3:44 PM
    Anyone know if it's possible to get the time a resource was created?
  • q

    quiet-wolf-18467

    05/08/2020, 3:44 PM
    I have a very niche use-case 😕
  • q

    quiet-wolf-18467

    05/08/2020, 3:50 PM
    In fact, the problem seems to be that
    bcrypt
    creates a different hash on every
    pulumi up
    which means my Kubernetes secret is deleted and replace on every run
  • q

    quiet-wolf-18467

    05/08/2020, 3:50 PM
    Pulumi doesn't have a bcrypt provider to avoid this, does it?
    g
    • 2
    • 6
  • i

    important-appointment-55126

    05/08/2020, 5:25 PM
    getting start with Pulumi - If i create a project/stack, can i move it into an organization later when we’re ready to pay for it? How does it work if I want to split a project up into smaller projects at some point; is the state tracking global to the org?
    e
    • 2
    • 5
  • h

    hundreds-lizard-14182

    05/08/2020, 5:48 PM
    Hello All, I have just started with Pulumi and I am getting an error provisioning an EKS cluster in us-east-1:
    UnsupportedAvailabilityZoneException: Cannot create cluster 'my-cluster-eksCluster-7388979' because us-east-1e, the targeted availabilitydoes not currently have sufficient capacity to support the cluster
    . This happens in AWS, I was just curious if there is a quick way to specify AZs on cluster provisioning (I can specify subnets, but i don’t want to provision them separately).
    • 1
    • 2
  • q

    quiet-wolf-18467

    05/08/2020, 7:17 PM
    @gorgeous-egg-16927 Any chance we can get a release with the 429 GCS fix? 🙂
  • q

    quiet-wolf-18467

    05/08/2020, 7:20 PM
    Oh, sorry. I think someone else worked on that fix. My bad
  • f

    fierce-father-77362

    05/08/2020, 7:33 PM
    hey, I have a hard time wrapping my head around stack naming. so for some reason, I see examples with
    acmecorp/app/env
    but my stacks cannot be named with a
    /
    I am using pulumi without the service, just at a s3 location. how can i structure my stacks in a good way>
    b
    • 2
    • 3
  • b

    billowy-army-68599

    05/08/2020, 7:59 PM
    @quiet-wolf-18467 we are aiming to get that out on Wednesday when our regular release happens
  • q

    quiet-wolf-18467

    05/08/2020, 8:02 PM
    Thanks
  • h

    hundreds-lizard-14182

    05/08/2020, 8:35 PM
    I am trying to destroy my stack and I am running into a weird error (on AWS, stack provisioned EKS):
    Deleting urn:pulumi:aws-eks-validationm::aws-eks-validation::eks:index:Cluster$aws:ec2/securityGroupRule:SecurityGroupRule::my-cluster-eksClusterInternetEgressRule: No security group with ID "sg-0a887d22a0e34ccc4"
    What are my options from here?
  • h

    hundreds-lizard-14182

    05/08/2020, 8:54 PM
    For AWS I have created a stack in us-east-1 and then changed region to us-east-2. I am getting the following errors on pulumi refresh:
    Preview failed: refreshing urn:pulumi:aws-eks-validationm::aws-eks-validation::aws:s3/bucket:Bucket::my-bucket: error reading S3 Bucket (my-bucket-50e001c): BucketRegionError: incorrect region, the bucket is not in 'us-east-2' region at endpoint ''
    How do I recover from this?
  • c

    chilly-hairdresser-56259

    05/08/2020, 9:12 PM
    Woudnt that stacks state then be for us-east-1? You would want to create a new stack
    h
    b
    +2
    • 5
    • 12
  • c

    colossal-room-15708

    05/09/2020, 1:04 AM
    Inside a GitHub Action I'm now getting this error here:
    error: could not load plugin for azure provider 'urn:pulumi:incidentdev::azure-incidents::pulumi:providers:azure::default_2_5_0_alpha_1586239871': no resource plugin 'azure-v2.5.0-alpha.1586239871' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource azure v2.5.0-alpha.1586239871`
    Just before that however it is installing the correct azure plugin based on our package.json
    Logged into 5a66626ce332 as root (***)
    
    > @pulumi/azure@3.4.0 install /github/workspace/node_modules/@pulumi/azure
    > node scripts/install-pulumi-plugin.js resource azure v3.4.0
    
    [resource plugin azure-3.4.0] installing
    
    Downloading plugin: 0 B / 47.81 MiB    0.00%
    Downloading plugin: 86.06 KiB / 47.81 MiB    0.18% 1m53s
    Downloading plugin: 854.06 KiB / 47.81 MiB    1.74% 22s
    Downloading plugin: 3.44 MiB / 47.81 MiB    7.19% 7s
    Downloading plugin: 12.08 MiB / 47.81 MiB   25.27% 2s
    Downloading plugin: 18.15 MiB / 47.81 MiB   37.95% 1s
    Downloading plugin: 25.56 MiB / 47.81 MiB   53.46% 1s
    Downloading plugin: 32.87 MiB / 47.81 MiB   68.74%
    Downloading plugin: 40.58 MiB / 47.81 MiB   84.88%
    Downloading plugin: 47.81 MiB / 47.81 MiB  100.00%
    Downloading plugin: 47.81 MiB / 47.81 MiB  100.00%
    Downloading plugin: 47.81 MiB / 47.81 MiB  100.00%
    Downloading plugin: 47.81 MiB / 47.81 MiB  100.00%
    Downloading plugin: 47.81 MiB / 47.81 MiB  100.00%
    Downloading plugin: 47.81 MiB / 47.81 MiB  100.00%
    Downloading plugin: 47.81 MiB / 47.81 MiB  100.00% 2s
    Moving plugin... done.
    Locally we've updated to the latest pulumi version already.
    • 1
    • 3
  • f

    fierce-father-77362

    05/09/2020, 9:19 AM
    I am having fun with pulumi already.. but how can I just push a docker image to ECR on its own.
    c
    • 2
    • 3
  • w

    witty-spring-28765

    05/09/2020, 8:13 PM
    Hello. I am new to Pulumi Python. I have a small query. How do I search for existing subnets from a VPC and then choose a particular Subnet to the EC2 in the pulumi code? Currently I have to login to the console and then get the Subnet ID from there.
    b
    • 2
    • 8
  • s

    silly-hairdresser-21136

    05/10/2020, 9:49 AM
    hi, I have a package that depends on @pulumi/aws 2.1.0 and @pulumi/random 2.1.0, and I'm trying to upgrade @pulumi/aws to 2.2.0 or 2.3.0 - when I do so, running
    pulumi up
    results in an error:
    [09:32:47]  pulumi:providers:random (default_2_2_0):
    [09:32:47]   error: no resource plugin 'random-v2.2.0' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource random v2.2.0`
    it doesn't seem like upgrading @pulumi/aws should change the random plugin version, and running the install command from the error message results in:
    [resource plugin random-2.2.0] installing
    error: [resource plugin random-2.2.0] downloading from <https://api.pulumi.com/releases/plugins>: 404 HTTP error fetching plugin from <https://api.pulumi.com/releases/plugins/pulumi-resource-random-v2.2.0-darwin-amd64.tar.gz>
    anyone else seen this problem?
    b
    • 2
    • 6
  • g

    gifted-ocean-95126

    05/10/2020, 2:22 PM
    👋 Hi everyone, I'm new to Pulumi and I am trying to figure out if there is a way to prevent sensitive property values from being saved in the backend state (such as by only storing a cryptographic hash, for example). My use case is that I am trying to setup DigitalOcean droplets in such a way that I can configure them with Ansible without skipping host key checking when connecting to them (
    -o StrictHostKeyChecking=no
    ). One way to achieve this is to generate the Droplet host keys locally on my PC then apply them to the Droplets using the
    user_data
    droplet property. I could then add the host public keys to the Pulumi stack output and configure Ansible to check the hosts against those public keys when connecting. But, running
    pulumi stack export
    shows that the original
    #cloud-config
    file, including the private keys, is being stored in the stack state. Although I understand that the data is encrypted, storing these files is unnecessary and so I would prefer not to store them. Can I tell Pulumi to store the hashes and not the original contents of resource properties? Thank you.
    b
    • 2
    • 13
  • f

    fierce-father-77362

    05/10/2020, 3:57 PM
    does pulumi play nicely with yarn workspaces? somehow i'm getting quite a few errors
    a
    • 2
    • 3
  • p

    proud-optician-56680

    05/10/2020, 5:59 PM
    Hey
  • p

    proud-optician-56680

    05/10/2020, 6:03 PM
    I have a question about the github actions, how are secrets and configuration values handled inside the github actions? https://github.com/pulumi/actions-example-gke-rails Here there is a few mentions to configurations, but there isn't an indication on where they're passed 🙂
    g
    • 2
    • 5
  • b

    bitter-toddler-22112

    05/11/2020, 1:09 PM
    Hi guys! Is it possible to export secrets (config values created with --secret option) in a secure (encrypted) way and import them in another stack by reference? Thx
    b
    • 2
    • 4
  • h

    hundreds-lizard-14182

    05/11/2020, 3:44 PM
    Hello All! Is there an option to provision an EKS cluster with AWS managed node group (managed by AWS)? E.g., similar to
    eksctl create cluster --managed
    ?
    b
    b
    • 3
    • 7
  • g

    gray-tailor-20387

    05/11/2020, 3:46 PM
    Hey guys, just discovered Terraform has "connections" and "provisioner". Is there a way to make a VM with Pulumi, and automatically run some commands on said vm? (I can nicely get/use the ip address, but I'm wondering about provisioning)
    b
    c
    • 3
    • 4
Powered by Linen
Title
g

gray-tailor-20387

05/11/2020, 3:46 PM
Hey guys, just discovered Terraform has "connections" and "provisioner". Is there a way to make a VM with Pulumi, and automatically run some commands on said vm? (I can nicely get/use the ip address, but I'm wondering about provisioning)
b

billowy-army-68599

05/11/2020, 3:54 PM
yes! we have examples in python https://github.com/pulumi/examples/tree/master/aws-py-ec2-provisioners and typescript https://github.com/pulumi/examples/tree/master/aws-ts-ec2-provisioners
g

gray-tailor-20387

05/11/2020, 3:59 PM
Great, a big thankyou!!
c

colossal-room-15708

05/11/2020, 9:23 PM
That's just for AWS and you didn't specify which cloud you're on. AWS itself has also user data for EC2 out of the box. On Azure VMs you can use many different ways, most commonly the "custom script extension" to execute code.
g

gray-tailor-20387

05/12/2020, 9:18 AM
I'm on DigitalOcean, but atleast i have something to work with now 🙂
View count: 1