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

    calm-greece-42329

    04/14/2019, 7:38 PM
    i guess its kind of set up to go to the pulumi s3 hmm
    w
    • 2
    • 1
  • p

    powerful-nest-49940

    04/15/2019, 7:03 AM
    Hi, I want to run ansible-playbook using Pulumi (like Terraform with local-exec module or remote-exec) there is any provisioner like that in Pulumi i can use ? 10x 🙂
  • s

    stocky-spoon-28903

    04/15/2019, 7:27 AM
    @calm-greece-42329 You’ll be able to use it, but not install the plugin as part of the post-install script
  • g

    gray-elephant-37695

    04/15/2019, 8:28 AM
    Hi all
  • g

    gray-elephant-37695

    04/15/2019, 8:30 AM
    Just looking at moving my ever-growing terraform configs to pulumi. Looking at the get started tutorials - my first question is (using aws here) what VPC does pulumi deploy resources to by default? Does it use the default aws one, or spin up it's own VPC?
    c
    • 2
    • 2
  • g

    gray-elephant-37695

    04/15/2019, 12:17 PM
    Another question...this one related to pulumi cloud - it looks as though it infers relationships between resources through usage eg, if you reference a table in a lambda I suppose it will go ahead and create all the necessary IAM permissions for the lambda to get data from it. If you are running a Task, and the task needs access to a pulumi "Table" is there any way to explicitly define that (because the Task code is opaque it would not be possible for pulumi to infer it). Or do you have to fallback to the provider level / aws and link it all up yourself?
  • g

    gray-elephant-37695

    04/15/2019, 12:23 PM
    Looking at this example I see the bucket name is passed through to the task as an envrionment variable. Maybe pulumi able to use that as a signal that the task role will need access to that bucket? https://github.com/pulumi/examples/blob/master/cloud-js-thumbnailer/index.js
  • g

    gray-elephant-37695

    04/15/2019, 12:27 PM
    Ok answered my own question, not as magical as I thought - looks like lambda and ecs just get very open policies assigned to them.
    w
    • 2
    • 4
  • b

    better-rainbow-14549

    04/15/2019, 2:01 PM
    it would be super cool if you could specify a format string to up / preview
    g
    • 2
    • 11
  • b

    better-rainbow-14549

    04/15/2019, 2:01 PM
    in order to easily extract certain info
  • h

    high-morning-17948

    04/15/2019, 3:41 PM
    Is there any plans on adding a Pulumi plugin for VS Code?
    w
    g
    • 3
    • 5
  • b

    brave-salesmen-42327

    04/15/2019, 3:57 PM
    Bug or Feature? When using teams. With a stack configured to READ only. Attempting to
    pulumi config get ENV_VAR
    (encrypted variable) Errors out with a "no stack <stackName> found" ( paraphrase ) They can actually see and read the stack, but apparently cant read the encrypted environment variables. Even if this is by design, the error message is misleading.
    w
    • 2
    • 1
  • f

    full-dress-10026

    04/15/2019, 4:34 PM
    I'm getting this error while trying to delete my stack:
    aws:ecs:Cluster (app):
        error: Plan apply failed: deleting urn:pulumi:basic-web-kenny::basic-web::awsinfra:x:ecs:Cluster$aws:ecs/cluster:Cluster::app: ClusterContainsServicesException: The Cluster cannot be deleted while Services are active.
            status code: 400, request id: aa1fa14b-5f9b-11e9-bfb5-ab10608170ab
    The ECS cluster named
    app
    does not exist so I'm not sure how it could have active Services. Any ideas?
    w
    • 2
    • 6
  • q

    quaint-queen-45003

    04/15/2019, 4:45 PM
    hello - i'm trying to
    npm install @pulumi/newrelic
    but im hitting a 404
    w
    s
    +2
    • 5
    • 13
  • a

    adamant-dress-73325

    04/15/2019, 7:38 PM
    Is it possible to have pulumi build a docker image from an enclosing directory? I am trying the following but getting errors:
    image: awsx.ecs.Image.fromDockerBuild("test", {
              context: "../",
              dockerfile: "docker/prod/Dockerfile"
            }),
    Error is
    error: unable to prepare context: unable to evaluate symlinks in Dockerfile path:
    . My pulumi code is in a subfolder of my source code directory.
    w
    • 2
    • 2
  • a

    adamant-dress-73325

    04/15/2019, 9:11 PM
    Certificate Validations for ACM don’t seem to be working for me, waited over 40 minutes for validation. Seems like this is an AWS problem but not quite sure.
    g
    s
    • 3
    • 4
  • g

    gray-elephant-37695

    04/16/2019, 8:44 AM
    Are there library versions of pulumi's CLI, I'd like to be able to spin up and tear down some infra as part of some tests it would be nice if the tests could call pulumi up and destroy themeselves?
    s
    g
    • 3
    • 3
  • q

    quaint-teacher-33292

    04/16/2019, 11:58 AM
    Hey all, I'm liking Pulumi a lot so far, but is there a way to make it work with existing infrastructure? I know that `import`/`adopt` is not supported, but is there a workaround to make it happen if I'm careful? In my case, I don't want to re-create a Cloud SQL instance, or a GKE cluster.
    t
    s
    g
    • 4
    • 37
  • s

    shy-army-45455

    04/16/2019, 3:56 PM
    Has there ever been any talk on adding in the ability to import database data through Pulumi? Say by throwing a local SQL file at a database table that's a part of a Pulumi stack?
    w
    • 2
    • 2
  • a

    adamant-dress-73325

    04/16/2019, 5:05 PM
    Hi All, I received the following error when trying to run a preview for some code that was working on a test AWS account, but now does not work on our production account. Seems like its looking for a VPC that might not exist on older aws accounts? How can I debug something like this?
    Diagnostics:
      pulumi:pulumi:Stack (pt-site-qa):
        error: Running program '/Users/richard/tuts/js/pt-site/deployment' failed with an unhandled exception:
        Error: invocation of aws:ec2/getVpc:getVpc returned an error: invoking aws:ec2/getVpc:getVpc: no matching VPC found
            at monitor.invoke (/Users/richard/tuts/js/pt-site/deployment/node_modules/@pulumi/pulumi/runtime/invoke.js:73:33)
            at Object.onReceiveStatus (/Users/richard/tuts/js/pt-site/deployment/node_modules/grpc/src/client_interceptors.js:1205:9)
            at InterceptingListener._callNext (/Users/richard/tuts/js/pt-site/deployment/node_modules/grpc/src/client_interceptors.js:568:42)
            at InterceptingListener.onReceiveStatus (/Users/richard/tuts/js/pt-site/deployment/node_modules/grpc/src/client_interceptors.js:618:8)
            at callback (/Users/richard/tuts/js/pt-site/deployment/node_modules/grpc/src/client_interceptors.js:845:24)
    s
    l
    • 3
    • 13
  • h

    helpful-advantage-49286

    04/16/2019, 6:17 PM
    How do I use a BackendConfig from cloud.google.com/v1beta1?
  • h

    helpful-advantage-49286

    04/16/2019, 6:18 PM
    looking to customize ingress timeouts on glbc (https://cloud.google.com/kubernetes-engine/docs/how-to/configure-backend-service#creating_a_backendconfig)
    c
    • 2
    • 3
  • c

    careful-market-30508

    04/16/2019, 10:52 PM
    Hi Is it possible to run pulumi.com locally ( not pulumi login --local) ?
    s
    s
    +2
    • 5
    • 7
  • t

    tall-librarian-49374

    04/17/2019, 5:07 AM
    What's the estimate of how long it might take before I can do Google Cloud Run with Pulumi?
  • s

    stocky-spoon-28903

    04/17/2019, 7:06 AM
    @tall-librarian-49374 Right now that largely depends on how long it takes to hit the Terraform provider. I was very surprised there wasnt a release to co-incide with google next
  • s

    stocky-spoon-28903

    04/17/2019, 7:06 AM
    Or in fact that there doesn’t appear to be any regular release cadence despite regular commits
    b
    • 2
    • 1
  • t

    tall-librarian-49374

    04/17/2019, 7:09 AM
    @stocky-spoon-28903 Yeah, I understand. I thought you might know how fast that might happen.
  • g

    glamorous-printer-66548

    04/17/2019, 7:10 AM
    i thought cloud run is based off knative? Perhaps the cloud run on GKE variant already works a little with pulumi? (My assumption is that if it’s really based off knative you can just create knative manifests in pulumi via the apiextensions.CustomResource pulumi resource).
    c
    • 2
    • 2
  • s

    stocky-spoon-28903

    04/17/2019, 7:10 AM
    That might be the case - I don’t know much about it to be honest. If it uses an existing API it might be straightforward
  • t

    tall-librarian-49374

    04/17/2019, 7:10 AM
    I need a fully managed one
    g
    w
    • 3
    • 8
Powered by Linen
Title
t

tall-librarian-49374

04/17/2019, 7:10 AM
I need a fully managed one
g

glamorous-printer-66548

04/17/2019, 7:12 AM
yeah that’d be nice but to be honest the fully managed cloud run has some limitations that may be a bummer in some cases. I.e. afaik with the managed one you can’t call resources in your VPC. can’t use Cloud MemoryStore (redis).
Also fully managed cloud run uses always public IPs afaik.
t

tall-librarian-49374

04/17/2019, 7:14 AM
I don't really have a production setup on GCP. Just wanted to play with it. So, no VPC means no VPC...
g

glamorous-printer-66548

04/17/2019, 7:14 AM
i see
🙂
t

tall-librarian-49374

04/17/2019, 7:15 AM
The same is true e.g. for Azure Functions, so I'm used to that 🙂
g

glamorous-printer-66548

04/17/2019, 7:17 AM
yeah we have a production setup on GKE / GCP so some of the things above would be currently a blocker for me (in addition to cloud run being labeled beta 😄 )
w

white-balloon-205

04/17/2019, 3:19 PM
FWIW - this is being tracked here - https://github.com/terraform-providers/terraform-provider-google/issues/3421.
View count: 1