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

    adamant-motorcycle-76548

    07/29/2020, 1:12 AM
  • i

    icy-jordan-58549

    07/29/2020, 2:44 AM
    anyone knows hot to get pem certificate from Azure Key Vault? (pulumi typescript)
    b
    • 2
    • 11
  • m

    mammoth-elephant-55302

    07/29/2020, 6:37 AM
    I have three
    Pulumi.stackname.yaml
    files but when I do
    pulumi stack ls
    nothing shows up
    l
    • 2
    • 2
  • a

    acceptable-stone-35112

    07/29/2020, 8:18 AM
    Changing type of primary key in DynamoDB table is not triggering updates in Pulumi e.g. if I change N->S or S->N it wouldn't recognize any diff
    const table = new dynamodb.Table(name, {
                name: name,
                attributes: [{ name: "ProductId", type: "S" }],
                hashKey: "ProductId",
                billingMode: BillingMode.PAY_PER_REQUEST
            })
  • a

    acceptable-stone-35112

    07/29/2020, 12:43 PM
    When setting public access block on access logs bucket that is used in loggings definitions, related public content bucket inherits this block, without one being configured for it. Looks like a bug to me
  • c

    careful-engine-71229

    07/29/2020, 1:28 PM
    I've got a new one I ran into last night. How would you take the value from Outputstring and use it in a KeyValue pair for environment variable? It doesn't seem to work.
    Untitled
    a
    • 2
    • 15
  • q

    quick-action-34599

    07/29/2020, 2:24 PM
    Morning! Hopefully someone can help me debug this. I did some @pulumi module updates and a cli update to fix issues with one of my services. But now all of a sudden I’m unable to communicate with an awsx.ecs.EC2Service that is being handled by a network load balancer. It’s a rabbitmq instance and I cannot telnet to port 5672. I see the NLB seems to have the target group created properly. However when I check the ECS task I see no “Network Bindings”. Not sure if I should see any. I am able to connect to the management UI which runs on 15672. I have an ALB that is forwarding traffic to that. This one also doesn’t show in Network Bindings but it’s working so… Very confused.
    c
    • 2
    • 9
  • b

    bland-cat-29878

    07/29/2020, 2:47 PM
    hi - I have 2 pulumi stack setups in 2 folders:
    /infra
    /services
    i've been running everything fine but I recently had to re-image my computer and now adding the stack reference to /infra from /services doesn't work anymore in my /services/index.js I am just doing `const infra = new pulumi.StackReference(
    infra
    );` but it can't find the stack - am i forgetting something here or has something changed?
    a
    b
    b
    • 4
    • 17
  • c

    careful-engine-71229

    07/29/2020, 6:41 PM
    Can someone point me in a direction about the comment made in my earlier thread https://app.slack.com/client/T85C88L30/C84L4E3N1. @acceptable-stone-35112 mentioned I can use outputs as a promise, anyone know how to do that?
    b
    • 2
    • 1
  • e

    echoing-angle-67526

    07/29/2020, 6:57 PM
    are there any plans for pulumi to support the vRealize Automation Terraform provider: https://github.com/vmware/terraform-provider-vra/blob/master/docs/install_provider.md
    b
    • 2
    • 2
  • b

    bumpy-motorcycle-53357

    07/29/2020, 7:06 PM
    is there a way to add configs to the root Pulumi.yaml file? I'd love to put values that are common across all stacks for a project in a central place (instead of copy/paste same value across several stack yaml files)
  • c

    calm-greece-42329

    07/29/2020, 7:06 PM
    is StackReference only used with the pulumi service? I don’t see how i can reference a stack with a different backend
    b
    • 2
    • 1
  • c

    calm-greece-42329

    07/29/2020, 7:07 PM
    @bumpy-motorcycle-53357 i create a config wrapper that i use to load my configs into a type, you can put defaults there
  • b

    bumpy-motorcycle-53357

    07/29/2020, 7:09 PM
    that won't display the values as actual Configuration in the Pulumi site thought right? And doesn't support built-in secrets. I could just use constants as well, but trying to stick to the Pulumi config pattern.
  • c

    calm-greece-42329

    07/29/2020, 7:11 PM
    yeah i suppose so
  • b

    billowy-army-68599

    07/29/2020, 7:36 PM
    @bumpy-motorcycle-53357 you can set a template config like this: https://github.com/pulumi/examples/blob/master/aws-ts-airflow/Pulumi.yaml#L4-L11
  • b

    billowy-army-68599

    07/29/2020, 7:37 PM
    but there's no way to set a default value unfortunately
  • b

    bumpy-motorcycle-53357

    07/29/2020, 7:52 PM
    bummer
  • g

    gentle-diamond-70147

    07/29/2020, 8:34 PM
    @bumpy-motorcycle-53357 You can use StackReference to share configuration values across stacks. This way you could centralize configuration to a
    config
    stack and then use StackReference to use those values across your other stacks.
  • c

    careful-engine-71229

    07/29/2020, 9:01 PM
    Are there any AWS groupies here? I'm wondering if anyone here knows how to use Pulumi to create a ecs deployed container with elasticcache cluster backed by Redis using iam policies to control it's access.
    l
    • 2
    • 4
  • c

    careful-engine-71229

    07/29/2020, 9:01 PM
    Any tips or examples on that?
  • q

    quick-action-34599

    07/29/2020, 9:36 PM
    Apparently my problem in my above thread is that my
    awsx.ecs.EC2Service
    is not being registered as a target for my NLB target group. No matter what I try I can’t get it to register
  • q

    quick-action-34599

    07/29/2020, 9:37 PM
    I’ve tried passing both the listener itself, and a target group to the
    portMappings
    property
  • q

    quick-action-34599

    07/29/2020, 9:44 PM
    I don’t see a way to get the internal IP address for an EC2Service and assign that to a target group
  • n

    nutritious-battery-42762

    07/29/2020, 11:04 PM
    Hi guys, is there any a guide to create beanstalk app from pulumi?
    l
    • 2
    • 2
  • c

    careful-engine-71229

    07/30/2020, 12:23 AM
    Anyone run into this issue...
    Untitled
    l
    s
    k
    • 4
    • 12
  • a

    alert-daybreak-60469

    07/30/2020, 12:12 PM
    Hi all, I'm wondering if there's any way to edit the state in pulumi? I've tried out
    pulumi state
    but can't seem to find out how to edit/export/import it. The problem I have is that a cluster in digitalocean seems to have changed its id, and now I'm unable to redeploy:
    Diagnostics:
      pulumi:pulumi:Stack (shukanka-dev):
        Error: Failed to fetch credentials for cluster "41b1f250-0064-4cbc-8e38-***********": cluster not found
    If I can rename the ID to the one I can see in the dashboard, I'm hoping to be able to continue with the existing state rather than nuking the stack and starting afresh.
    m
    • 2
    • 4
  • e

    elegant-window-55250

    07/30/2020, 2:02 PM
    Hello! I see that many are making libraries to extend Pulumi, such as
    vitobotta/pulumi-kubernetes-deployments
    ,
    @tabetalt/pulumix
    ,
    place1/kloudlib
    . After being inspired by @great-byte-67992 in a Reddit comment, I added a repository to see if anyone else wants to join a community around a library/libraries. Personally, I don’t have too many opinions about how this should be, contain or otherwise, but I belive it would benefit the Pulumi community. Read more here: https://github.com/pulumix/community
    👍 1
    • 1
    • 1
  • k

    kind-address-14510

    07/30/2020, 2:34 PM
    Not yet familiar with 'apply'. So how to correctly use 'apply' in order to build 'ip_configurations' list using subnet id known after virtual network created ? Below gives AttributeError: 'VirtualNetwork' object has no attribute 'subnet_id'
    virtual_network = azure.network.VirtualNetwork(vnet_name, name=vnet_name, resource_group_name=resource_group.name,
    address_spaces=test_vnet['addr'], subnets=test_vnet['subnets'], location=resource_group.location)
    ip_configurations = [{ "name": "ip-cfg", "subnet_id": virtual_network.subnet_id.apply(lambda subnet_id: virtual_network.subnets[0].id),
    "privateIpAddressAllocation": "Dynamic" }]
  • f

    full-dress-10026

    07/30/2020, 3:50 PM
    Is there a Pulumi API to publish a serverless application? (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-template-publishing-applications.html)
    • 1
    • 1
Powered by Linen
Title
f

full-dress-10026

07/30/2020, 3:50 PM
Is there a Pulumi API to publish a serverless application? (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-template-publishing-applications.html)
Hmm... perhaps not out yet 😢 https://github.com/terraform-providers/terraform-provider-aws/pull/5961
View count: 1