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

    able-tomato-34262

    07/13/2018, 8:37 AM
    There's no way of importing resources yet @orange-airplane-70350 as far as I understood
  • a

    able-tomato-34262

    07/13/2018, 8:39 AM
    Well, no easy way sorry, you need to manually tweak your checkpoint file by adding resources before being able to interact with them
  • a

    able-tomato-34262

    07/13/2018, 8:52 AM
    Otherwise, you can still keep your existing resources and add new ones using pulumi but only the ones you'll have created with pulumi will be manageable that way
    c
    • 2
    • 1
  • t

    tall-librarian-49374

    07/13/2018, 1:00 PM
    Can I not send a message to
    aws.sqs.Queue
    from JS?
    s
    b
    l
    • 4
    • 21
  • a

    adamant-restaurant-73893

    07/13/2018, 8:17 PM
    Our latest blog post from @bitter-oil-46081 http://blog.pulumi.com/managing-github-webhooks-with-pulumi
    šŸŽ‰ 3
    šŸ‘ 1
  • b

    bitter-oil-46081

    07/13/2018, 10:00 PM
    Even if you aren't interested in GitHub Webhooks, I have some information on how you can use the dynamic provider to build your own custom resource provider with your application code. I use this to make it easy to register and delete the hook on a GitHub repository. There's actually a lot of cool stuff you can do there (we use it extensively in our testing).
  • b

    better-quill-77184

    07/13/2018, 10:53 PM
    Hi everyone, happy Friday. I just recently got started with Pulumi and I have a question about suitability for my project. I’m working on a TypeScript library that makes it easier to create and invoke serverless functions. The library is intended to be for scaling batch and stream processing, and less so for event handling. I’m wondering if Pulumi would be a suitable library to use internally for implementation.
  • b

    better-quill-77184

    07/13/2018, 10:54 PM
    After trying a bit of the tutorial I was struck by the need to install and use the pulumi command line tool, and login to the pulumi site for example. This wouldn’t be appropriate for users of my library - so can I use Pulumi in my library/app, but not require my users to in turn install pulumi?
  • b

    big-piano-35669

    07/14/2018, 4:17 PM
    @orange-airplane-70350 @able-tomato-34262 Great discussion on importing existing resources. Importing existing resource state is indeed a "work in progress" for us. We have a variety of GitHub issues tracking conversion tools more broadly, but I just created one to track the idea of a
    pulumi import
    command: https://github.com/pulumi/pulumi/issues/1635. If you want to do it by hand today, you can, but it's very much a manual process along the lines of what @able-tomato-34262 suggests (
    pulumi stack export
    your checkpoint state, add the empty resources to it,
    pulumi stack import
    it, and then run
    pulumi refresh
    to read in all the state). I realize this is cumbersome and if you'd like help, we're happy to spend some time with you.
    pulumi import
    would automate this process.
    s
    • 2
    • 5
  • s

    stocky-spoon-28903

    07/14/2018, 5:42 PM
    @big-piano-35669 How do you feel about adding functions for common policy type templates to
    pulumi-aws
    ?
    b
    • 2
    • 5
  • s

    stocky-spoon-28903

    07/14/2018, 9:26 PM
    Is there any guidance on overriding the type of a field in the
    resources.go
    file of the AWS provider with an array type? I thought
    tokens.NewArrayTypeToken(awsType(autoscalingMod+"/notificationType", "NotificationType"))
    may have been it, but that panics at generation time complaining of a missing module delimiter. I don’t see anything of this form in either the GCP or AWS definitions.
    b
    • 2
    • 4
  • s

    stocky-spoon-28903

    07/15/2018, 12:41 AM
    This library has the potential to be useful: https://github.com/ip-num/ip-num
  • s

    stocky-spoon-28903

    07/16/2018, 4:25 AM
    I’ve just published my first package of Pulumi code ported over from some of the Terraform examples I’ve published in the past. This one is a VPC component. There is some overlap with
    pulumi-aws-infra
    , but this has a few differences: - private/public address space is assigned in an assymetric fashion (as per ā€œPractical VPC Designā€), and subnets are automatically sized based on the available address space and number of AZs - a
    PerAZ
    option can be used for subnet distribution across all AZs in a region. No slack space is left since a second CIDR block can now be added. - VPC endpoints for S3 and DynamoDB can optionally be created - Flow logging can optionally be enabled - Tags can be applied to every resource - A private hosted zone can optionally be created and assigned via a DHCP Options Set It’s available here: https://www.npmjs.com/package/@operator-error/pulumi-aws-vpc (the org name is taken from our blog, https://operator-error.com), and on GitHub at: https://github.com/jen20/pulumi-aws-vpc. Any feedback is much appreciated!
    šŸŽ‰ 6
  • w

    white-balloon-205

    07/16/2018, 4:34 AM
    Congrats and thanks - this looks great!
  • b

    big-piano-35669

    07/16/2018, 4:40 AM
    Incredible work! šŸ’„
    s
    • 2
    • 1
  • t

    tall-librarian-49374

    07/16/2018, 1:19 PM
    What's the current level of GCP support? Will I be able to create a simple Cloud Function with HTTP trigger? (and maybe pub/sub?)
    w
    • 2
    • 4
  • c

    colossal-beach-47527

    07/16/2018, 5:42 PM
    Hey everyone, GitHub’s API is currently experiencing an outage which is causing https://app.pulumi.com to return erroneous 404s. We are looking into the situation.
    • 1
    • 2
  • s

    stocky-spoon-28903

    07/16/2018, 6:22 PM
    Is it possible to adopt a less objectionable directory than
    /opt
    for
    make install
    on *nix? Something under ~ would be ideal. I’m generally not running with write access to
    /opt
    (it has its own ZFS dataset) and running the entire build elevated feels pretty nasty. It doesn’t particularly look like there’s a reason it needs to be machine global instead of per user?
    w
    b
    • 3
    • 3
  • c

    calm-summer-1743

    07/16/2018, 11:22 PM
    hello! i'm new to pulumi. I think it's a great idea and was wondering if it's only meant for cloud resources or also for provisioning a server once it's spawned
    m
    s
    • 3
    • 10
  • s

    stocky-spoon-28903

    07/17/2018, 2:46 AM
    Does anyone have an opinion on adding a
    Tags
    type defined like this: https://github.com/jen20/pulumi-aws-vpc/blob/master/src/index.ts#L13-L19 as an overlay for TypeScript? It would be helpful to have something common, as otherwise most modules end up redeclaring it. Something at the top level with ARN etc would make sense IMO
    • 1
    • 1
  • e

    early-napkin-64960

    07/17/2018, 4:10 AM
    Hi all, I’ve spent the last couple of days diving in to Pulumi to get some AWS infrastructure spun up and have a React app deployed to it. It’s been a great experience so far and I’ve even managed to get it incorporated into my CircleCI workflow with relative ease. I do have a question, that I’ve been struggling with (and I briefly mentioned it to @big-piano-35669 on Twitter) regarding ā€œimmutable infrastructureā€. This may be more a theoretical and conceptual misunderstanding on my behalf than something specifically Pulumi related, but I thought I’d ask since we’re obviously all here with similar goals. To my mind, one of the key tenets of immutable infrastructure is that when you do a re-deployment, you tend to spin up new infrastructure from scratch, deploy to that and then tear down the existing infra so that it’s replaced in it’s entirety. Pulumi seems to have a focus on updating existing infrastructure. E.g. if I change a property of an S3 bucket, preview/update appear to update the existing bucket in place, rather than create a new one. I also noticed this yesterday when I deleted something from the deployed infrastructure manually and then Pulumi couldn’t run the update. What am I missing/misunderstanding here? Would love to hear from anyone/everyone about this. Sorry for the long-winded first post šŸ™‚
    s
    • 2
    • 12
  • s

    stocky-spoon-28903

    07/17/2018, 4:33 AM
    Hi all, I’ve just pushed (to GitHub, not to NPM) another new component for AWS: https://github.com/jen20/pulumi-aws-instance-profile - feedback appreciated! There’s a bit more to do in terms of making it accept things like a list of
    Statements
    optionally instead of complete `PolicyDocument`s, but this is a fairly common set of resources to find together in more traditional AWS infrastructure.
    c
    m
    w
    • 4
    • 23
  • a

    adventurous-jordan-10043

    07/17/2018, 12:05 PM
    Hi, I know Pulimi corp was founded in 2017 but when did work on Pulumi started ? I swear I saw something about it somewhere but I can no longer find it šŸ˜ž
  • a

    able-tomato-34262

    07/17/2018, 12:07 PM
    The first commit according to Github is from 2017 as well I think @adventurous-jordan-10043
  • a

    adventurous-jordan-10043

    07/17/2018, 12:15 PM
    Yep I'm looking for something like first draft / POC / MVP of the whole concept behind Pulumi
  • a

    adventurous-jordan-10043

    07/17/2018, 12:15 PM
    If it's 2017 then it's 2017 but I thought it was a bit earlier than that
  • c

    colossal-beach-47527

    07/17/2018, 2:48 PM
    I believe the first record that I’m aware of it being ā€œa thingā€ was this blog post, from June, 2017: http://joeduffyblog.com/2017/06/01/an-update-on-me-pulumi/ As far as a proof of concept or MVP of Pulumi, the product and technology has evolved a lot since last summer. It wasn’t until the Fall of last year that the programming model you see today really started to take shape. (Before then there were a lot of differences in how programming languages and the core libraries were handled. Those early versions were pretty rough to use…)
    šŸ‘ 1
  • a

    adamant-restaurant-73893

    07/17/2018, 8:12 PM
    Latest from our blog: http://blog.pulumi.com/serving-a-static-website-on-aws-with-pulumi
    šŸ‘ 4
  • a

    adamant-restaurant-73893

    07/17/2018, 8:13 PM
    Thanks to @colossal-beach-47527
    šŸ‘‹šŸ½ 1
  • r

    ripe-lizard-7955

    07/17/2018, 8:36 PM
    so many šŸ”„ blogs coming out!
    šŸ’„ 1
Powered by Linen
Title
r

ripe-lizard-7955

07/17/2018, 8:36 PM
so many šŸ”„ blogs coming out!
šŸ’„ 1
View count: 1