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

    hundreds-musician-51496

    07/22/2020, 4:52 PM
    I'm using the auth0 provider and its failing to destroy because of missing configuration. However, I have the necessary configuration in my YAML file. I think its checking too early, because when I put the necessary configuration into environment variables the operation succeeds.
    • 1
    • 3
  • e

    echoing-breakfast-73834

    07/22/2020, 7:56 PM
    Do aliases not work on component resources? I'm attempting to rename a resource and preview shows that it and all it's child resources will be replaced. I've tried both the old name and the URN.
  • c

    cool-egg-852

    07/22/2020, 9:15 PM
    Does changing the provider remove the ability to alias? For example, I’m moving some code from the first party provider to 3rd party, and I don’t want the resource to be recreated.
  • b

    bitter-dentist-28132

    07/22/2020, 10:14 PM
    is there a way to force pulumi to continue? it looks like something changed on a lambda function where it wants to delete it, but it won't delete because it's an edge function, and i don't want to wait "a few hours" to continue working
  • b

    bitter-dentist-28132

    07/22/2020, 10:15 PM
    i don't really care if it fails to delete this lambda function, i want to continue
  • b

    bitter-dentist-28132

    07/22/2020, 10:17 PM
    i manually removed it from my stack state, but obviously that's not great because now there's an orphaned resource
  • i

    icy-jordan-58549

    07/22/2020, 11:22 PM
    If I want to fs.write
    Output<string>
    , how I can do that? it always gives me this strange output, even if I am using all approaches from here https://www.pulumi.com/docs/intro/concepts/programming-model/#outputs-and-strings (concat, interpolate, apply). Is there a way to do that? My use case, I need to generate xml.config on the fly from Output<string> (storage account) and write to container. Thanks
    c
    c
    • 3
    • 15
  • s

    sparse-winter-38469

    07/22/2020, 11:37 PM
    Just started using pulumi today! Lover how flexible it is, but I have a specific question. i deployed a lambda function in a us-east region, is it possible to easily move it from there to a different region? I was able to change the region in my config and i thought by running pulumi up it would move the lambda for me...that obviously did not work. But at least my config is pointing to the right region now.
    h
    l
    • 3
    • 4
  • d

    dazzling-sundown-39670

    07/23/2020, 7:29 AM
    How do I create and push to private repo on Docker hub?
    • 1
    • 1
  • f

    famous-kite-69533

    07/23/2020, 9:32 AM
    Hi all. I have the latest versions of pulumi and the kubernetes etc packages. When I run pulumi update and other commands, it very often fails with
    Client.Timeout or context cancellation while reading body
    . I don't have any problems interacting with the cluster via kubectl or other tools though. Any suggestions?
    • 1
    • 1
  • f

    fresh-pilot-59899

    07/23/2020, 11:24 AM
    Anyone saw the Cloud Development Kit for Terraform (Preview) from AWS? Seems like a lightweight version of Pulumi. Wondering what the @echoing-match-29901 thinks about this https://aws.amazon.com/blogs/developer/introducing-the-cloud-development-kit-for-terraform-preview/
    🤔 1
    i
    • 2
    • 3
  • l

    little-garage-43399

    07/23/2020, 12:41 PM
    Hi ! I'm trying to use 'pulumi.StackReference' twice in the same pulumi run (different classes) on the same stack, and get the following error:
    error: resource 'URN:blabla' registered twice (read and read)
    how can I work around it, without passing the "StackReference" result object between the classes? can I check if this resource already exist in the current state? tnx
  • b

    brave-angle-33257

    07/23/2020, 3:25 PM
    is it possible to use S3 backed state files hosted on one AWS account, while deploying the resources to another AWS account?
    m
    b
    c
    • 4
    • 12
  • f

    famous-kite-69533

    07/23/2020, 6:40 PM
    I am trying to update cert manager in K8s using the Helm chart, and Pulumi hangs at updating a CRD. I have also tried uninstalling it and reinstalling. It reinstalled OK, but then I tried to do update to ensure things are OK with Pulumi, and it hangs again at the preview. I am waiting now to see what happens but it's been a while already. Is there a default timeoyt for an update/preview action?
    l
    • 2
    • 4
  • c

    calm-greece-42329

    07/23/2020, 7:10 PM
    is this an artifact of how pulumi handles plugins? if i run it in a CI job and i have a state that is changing versions, it doesn’t install both versions of the plugin
  • c

    calm-greece-42329

    07/23/2020, 7:10 PM
    for example
    44 Previewing update (XXXXX):
    45 [resource plugin kubernetes-2.1.1] installing
    46 Downloading plugin: 20.97 MiB / 20.97 MiB  100.00% 0s
    47 Moving plugin... done.
    .
    .
    .
    82     pulumi:providers:kubernetes default_2_4_0  1 error
    83  
    84 Diagnostics:
    85   pulumi:providers:kubernetes (default_2_4_0):
    86     error: no resource plugin 'kubernetes-v2.4.0' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource kubernetes v2.4.0`
  • c

    calm-greece-42329

    07/23/2020, 7:11 PM
    if there is some kind of plugin install command to get both versions, i can just run that up front
  • m

    miniature-megabyte-76794

    07/23/2020, 7:44 PM
    I'm trying to build pulumi from the source code in the master branch, but I am getting
    Uncaught Error: spawn pulumi-language-nodejs ENOENT
    when running tests. Any clue what I might be doing wrong?
    l
    w
    • 3
    • 5
  • c

    careful-engine-71229

    07/23/2020, 11:16 PM
    I've got a pulumi question for someone
  • c

    careful-engine-71229

    07/23/2020, 11:16 PM
    Untitled
  • c

    careful-engine-71229

    07/23/2020, 11:17 PM
    I'd like to be able to create that certificate then add the validation requirements into route53 dns, but this doesn't work.
  • c

    careful-engine-71229

    07/23/2020, 11:17 PM
    Any ideas how I could make it work?
    b
    • 2
    • 3
  • c

    careful-engine-71229

    07/23/2020, 11:18 PM
    still learning pulumi, but if can get this sort of thing to work I think management will jump on board with moving all our infrastructure into pulumi.
    g
    • 2
    • 5
  • d

    delightful-xylophone-3967

    07/24/2020, 9:28 AM
    Hi, I would like to import a Helm Chart in a c# pulumi program, but I don't get it how to fill the values of BaseChartArgs.Input<Object> Values correctly. I would just like to set some chart values e.g. root.child.isTrue : true . Could anyone please post a code Snippet? This seesm not to work
    Values = new InputMap<Object>
    		{
    			{
    				"keycloak", new InputMap<Object>
    				{
    					{
    						"persistence", new InputMap<string>
    						{
    							{ "deployPostgres", "true" }
    						}
    					}
    				}
    			}
    g
    • 2
    • 3
  • h

    helpful-processor-86468

    07/24/2020, 1:45 PM
    How can I execute some code after certain resource is created?
  • q

    quick-action-34599

    07/24/2020, 1:52 PM
    Question: every time I run
    pulumi up
    I’m being prompted for an EC2 instance to be recreated with different security groups. It seems like it’s changing from names to IDs…
  • q

    quick-action-34599

    07/24/2020, 1:53 PM
    If I use
    securitygroup.name
    instead of
    securityGroup.id
    in the
    securityGroups
    property I get an error about the sg not existing in the VPC.
    b
    • 2
    • 4
  • c

    calm-pizza-15027

    07/24/2020, 2:09 PM
    Question does anyone know how to transfer in data from a google cloud storage into a new big table?
  • c

    calm-pizza-15027

    07/24/2020, 2:10 PM
    There are no transfer jobs in the bigtable class....
  • b

    brave-oyster-92747

    07/24/2020, 3:57 PM
    Hi guys, I would like to use Pulumi to spin up an ec2 with ASG. If anyone had worked on it can you share your project? I will use it as a reference for my requirement , if its python based would be great
    b
    • 2
    • 4
Powered by Linen
Title
b

brave-oyster-92747

07/24/2020, 3:57 PM
Hi guys, I would like to use Pulumi to spin up an ec2 with ASG. If anyone had worked on it can you share your project? I will use it as a reference for my requirement , if its python based would be great
b

billowy-army-68599

07/24/2020, 4:17 PM
hi @brave-oyster-92747, did you happen across our examples repo? https://github.com/pulumi/examples we have some great examples there, if there's nothing that meets your needs, let me know!
b

brave-oyster-92747

07/24/2020, 4:48 PM
Yeah sure, Thank you!
Hi @billowy-army-68599, I found the example for ec2 provisioning and running basic commands or user-data script from this example. But I don't see any ASG creation details here , whether we can use pulumi to create ASG, ASG policies, and other cloud-watch metrics?
<https://github.com/pulumi/examples/blob/master/aws-py-ec2-provisioners/__main__.py>
b

billowy-army-68599

07/24/2020, 5:54 PM
you certainly can, take a look here: https://www.pulumi.com/docs/reference/pkg/python/pulumi_aws/autoscaling/
View count: 1