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

    adventurous-jordan-10043

    09/12/2018, 12:53 PM
    Is it me or does it communicate directly with providers sometimes ?
    w
    • 2
    • 5
  • a

    adventurous-jordan-10043

    09/12/2018, 12:54 PM
    Without going through the engine ?
  • r

    rough-oil-1458

    09/12/2018, 1:47 PM
    I was thinking about how to call Pulumi apply from a program
  • r

    rough-oil-1458

    09/12/2018, 1:47 PM
    Or pulumi up*
  • r

    rough-oil-1458

    09/12/2018, 1:48 PM
    Idea = browser => buttonEvent => server => pulumi.up(my pulumi stuffz)
  • w

    white-balloon-205

    09/12/2018, 1:56 PM
    @rough-oil-1458 Definitely possible! We've seen several folks build Docker images around
    pulumi
    which can be used to automate things like this. In fact, easy to use something like
    cloud.Task
    to kick off the
    pulumi up
    invocation.
  • r

    rough-oil-1458

    09/12/2018, 2:05 PM
    yea, but i was hoping to do this natively
  • r

    rough-oil-1458

    09/12/2018, 2:05 PM
    and not shell out, or invoke it as a scheduled job
  • r

    rough-oil-1458

    09/12/2018, 2:05 PM
    but i guess shelling out isnt the end of days
  • r

    rough-oil-1458

    09/12/2018, 2:06 PM
    The Hashicorps do this in terraform enterprise by mounting the docker socket ewwww
  • r

    rough-oil-1458

    09/12/2018, 2:06 PM
    and calling a container that runs the TF bin
  • r

    rough-oil-1458

    09/12/2018, 2:07 PM
    but should I just be able to spawn a go routine use a mutex and run an up?
  • r

    rough-oil-1458

    09/12/2018, 2:07 PM
    or same in JS
  • r

    rough-oil-1458

    09/12/2018, 2:07 PM
    im thinking about how I can use pulumi to schedule across stacks
  • r

    rough-oil-1458

    09/12/2018, 2:08 PM
    https://blog.edgemesh.com/dockerception-part-1-76db5a583f46?gi=6368b2afd326
  • r

    rough-oil-1458

    09/12/2018, 2:08 PM
    this is kind of the workflow
  • r

    rough-oil-1458

    09/12/2018, 2:08 PM
    They do it by calling the compose CLI, I'm just wondering if it's the cleanest way
  • w

    white-balloon-205

    09/12/2018, 2:09 PM
    You could in theory build something that statically links in the
    <http://github.com/pulumi/pulumi/pkg|github.com/pulumi/pulumi/pkg>
    pieces. But probably going to be easier to just run
    pulumi
    CLI commands. Either way -
    pulumi
    spawns several subprocesses for various resource providers and language hosts.
  • r

    rough-oil-1458

    09/12/2018, 2:10 PM
    ok
  • r

    rough-oil-1458

    09/12/2018, 2:10 PM
    Ill just shell out
  • r

    rough-oil-1458

    09/12/2018, 2:11 PM
    Is there a machine readable output?
  • w

    white-balloon-205

    09/12/2018, 2:16 PM
    Currently no (except for
    pulumi output
    ). But definitely want to add it. PRs welcome as well!
  • s

    stocky-spoon-28903

    09/12/2018, 2:24 PM
    @rough-oil-1458 That isn’t how Terraform Enterprise works
  • r

    rough-oil-1458

    09/12/2018, 2:25 PM
    jen20, ahhh thats what this guy Todd told me
  • r

    rough-oil-1458

    09/12/2018, 2:26 PM
    From hashicorp in a call... 😞
  • r

    rough-oil-1458

    09/12/2018, 2:26 PM
    ./never trust the people, only zeee c0des
  • s

    stocky-spoon-28903

    09/12/2018, 2:26 PM
    🙂 I wrote that code back in the day, so unless it’s been reworked to be made a lot worse it doesnt mount the docker socket
  • r

    rough-oil-1458

    09/12/2018, 2:27 PM
    Yea, I remember you working there, and then you went to Joyent.... I got excited for some Nomad in the GZ
  • r

    rough-oil-1458

    09/12/2018, 2:27 PM
    and then poof, Civil war in joyent
  • r

    rough-oil-1458

    09/12/2018, 2:27 PM
    lol, Did you do the original? or the one that runs 22 docker containers?
Powered by Linen
Title
r

rough-oil-1458

09/12/2018, 2:27 PM
lol, Did you do the original? or the one that runs 22 docker containers?
View count: 1