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

    orange-byte-86458

    06/18/2021, 9:56 PM
    Quick question about Pulumi cloud: how do I move a stack that I first created under my personal account to the organization that someone else just created and invited me to? I was thinking about
    stack export/import
    but I’m not sure at which point I’ll specify the new org name.. Thanks for any help!
    b
    • 2
    • 2
  • p

    plain-jordan-82996

    06/19/2021, 12:58 AM
    Hey guys. I'm new to pulumi, so probably messed up somewhere. I'm trying to use the latest pulumi-aws version because some role names have changed, but pulumi seems to insist on getting a specific old version. Any idea what I might be doing wrong?
    b
    • 2
    • 1
  • w

    witty-fireman-26899

    06/21/2021, 3:37 AM
    Hello everyone! I'm exploring Pulumi for work and have a couple of questions. Where can I find a list of all supported cloud resources, and how often are these resources updated. Is there a process documented somewhere explaining how frequently the community should revise the resources to keep up with cloud providers?
    l
    g
    +2
    • 5
    • 12
  • b

    brainy-window-77332

    06/21/2021, 8:06 AM
    I'm looking at Pulumi and want to use the python library without the pulumi cloud?
  • b

    brainy-window-77332

    06/21/2021, 8:09 AM
    I had assumed that I could use the python library in my own program to manage resources
    b
    • 2
    • 7
  • s

    sparse-nightfall-23734

    06/21/2021, 8:52 AM
    Hey. First of all, I would like to thank the Pulumi team for developing this Platypus of IaC. It is outstandingly convenient Secondly, I have a question regarding the documentation - In most resources, there is no indication or description for the use with JavaScript/Node. Am I missing something? is there a newer version of documentation rather than this: Link Thanks in advance! BTW, I a m referring to AWS's documentation.
    b
    • 2
    • 5
  • g

    gorgeous-country-43026

    06/21/2021, 12:08 PM
    Hi, any news on this? https://github.com/pulumi/pulumi-kubernetes/issues/555 It's causing bit of a headache for me
    b
    • 2
    • 22
  • w

    wet-sunset-4939

    06/21/2021, 1:58 PM
    Hi All, I just got this error message recently not sure how to by pass it as I need to rebuild the AKS cluster if changing the Vnet Space.
    AgentPoolProfile.VnetSubnetID 192.0.0.0/8 is invalid. Please choose one that does not overlap 169.254.0.0/16, 172.30.0.0/16, 172.31.0.0/16, 192.0.2.0/24" Target="agentPoolProfile.vnetSubnetID"
  • l

    lemon-monkey-228

    06/21/2021, 2:50 PM
    Is there a way to store my stack’s config in GCS along with the state?
    b
    g
    • 3
    • 8
  • b

    bitter-island-28909

    06/21/2021, 4:12 PM
    Hey all, As a big fan of both Pulumi and ClojureScript, of course I took a stab at writing Pulumi stacks in CLJS. And it actually works quite well! The process ends up pretty seamless, and with source code mapping it’s pretty easy to debug. If anyone else is interested, here’s a helper library to get you started, as well as a sample project (a Wordpress install on ECS): https://github.com/modern-energy/pulumi-cljs https://github.com/modern-energy/wordpress-pulumi-cljs
    🎉 2
    b
    • 2
    • 7
  • c

    cuddly-leather-18640

    06/21/2021, 4:24 PM
    @broad-dog-22463 do you mind explaining why the go tests for pulumi docker are being skipped since the pulumi v3 upgrade? https://github.com/pulumi/pulumi-docker/commit/8d68bed36c1b4d7a6c108c579dd15692627e2243#diff-2e4fffe32720b3d310b4336[…]d9e0d82b418299817fdf42a29fR28 I’m trying to use
    CacheFrom
    in the go sdk but it’s broken and now I’m looking to fix that.
    b
    • 2
    • 23
  • r

    red-area-47037

    06/21/2021, 4:25 PM
    Hi, we are using Pulumi to configure our Cloudflare Loadbalancer and CertPacks. As part of our automatic scripts we do a
    pulumi refresh
    followed by a
    pulumi up
    . It looks like Pulumi doesnt correctly refreshs the state on the Cloudflare side for
    cloudflare.CertificatePack
    . I wanted to force a recreate of the CertificatePack and deleted the existing CertificatePack in the Cloudflare UI and started the script. The
    pulumi up
    does not detected the missing CertificatePack and therefore also
    pulumi up
    will not recreate it... Anyone ran into a similar problem before? I checked the open issues (https://github.com/pulumi/pulumi-cloudflare/issues) but couldnt find any related issue...
  • g

    gorgeous-eye-54797

    06/21/2021, 4:59 PM
    Hello everybody! Please, someone know how to rename a resource without delete it ? I have been trying opts = opts.merge(pulumi.ResourceOptions(aliases=[Alias(name="my-x-test")]))
  • g

    gorgeous-eye-54797

    06/21/2021, 5:00 PM
    without any success.
  • g

    gorgeous-eye-54797

    06/21/2021, 5:00 PM
    trying to put alias name as first created name, and other variations, but always de instance is deleted.
  • g

    gorgeous-eye-54797

    06/21/2021, 5:00 PM
    Is there some concrete example ?
    l
    • 2
    • 1
  • p

    proud-pizza-80589

    06/21/2021, 10:39 PM
    I’m suddenly getting
    error: invalid character '}' after top-level value
    errors using the automation api. I console logged a bit and even standalone
    pulumi -v=5 stack select settlemint/development-ceks01-9afd
    gives me the first error. (the stack is new using createOrSelectStack) I found two other threads here on slack where you, @red-match-15116 , debugged it with the users. Any idea what causes this or how i solve it?
    r
    • 2
    • 9
  • b

    brave-glass-88708

    06/21/2021, 11:59 PM
    Hi, I am evaluating pulumi for my company and potentially go to it from Terraform. But first hurdle 🙂 What I want to test is using the k8s provider, create ServiceAccount, reference the associated Secret that was created to retrieve the token and then use the token to do other things. My code is as follows (very simple)
    import * as k8s from "@pulumi/kubernetes";
    import * as kx from "@pulumi/kubernetesx";
    
    const serviceAccount = new k8s.core.v1.ServiceAccount("test-service-account");
    
    serviceAccount.secrets.apply(secretName => {
        console.log(secretName[0].name);
        const token = k8s.core.v1.Secret.get(secretName[0].name,`${serviceAccount.metadata.namespace}/${secretName[0].name}`).data.apply(v => {
            console.log(v['token']);
        });
    });
    however, i am met with
    error: preview failed
    
      kubernetes:core/v1:Secret (test-service-account-gd83fdyj-token-f5wqw):
        error: Preview failed: failed to read resource because of a failure to parse resource name from request ID: Calling [toString] on an [Output<T>] is not supported.
    
        To get the value of an Output<T> as an Output<string> consider either:
        1: o.apply(v => `prefix${v}suffix`)
        2: pulumi.interpolate `prefix${v}suffix`
    any suggestions?
    l
    s
    • 3
    • 4
  • o

    orange-byte-86458

    06/22/2021, 4:32 AM
    Quick question about EKS NodeGroups on AWS: each node by default comes with 2 100Gb EBS drives attached - how do I control that? I found an option for the root volume size, but I don’t see any parameters related to the attached storage. Thanks for any help!
    g
    • 2
    • 4
  • g

    great-sunset-355

    06/22/2021, 7:38 AM
    Is there a way to manage
    pulumi config
    any other way than invoking cli? For example can I restore the remote config from the local?
    s
    • 2
    • 3
  • b

    bright-truck-37455

    06/22/2021, 10:17 AM
    Hey everyone, I'm trying to update the passphrase used for my stack. When running the command listed in the docs, nothing really happens:
    $ pulumi stack change-secrets-provider passphrase
    Migrating old configuration and state to new secrets provider
    $ unset PULUMI_CONFIG_PASSPHRASE_FILE
    $ pulumi stack change-secrets-provider passphrase
    error: constructing secrets manager of type "passphrase": unable to find either `PULUMI_CONFIG_PASSPHRASE` or `PULUMI_CONFIG_PASSPHRASE_FILE` ...
    b
    b
    • 3
    • 7
  • g

    green-tailor-57362

    06/22/2021, 12:30 PM
    HI
  • g

    green-tailor-57362

    06/22/2021, 12:30 PM
    self.service = aws.ecs.Service(f’{name}-app-svc’, cluster=self.cluster.arn, desired_count=2, launch_type=‘FARGATE’, task_definition=self.task_definition.arn, iam_role=role.arn, network_configuration=aws.ecs.ServiceNetworkConfigurationArgs( assign_public_ip=True, subnets=args.subnet_ids, security_groups=args.security_group_ids ), load_balancers=[aws.ecs.ServiceLoadBalancerArgs( target_group_arn=atg.arn, container_name=container_name, container_port=8086, )], opts=ResourceOptions( depends_on=[wl], parent=self), ) self.register_outputs({})
    b
    • 2
    • 1
  • g

    green-tailor-57362

    06/22/2021, 12:31 PM
    Things fail at this point
  • g

    green-tailor-57362

    06/22/2021, 12:31 PM
    I0622 17:52:46.839512 7693 eventsink.go:62] eventSink::Debug(<{%reset%}>resource registration successful: ty=aws:lb/listener:Listener, urn=urn😛ulumi:wordpress::wordpress-ecs-rds::custom:resource:Frontend$aws:lb/listener:Listener::wp-example-fe-listener<{%reset%}>) I0622 17:52:46.849195 7693 eventsink.go:59] exception when preparing or executing rpc: Traceback (most recent call last): File “/usr/local/lib/python3.9/site-packages/pulumi/runtime/resource.py”, line 432, in do_register
  • g

    green-tailor-57362

    06/22/2021, 12:32 PM
    aws python
  • p

    purple-lawyer-35555

    06/22/2021, 12:49 PM
    Hi all! I'm using the automation api and I was wondering if it's possible to cancel the deployment and automatically rollback to last deployed stack. What's the best way to achieve this with this api?
    b
    • 2
    • 3
  • g

    great-sunset-355

    06/22/2021, 3:43 PM
    Hi Is it possible to get
    str
    of Output so I can use it as part of
    resource_name
    in another resource? I tried:
    access_rds = ec2.SecurityGroupRule(
            eb_env.id.apply(lambda x: f'awseb-{x}-to-db'),
    )
    But it still gave me
    <pulumi.output.Output object at 0x7f81213b3bb0>
    instead of an actual value
    b
    a
    • 3
    • 3
  • s

    square-dress-80180

    06/22/2021, 5:37 PM
    Hi all - This seems like something obvious I must be missing … I would like to get the status of the most recent event for a stack via API but can’t seem to see where in the
    pulumi cli
    I can do this. I can see in the UI for my stack a list of events with “succeeded” or other status. Is there are
    pulumi
    command that shows you equivalent of
    git log
    and lists the status? Thanks for the help!
    ➕ 1
    • 1
    • 1
  • f

    full-dress-10026

    06/22/2021, 5:50 PM
    How do you enable verbose logging when running a pulumi preview? I used to do the below.
    pulumi -v=9 up --stack my-stack
    But now that -v flag has no impact on the pulumi command output. I see pulumi -h still marks -v as the way to enable verbose logging though.
    b
    • 2
    • 2
Powered by Linen
Title
f

full-dress-10026

06/22/2021, 5:50 PM
How do you enable verbose logging when running a pulumi preview? I used to do the below.
pulumi -v=9 up --stack my-stack
But now that -v flag has no impact on the pulumi command output. I see pulumi -h still marks -v as the way to enable verbose logging though.
b

broad-dog-22463

06/22/2021, 5:51 PM
add
--logtostderr
f

full-dress-10026

06/22/2021, 5:54 PM
Thank you
View count: 1