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

    bright-policeman-55860

    08/19/2020, 10:06 AM
    Is there a way to force recreation of a resource?
  • i

    incalculable-dream-27508

    08/19/2020, 10:38 AM
    @bright-policeman-55860 there appears to be a
    --replace
    flag to
    pulumi up
    🙌 1
    b
    2 replies · 2 participants
  • n

    narrow-jackal-57645

    08/19/2020, 12:19 PM
    Feedback I find Slack unsuitable for in-depth discussion and FAQ. Can we consider using a forum instead? (for example discourse)
    b
    2 replies · 2 participants
  • e

    early-intern-90238

    08/19/2020, 12:30 PM
    Guys I get back the HTML from GKE now for errors and resources that weren't created. This never happened before I upgraded. Now in my console I get a wall of HTML from googleapi
    n
    3 replies · 2 participants
  • h

    helpful-advantage-49286

    08/19/2020, 3:43 PM
    Curious how much of pulumi is built on top of terraform?
  • h

    helpful-advantage-49286

    08/19/2020, 3:43 PM
    Like are there pulumi plugins that don’t use terraform at all?
    g
    s
    5 replies · 3 participants
  • b

    bitter-application-91815

    08/19/2020, 5:33 PM
    hey, what's the difference between apigateway and apigatewayv2, I presume i should use the v2, but the example here is using the intial version
    s
    2 replies · 2 participants
  • b

    bitter-application-91815

    08/19/2020, 5:33 PM
    https://github.com/pulumi/examples/blob/master/aws-go-lambda-gateway/main.go
  • h

    high-greece-86639

    08/19/2020, 6:33 PM
    Any advice on the best relationship between git repos and pulumi projects ? 1 to many?
    n
    4 replies · 2 participants
  • s

    stocky-spoon-28903

    08/19/2020, 6:49 PM
    @high-greece-86639 I'm not sure there is a "best" relationship as such - it depends on what workflows you want to adopt
  • h

    high-greece-86639

    08/19/2020, 6:51 PM
    Works for me. Just wanting to be cautious with initial setup so I don’t have to reform everything later.
  • b

    bitter-application-91815

    08/19/2020, 7:33 PM
    Me continuing to be that annoying persons who keeps asking questions, last night was searching around as to how to set env vars for lambdas in go, I couldn't see it anywhere, I think it might be in pulumi environment model in https://github.com/pulumi/pulumi/tree/master/sdk/go/common/resource/config
    i
    2 replies · 2 participants
  • b

    bitter-application-91815

    08/19/2020, 7:33 PM
    Am I warm ?
  • m

    mammoth-address-60583

    08/19/2020, 7:42 PM
    I'm having a hard time finding documentation on how to customize the payload my lambda receives from API Gateway. Is this possible in Pulumi?
  • a

    astonishing-quill-88807

    08/19/2020, 8:26 PM
    @high-greece-86639 I ended up going for 1 repo to many projects using S3 as a backend. BSD-3 licensed so you can use it for reference if it's helpful. https://github.com/mitodl/ol-infrastructure/
    👍 1
  • n

    narrow-jackal-57645

    08/20/2020, 12:17 AM
    Q How could I rename my project name? For example from
    acme/old_name
    to
    acme/new_name
    . FYI I do have stacks under this project. Many thanks in advance
    a
    2 replies · 2 participants
  • b

    best-lifeguard-91445

    08/20/2020, 12:39 AM
    How do I get the CIDR range / IP of a network load balancer (AWS)? I'm trying to create a security group rule, that has the NLB as the source location.
    l
    4 replies · 2 participants
  • c

    chilly-rainbow-79265

    08/20/2020, 5:20 AM
    is there any doc for custom keyspaces in stack config file ?
    l
    18 replies · 2 participants
  • h

    helpful-advantage-49286

    08/20/2020, 5:21 AM
    how does the pulumi commandline figure out what stack a directory corresponds to?
    l
    9 replies · 2 participants
  • b

    bumpy-garden-89740

    08/20/2020, 8:24 AM
    Hi! How to assign target group under ecs.ECCluster service? something like this
    k
    1 reply · 2 participants
  • b

    brave-dress-99218

    08/20/2020, 2:16 PM
    Hi everyone! I'm trying to get FQDN value from
    aws.route53.Record
    (using
    python
    ) and use it to render a
    json
    from
    jinja2
    template. then use this
    json
    as a value for
    container_definitions
    parameter in
    aws.ecs.TaskDefinition
    resource. For that I do
    route53_record = aws.route53.Record(f"{acc_name}",
    .....
        }])
    and then, using
    apply
    THIS_DIR = os.path.dirname(os.path.abspath(__file__))
    j2_env = Environment(loader=FileSystemLoader(THIS_DIR),
                         trim_blocks=True)
    
    ecs_task_definition = aws.ecs.TaskDefinition(f"{acc_name}",
        family=f"ent-{dep_name}-{acc_name}",
        container_definitions=j2_env.get_template('templates/acc-td-container-defs.json.j2').render({
            'web_servername': pulumi.Output.all(route53_record.fqdn).apply(lambda fqdn: fqdn),
            # 'web_servername': route53_record.fqdn.apply(lambda fqdn: fqdn),
    ...
    ...
        }),
    ...
    ...
    But as a result I always get something like
    <pulumi.output.Output object at 0x10d1c0780>
    Can you, guys, please help me understand what i'm doing wrong? THanks !
    s
    7 replies · 2 participants
  • b

    brave-dress-99218

    08/20/2020, 2:20 PM
    in
    terraform
    for that i used
    data "template_file"
    and it worked well. but I'm not sure that i'm using a right approach in
    pulumi
  • b

    brave-angle-33257

    08/20/2020, 3:44 PM
    can we make a wafv2.WebAcl resource in pulumi yet similar to https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/wafv2_web_acl ? I don't see a resource of type WebAcl listed on https://www.pulumi.com/docs/reference/pkg/aws/wafv2/
    b
    a
    16 replies · 3 participants
  • b

    brave-angle-33257

    08/20/2020, 3:46 PM
    looking to make a request rate based rule to block IP if too many requests coming in, not seeing that is possible with pulumi so far (with wafv2)
  • b

    best-lifeguard-91445

    08/20/2020, 7:55 PM
    pulumi refresh is showing no resources -- looks like my local state is missing somehow?
    NAME   LAST UPDATE  RESOURCE COUNT
    prod*  n/a          n/a
    1 reply · 1 participant
  • a

    ancient-megabyte-79588

    08/20/2020, 8:40 PM
    I have the following code:
    const accountPassword = new random.RandomPassword("RabbitMqAdmin_password", {
            length: 40, 
            special: true, 
            overrideSpecial: `_%@`
        }).result;
    Which is a password, but the password is available in plain text in the resources view of the web portal. This doesn't seem like it should be the default behaviour for a
    .RandomPassword
    .
    l
    f
    6 replies · 3 participants
  • f

    faint-motherboard-95438

    08/20/2020, 8:52 PM
    Hi there, It does not seem possible to output a provider from one project/stack and use it in another one or did I miss a trick here ? (the output is a simple key/value object but not a real
    Provider
    object)
    k
    3 replies · 2 participants
  • a

    alert-raincoat-81485

    08/21/2020, 5:50 AM
    Hello folks, I am trying to register the instances on AWS Service discovery service (cloudmap) but there are no specific API for service discovery where i can register instance id and IP here https://www.pulumi.com/docs/reference/pkg/aws/servicediscovery/service/ Any help?
  • n

    narrow-jackal-57645

    08/21/2020, 7:51 AM
    Q: I have a following GitHub resource:
    import * as github from "@pulumi/github";
    
    new github.Repository("my_repo", {
      name: "my_repo",
      topics: ["typescript"]
    })
    Creation works perfectly. then I updated the
    topics
    value to
    ["javascript"]
    and apply, however I got following error:
    github:index:Repository (my_repo):
        error: 1 error occurred:
        	* updating urn:pulumi:my_company::github-infrastructure::github:index/repository:Repository::my_repo: PATCH <https://api.github.com/repos/my_company/my_repo>: 404 Not Found []
    Wondering if it is a bug or I have missed something important. Many thanks in advance
  • d

    dazzling-sundown-39670

    08/21/2020, 8:16 AM
    I'm stuck in some weird state.. I can't destroy the stack, I can't up it and I can't do
    pulumi stack export | pulumi stack import
    . This is my error:
    state file contains errors: child resource urn:pulumi:production::magento2::kubernetes:core/v1:Namespace$kubernetes:apps::redis refers to missing parent urn:pulumi:production::magento2::kubernetes:core/v1:Namespace::production
    b
    1 reply · 2 participants
Powered by Linen
Title
d

dazzling-sundown-39670

08/21/2020, 8:16 AM
I'm stuck in some weird state.. I can't destroy the stack, I can't up it and I can't do
pulumi stack export | pulumi stack import
. This is my error:
state file contains errors: child resource urn:pulumi:production::magento2::kubernetes:core/v1:Namespace$kubernetes:apps::redis refers to missing parent urn:pulumi:production::magento2::kubernetes:core/v1:Namespace::production
b

billowy-army-68599

08/21/2020, 4:00 PM
hey, did you get this figured out?
View count: 1