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

    high-translator-22614

    08/26/2019, 6:28 PM
    (well, CloudFormation might, but that's because it's running from a Special Place)
  • s

    some-doctor-62800

    08/26/2019, 6:29 PM
    ye I expected so
  • s

    some-doctor-62800

    08/26/2019, 6:29 PM
    mainly because your code stops after pulumi gathered the deployment plan
  • s

    some-doctor-62800

    08/26/2019, 6:29 PM
    and then it's all golang
  • s

    some-doctor-62800

    08/26/2019, 6:30 PM
    as far as I see
  • s

    some-doctor-62800

    08/26/2019, 6:30 PM
    alright, I'll output the ips/instance names, start tunnels and start the next stack 🙂
  • h

    high-translator-22614

    08/26/2019, 6:30 PM
    like, if you want every deployment of the app to have its own VPC with fully-private IPs and networking, you need to configure the VPC, configure the access point to the VPC (VPN, bastion host, etc), and configure your local machine/pulumi to use it while in the run
  • h

    high-translator-22614

    08/26/2019, 6:31 PM
    yeah, i would break up that stack into two parts, and build up some tooling to try to make it as automatic as possible
  • s

    some-doctor-62800

    08/26/2019, 6:31 PM
    stackrefs make this relatively painless
  • h

    high-translator-22614

    08/26/2019, 6:31 PM
    exactly
  • s

    some-doctor-62800

    08/26/2019, 6:32 PM
    right, so in that case it really needs to be in the executor/golang pieces of pulumi
  • s

    some-doctor-62800

    08/26/2019, 6:32 PM
    (if you want it all in one run)
  • h

    high-translator-22614

    08/26/2019, 6:33 PM
    i'm not sure that's technically true? You can define your own providers and such.
  • s

    some-doctor-62800

    08/26/2019, 6:33 PM
    looking at both aws and k8s those are really just data definitions
  • s

    some-doctor-62800

    08/26/2019, 6:33 PM
    which are then pushed into golang
  • h

    high-translator-22614

    08/26/2019, 6:34 PM
    right, but i think those ones specifically (i know the aws one is) are wrappers around teraform
  • s

    some-doctor-62800

    08/26/2019, 6:34 PM
    true
  • h

    high-translator-22614

    08/26/2019, 6:34 PM
    i haven't looked into that side in detail, though
  • h

    high-translator-22614

    08/26/2019, 6:35 PM
    it might be as simple as writing a wrapper around the K8S providers that do proxy juggling?
  • s

    some-doctor-62800

    08/26/2019, 6:35 PM
    too soon
  • s

    some-doctor-62800

    08/26/2019, 6:35 PM
    I tried something earlier with node-pty
  • s

    some-doctor-62800

    08/26/2019, 6:35 PM
    process hangs until that socket closes and only then gives you the yes/no deploy prompt
  • h

    high-translator-22614

    08/26/2019, 6:36 PM
    pty seems like the wrong tool?
  • s

    some-doctor-62800

    08/26/2019, 6:36 PM
    nah not for gcloud
  • s

    some-doctor-62800

    08/26/2019, 6:36 PM
    it's picky
  • s

    some-doctor-62800

    08/26/2019, 6:36 PM
    gcloud compute ssh
  • s

    some-doctor-62800

    08/26/2019, 6:36 PM
    it needs a pseudo terminal
  • s

    some-doctor-62800

    08/26/2019, 6:36 PM
    which I need to use again because it allows ssh with IAM logins
  • s

    some-doctor-62800

    08/26/2019, 6:37 PM
    🎉
  • h

    high-translator-22614

    08/26/2019, 6:37 PM
    eesh
Powered by Linen
Title
h

high-translator-22614

08/26/2019, 6:37 PM
eesh
View count: 1