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

    limited-rainbow-51650

    06/01/2020, 8:53 AM
    I have a pending task in my state from a previous failed run. How can I remove this pending task?
    d
    • 2
    • 1
  • c

    clean-eve-6048

    06/01/2020, 8:57 AM
    When trying to run tf2pulumi I’m getting messages: unknown function ‘filebase64’ undefined variable module Is it expected? Or should tf2pulumi support import terraform modules and terraform functions?
  • l

    loud-helmet-19753

    06/01/2020, 8:58 AM
    I'm using Pulumi Python SDK to deploy an EC2 instance with one security group attached. If I attach additional security group to that same instance, Pulumi terminates previously create EC2 instance and deploys a new instance with 2 security groups. Is it possible to avoid EC2 instance termination and instruct Pulumi to simply attach additional security group to existing instance?
    k
    • 2
    • 1
  • d

    dazzling-vr-33407

    06/01/2020, 10:14 AM
    I'm stuck on a few basic concepts. We're a SaaS which creates staticaly build websites (in Gatsby). We're porting an old legacy application which was multi-tenant PHP based... Anyway, our current pre-alpha, essentially works by doing a build on Netlify of our React application and handles the hosting. It pulls data from a CMS we set up per website. The current way we would set up new sites is not going to scale for us, so i'm looking at Pulumi. My issues I have is understanding the flow.... ie. We need to set up a CMS per customer (with some pre-configured configuration options). Then we need to set up an environment to do a
    yarn build
    which then builds the site and capable of doing new builds EVERY time something on the CMS changes, (similar to Netlify) and then deploy it to some CDN/Cloudfront(S3 etc). No preference here though. (1) The confusion I have is basically our new SaaS IS the pulumi project right? Or would we have multiple projects, one per customer? Additionally, if our customers choose their hostname on our main application, I can't find anything within Pulumi which let's us pass variabe/configs from our app to Pulumi to handle the automation part. (The search on Pulumi docs is down so it's making it realy difficult to slice through the docs). (2) Any one got any nice ideas for how we handle the building of the site part? The beauty of Netlify was that it handled that for us, but it's way too expensive for the build minutes we need.
    b
    i
    • 3
    • 4
  • d

    dazzling-vr-33407

    06/01/2020, 10:15 AM
    Any of course, https://www.pulumi.com/docs/search/?q=config isn't loading for me. So just a heads up incase wasn't reported yet.
  • d

    dazzling-vr-33407

    06/01/2020, 10:16 AM
  • f

    few-apartment-82932

    06/01/2020, 11:48 AM
    Hi, I followed the basic tutorial to start a k8s cluster using Pulumi (creating the cluster and then adding a NGINX deployment on it). This works fine (except when using a non-default Amazon credentials, although I'm not sure why). The problem I have is that after all the steps complete, I couldn't access the public IP of the nginx deployment from my browser. I tried updating the code using that of another tutorial (which sets up an nginx to redirect the pulumi.github.io page), and all the steps worked correctly but I still couldn't see the page from outside. Could someone indicate what permissions I should change?
  • f

    few-apartment-82932

    06/01/2020, 11:49 AM
    default.confindex.ts
  • b

    bland-cat-29878

    06/01/2020, 1:14 PM
    Does anyone know if this https://www.pulumi.com/docs/reference/pkg/vsphere/ will work on the free vmware product: https://www.vmware.com/uk/products/vsphere-hypervisor.html
    l
    • 2
    • 3
  • i

    incalculable-dream-27508

    06/01/2020, 1:34 PM
    The module docs make it sound like it should work
  • i

    incalculable-dream-27508

    06/01/2020, 1:35 PM
    But I can't say I know
  • b

    bland-cat-29878

    06/01/2020, 1:35 PM
    I'm wondering how it knows where to find the host - VSPHERE_SERVER seems to be the name of the datacenter not an IP or anything
  • b

    bland-cat-29878

    06/01/2020, 1:36 PM
    aha
  • b

    bland-cat-29878

    06/01/2020, 1:36 PM
    https://www.pulumi.com/docs/reference/pkg/vsphere/host/
  • b

    bland-cat-29878

    06/01/2020, 1:36 PM
    oh no - that creates a host...
  • b

    bland-cat-29878

    06/01/2020, 1:38 PM
    actually it can import the host
  • b

    bland-cat-29878

    06/01/2020, 1:38 PM
    ok
  • b

    bland-cat-29878

    06/01/2020, 1:38 PM
    i'm not sure the example makes any sense though unless I'm missing something
  • c

    cuddly-lizard-88530

    06/01/2020, 2:33 PM
    I'm following this example for setting up a lambda function that can access RDS: https://gist.github.com/lukehoban/5c168258b641368dcccc7810dc454ca9
  • c

    cuddly-lizard-88530

    06/01/2020, 2:34 PM
    However, if I switch to
    aws.lambda.Function
    (not Callback), it doesn't have
    policies
    prop.
  • c

    cuddly-lizard-88530

    06/01/2020, 2:34 PM
    And thus I cannot put the function into the VPC and it can't access RDS.
  • c

    cuddly-lizard-88530

    06/01/2020, 2:34 PM
    Any ideas on how to do that?
  • c

    cuddly-lizard-88530

    06/01/2020, 2:36 PM
    @white-balloon-205 I think it is your example on that gist.
    w
    • 2
    • 3
  • i

    incalculable-engineer-92975

    06/01/2020, 3:09 PM
    Where is debuggable code on the roadmap for Pulumi? I know we have pulumi.log (in Typescript) but that's not a substitute for breakpoints.
    f
    • 2
    • 4
  • i

    incalculable-dream-27508

    06/01/2020, 4:08 PM
    I tried in python, but I'm not too attached to it, since I'm just playing around at this point - what would be a way to create a VM on OpenStack in an existing network? https://pulumi-community.slack.com/archives/CDE799L1M/p1591014929005500 describes my attempts so far.
  • c

    chilly-hairdresser-56259

    06/01/2020, 4:34 PM
    I feel like this question has been asked previously, but I have not been able to find it. Is there a way within a single Pulumi program to grab resource references in a seperate AWS account? For example centrally managed DNS one one account, therefore when you create an ACM certificate in Account B, the DNS A Record for Validation would be pushed to Account A in the central account.
    g
    m
    • 3
    • 2
  • f

    few-apartment-82932

    06/01/2020, 5:34 PM
    Hi, I followed the basic tutorial to start a k8s cluster using Pulumi (creating the cluster and then adding a NGINX deployment on it). This works fine (except when using a non-default Amazon credentials, although I'm not sure why). The problem I have is that after all the steps complete, I couldn't access the public IP of the nginx deployment from my browser. I tried updating the code using that of another tutorial (which sets up an nginx to redirect the pulumi.github.io page), and all the steps worked correctly but I still couldn't see the page from outside. Could someone indicate what permissions I should change?
    b
    • 2
    • 12
  • f

    few-apartment-82932

    06/01/2020, 5:34 PM
    https://pulumi-community.slack.com/archives/C84L4E3N1/p1591012170320300
  • e

    echoing-breakfast-73834

    06/01/2020, 9:23 PM
    Do child resources of a
    ComponentResource
    have to be named uniquely for the entire stack (as in different for all instances of a given
    ComponentResource
    ) or just unique within each
    ComponentResource
    instance? In other words, if I have a structure like this:
    | ParentResource
    |- ChildResource
    Can I instantiate two instances named like this where both ChildResources have a locally but not globally unique name:
    | A-ParentResource
    |- B-ChildResource
    
    | B-ParentResource
    |- B-ChildResource
    Or do I have to do something like this where each ChildResource has a locally and globally unique name:
    | A-ParentResource
    |- B-ChildResource
    
    | B-ParentResource
    |- C-ChildResource
    a
    • 2
    • 1
  • d

    dazzling-vr-33407

    06/02/2020, 11:20 AM
    Would it beb appropriate to have ONE STACK per customer?
Powered by Linen
Title
d

dazzling-vr-33407

06/02/2020, 11:20 AM
Would it beb appropriate to have ONE STACK per customer?
View count: 1