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
python
  • f

    future-traffic-93788

    07/12/2019, 11:52 PM
    yeah
  • h

    high-translator-22614

    07/12/2019, 11:52 PM
    i also do a lot of
    ComponentResource
    , less for specialized configuration and more because I work in AWS and in AWS, nothing is a single resource
  • h

    high-translator-22614

    07/12/2019, 11:53 PM
    so being able to bundle up several resources into a single concept is really handy
  • f

    future-traffic-93788

    07/12/2019, 11:54 PM
    ah, interesting
  • h

    high-translator-22614

    07/12/2019, 11:58 PM
    so, like, you would do the above inside of a
    ComponentResource
    with the nginx behind it and whatever else
  • h

    high-translator-22614

    07/12/2019, 11:58 PM
    so at a high level, you can just be like "yeah, spin up a service using this code base at that domain and ..." and you've abstracted the details
  • f

    future-traffic-93788

    07/12/2019, 11:59 PM
    yeah, do you have a link to any examples (from pulumi or otherwise)?
  • h

    high-translator-22614

    07/13/2019, 12:01 AM
    https://www.pulumi.com/docs/reference/programming-model/#components is the official docs
  • f

    future-traffic-93788

    07/13/2019, 12:02 AM
    oh, I see. This is the base resource used by things like Service
  • h

    high-translator-22614

    07/13/2019, 12:02 AM
    well, it's not the same?
  • h

    high-translator-22614

    07/13/2019, 12:02 AM
    it's meant to be a resource you build up out of other resources
  • f

    future-traffic-93788

    07/13/2019, 12:02 AM
    I'm still new to pulumi so forgive me haha
  • h

    high-translator-22614

    07/13/2019, 12:03 AM
    it's more like a composite resource
  • f

    future-traffic-93788

    07/13/2019, 12:03 AM
    *Service uses CustomResource
  • h

    high-translator-22614

    07/13/2019, 12:03 AM
    my own work is public, but i've also written a fair amount of abstraction, so they're not great examples of "how do i make a componenet"
  • h

    high-translator-22614

    07/13/2019, 12:03 AM
    oh, not the same
  • f

    future-traffic-93788

    07/13/2019, 12:03 AM
    yeah, but has the same sort of structure it looks like
  • f

    future-traffic-93788

    07/13/2019, 12:03 AM
    I'll dig into this more
  • f

    future-traffic-93788

    07/13/2019, 12:04 AM
    thanks for your help
  • h

    high-translator-22614

    07/13/2019, 12:05 AM
    yeah, tbh i haven't looked into
    CustomResource
    yet because it sounds like a biiig can of worms
  • f

    future-traffic-93788

    07/13/2019, 12:05 AM
    yeah, my interests lie in the direction of custom resources and composites to create custom building blocks
  • h

    high-translator-22614

    07/13/2019, 12:06 AM
    yeah, you'd need
    CustomResource
    if you're teaching pulumi to interact with new services?
  • f

    future-traffic-93788

    07/13/2019, 12:06 AM
    yeah, thanks again. I'll start digging into this more on monday
  • h

    high-translator-22614

    07/13/2019, 12:06 AM
    good luck
  • h

    high-translator-22614

    07/13/2019, 12:07 AM
    (i am trying to get my component abstractions into pulumi, but I'm also learning pulumi and there's a lot of rough-edge smoothing that needs to happen)
  • f

    future-traffic-93788

    07/13/2019, 12:07 AM
    yeah, but they seem to be coming along pretty quickly. Seems like just a year ago none of this existed yet
  • h

    high-translator-22614

    07/13/2019, 12:08 AM
    yeah, young projects move really fast
  • h

    high-translator-22614

    07/13/2019, 12:09 AM
    i'm kind of excited because configuration as code always scales so much nicer when you're using actual programming languages
  • n

    nutritious-microphone-86225

    07/13/2019, 5:26 PM
    @high-translator-22614 @stocky-spoon-28903 thx for suggestions I will try to see what I can do with these. Any samples available publicly with that?
  • h

    high-translator-22614

    07/13/2019, 6:36 PM
    i've written a bunch of tooling for my stuff, but it's not best practices
Powered by Linen
Title
h

high-translator-22614

07/13/2019, 6:36 PM
i've written a bunch of tooling for my stuff, but it's not best practices
View count: 1