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

    big-piano-35669

    09/02/2018, 8:58 PM
    😄
  • r

    rough-oil-1458

    09/02/2018, 8:58 PM
    Like, i was dying with just terraform
  • r

    rough-oil-1458

    09/02/2018, 8:59 PM
    I had to wear a helmet every time I went to do something.... I can now do everything i want hahahaha
    😈 1
  • r

    rough-oil-1458

    09/02/2018, 8:59 PM
    can you import pulumi and do updates in code?
  • b

    big-piano-35669

    09/02/2018, 8:59 PM
    I love it 🙂
  • r

    rough-oil-1458

    09/02/2018, 9:00 PM
    like waterfall a bunch of updates?
  • b

    big-piano-35669

    09/02/2018, 9:00 PM
    Hmmm... That might be tough, but it's code, so I guess anything is possible.
  • b

    big-piano-35669

    09/02/2018, 9:00 PM
    Oh I see, interesting.
  • r

    rough-oil-1458

    09/02/2018, 9:00 PM
    I dont know if there is an actual use case
  • r

    rough-oil-1458

    09/02/2018, 9:01 PM
    hahahahaha
  • b

    big-piano-35669

    09/02/2018, 9:01 PM
    The Go SDK was designed with this sort of thing in mind, and gives you access to more internals. Might be difficult with the JavaScript SDK, though, because the language host shields you from a lot of the setup/teardown. Because of that, it generally assumes "one program invocation" == "one update."
  • b

    big-piano-35669

    09/02/2018, 9:02 PM
    If you end up with a scenario there, though, let's talk ... I can definitely imagine some, especially for cascading updates to multiple stacks (e.g., "update compute resources", then "update applications" on top) ...
  • r

    rough-oil-1458

    09/02/2018, 9:02 PM
    yea
  • r

    rough-oil-1458

    09/02/2018, 9:03 PM
    at the moment, I'm just happy that I can do conditionals hahahahahaha
  • r

    rough-oil-1458

    09/02/2018, 9:03 PM
    you have no idea..... Im dancing in my room
  • r

    rough-oil-1458

    09/02/2018, 9:03 PM
    tomorrow at work im going to get into trouble
  • r

    rough-oil-1458

    09/02/2018, 9:03 PM
    because they bought TF enterprise
  • b

    big-piano-35669

    09/02/2018, 9:03 PM
    🕺 We aim to make people dance
  • r

    rough-oil-1458

    09/02/2018, 9:03 PM
    and I'm going to say,... "im not using that"
  • r

    rough-oil-1458

    09/02/2018, 9:03 PM
    hahhahahahaha
  • b

    big-piano-35669

    09/02/2018, 9:04 PM
    Well, we do have Pulumi Enterprise, just sayin' .. maybe it's not too late 😉
  • w

    white-balloon-205

    09/02/2018, 9:05 PM
    I think we'll want to work with you to get this hooked up to publish as
    @pulumi/vsphere
    , if that's your ideal outcome.
    @rough-oil-1458 Happy to work with you on moving this into the
    pulumi
    organization and publishing the packages. (+ setting up CI for the repo).
  • r

    rough-oil-1458

    09/02/2018, 9:06 PM
    Cool!
  • r

    rough-oil-1458

    09/02/2018, 9:10 PM
    Is there a way to run pulumi without connecting to your server?
  • b

    big-piano-35669

    09/02/2018, 9:11 PM
    Yes. It's a little awkward right now. See https://pulumi.io/reference/faq.html#can-i-use-pulumi-without-depending-on-pulumicom We are improving this slightly next week with https://github.com/pulumi/pulumi/issues/1818, although it does mean you get into the business of concurrency and state management, similar to Terraform out of the box.
  • r

    rough-oil-1458

    09/02/2018, 9:11 PM
    yea, the backend problem
  • b

    big-piano-35669

    09/02/2018, 9:11 PM
    The Pulumi Enterprise SKU also has additional options, including having a self hosted version of the service, so you're not depending on pulumi.com.
  • r

    rough-oil-1458

    09/02/2018, 9:12 PM
    got cha
  • r

    rough-oil-1458

    09/02/2018, 10:05 PM
    also @big-piano-35669 if I want to apply a pulumi stack, I'd have to call out to a shell correct?
  • r

    rough-oil-1458

    09/03/2018, 10:21 AM
    I noticed tho when I did make install, I have to remove the LICENSE file or pulumi complains about it
    w
    • 2
    • 9
Powered by Linen
Title
r

rough-oil-1458

09/03/2018, 10:21 AM
I noticed tho when I did make install, I have to remove the LICENSE file or pulumi complains about it
w

white-balloon-205

09/03/2018, 12:42 PM
Complains about it in what way?
r

rough-oil-1458

09/03/2018, 12:43 PM
1 sec
bruce.smith@nycw3013364 /g/i/sup-pulumi ❯❯❯ pulumi up
Previewing update of stack 'demo-vsphere'
Previewing changes:

     Type                 Name                     Plan          Info
 *   pulumi:pulumi:Stack  sup-pulumi-demo-vsphere  no change     1 info message

Diagnostics:
  pulumi:pulumi:Stack: sup-pulumi-demo-vsphere
    info: error: [runtime] Running program '/git/iqvia/sup-pulumi' failed with an unhandled exception:
    error: [runtime] /git/iqvia/sup-pulumi/node_modules/@pulumi/vsphere/license:1
    (function (exports, require, module, __filename, __dirname) { Mozilla Public License, version 2.0
                                                                          ^^^^^^
    SyntaxError: Unexpected identifier
        at createScript (vm.js:80:10)
        at Object.runInThisContext (vm.js:139:10)
        at Module._compile (module.js:616:28)
        at Object.Module._extensions..js (module.js:663:10)
        at Module.load (module.js:565:32)
        at tryModuleLoad (module.js:505:12)
        at Function.Module._load (module.js:497:3)
        at Module.require (module.js:596:17)
        at require (internal/module.js:11:18)
        at Object.<anonymous> (/git/iqvia/sup-pulumi/node_modules/@pulumi/index.ts:38:1)

error: an error occurred while advancing the preview
https://gist.github.com/Smithx10/a70b327ab981eb31b6d05aa54a9eed4f
vsphere has a resource called License
I dont know if that is causing issues
w

white-balloon-205

09/03/2018, 12:56 PM
Oh - that is strange indeed. Perhaps an issue with how we place the license file and a bad interaction with the License resource? I’ll need to take a closer look when I’m back on my laptop.
r

rough-oil-1458

09/03/2018, 12:59 PM
Yea, I didn't dive into it too much, because I didn't even know if what I was doing was correct LOL
but, now that things are working... I figure I'd mention it
View count: 1