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

    cool-egg-852

    03/28/2020, 6:13 AM
    Anyone know why my travis builds always fail due to an issue with opeensl and gcp-credentials.json?
    e
    • 2
    • 2
  • c

    colossal-room-15708

    03/28/2020, 8:35 AM
    Is https://www.pulumi.com/docs/guides/continuous-delivery/github-actions/ only compatible with the Pulumi service? Seems like using a storage backend doesn't work.
    error: PULUMI_ACCESS_TOKEN must be set for login during non-interactive CLI sessions
    w
    • 2
    • 4
  • g

    glamorous-king-74395

    03/28/2020, 2:26 PM
    Hi guys, Just landed new on the channel. Would massively appreciate if any one can point me in the right direction. Any help, any tip please. I´m aware that the question below is quite heavy and maybe here is not the right place to ask, but here it goes. Q: Anyone knows, on Alicloud provider, any way to extract the full Infrastructure definition for an Account, on a single Region, containing SLBs, VPCs, ECS instances, Elastic IPs, and basically all the assets that do exist there. Any of JSON, YAML, CSV, Text or other means. Step by step or any other way. Thanks in advance.
  • c

    clean-eve-27532

    03/28/2020, 3:11 PM
    Hey everyone, Anyone had any luck deploying the Linkerd helm chart with Pulumi? We're using cert-manager so would like that to handle certificate rotation automatically. Is there any way nice way of handling the creation of a cert-manager Certificate (which creates a Kubernetes Secret), then using that Secret in the deployment of the Helm chart? I can get it to deploy the Certificate fine but can't fetch the Secret as it doesn't exist until after this has happened https://gist.github.com/harrymitchinson/ea252ebcc5170db0c48ae2a55ccd51d6
  • b

    better-account-3959

    03/28/2020, 5:30 PM
    hi, like yesterday i have horrible performance. every pulumi-command hangs for minutes. but not only the command line, the webapp "app.pulumi.com" is also endlessly loading. so i think you have problems on your backend?
  • f

    famous-kite-69533

    03/28/2020, 6:03 PM
    Hi! I am still learning Pulumi but I thought I'd share some code I am currently using to automate some deployments to Kubernetes. This is the repo https://github.com/vitobotta/pulumi-kubernetes-deployments
    👍 2
  • a

    alert-restaurant-79151

    03/28/2020, 9:02 PM
    Hi! I'm getting:
    error: aws:ecs/taskDefinition:TaskDefinition resource 'service' has a problem: ECS Task Definition container_definitions is invalid: Error decoding JSON: json: cannot unmarshal object into Go value of type []*ecs.ContainerDefinition
    My code is:
    const service = new aws.ecs.TaskDefinition("service", {
        containerDefinitions: fs.readFileSync("task-definition.json", "utf-8"),
        family: "some_family",
    });
  • a

    alert-restaurant-79151

    03/28/2020, 9:13 PM
    https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/ecs_task_definition.html.markdown figured it out, has to be an array not an object as the root object in the JSON.
  • a

    alert-restaurant-79151

    03/28/2020, 9:15 PM
    containerDefinitions: `[${fs.readFileSync("task-definition.json", "utf-8")}]`
    This works.
  • m

    mammoth-france-95463

    03/29/2020, 3:31 PM
    A simple beginner question: what happens if you manually created some resources in Azure and you use these resources in a stack? Will the resources be (re)created? Of only the new ones?
    r
    • 2
    • 1
  • a

    alert-restaurant-79151

    03/29/2020, 6:14 PM
    Where is this "below" and how do I add load balancers to my ecs service?
  • m

    miniature-arm-21874

    03/29/2020, 9:56 PM
    Hi I have a stack for which i don't know the passphrase. I know that there are no secrets in there and all i want to do is check what resources it created and likely destroy it (assuming nothing is in use) but i can't get passed the passphrase bit to even list the resources. what're my options?
  • c

    colossal-room-15708

    03/30/2020, 6:03 AM
    Is there now a way to have complex values in the config file? i.e.
    subnets = [('AzureBastionSubnet', '10.2.1.0/27'), ('GatewaySubnet', '10.2.1.32/27')]
    I'd like to move this out of the code into config
    e
    s
    c
    • 4
    • 7
  • g

    gray-tailor-20387

    03/30/2020, 8:25 AM
    Hey community, 2 questions I want to make separation between management and application in my cluster and thinking of doing this with 2 different nodepools. Is this a good idea? In python pulumi i can't seem to link an additional node pool to my cluster. I'm supposed to do this with "*`cluster_id`*" in *"*class `pulumi_digitalocean.*KubernetesNodePool"*`But i have no clue where I'm supposed to get this cluster_id. (in Terraform they do it this way:
    cluster_id = digitalocean_kubernetes_cluster.foo.id
    b
    • 2
    • 1
  • s

    stale-knife-36790

    03/30/2020, 9:24 AM
    How do I authorize my GCP Pulumi nodejs app/API endpoint? I'm currently only able to load the data from GCP console.
  • s

    stale-knife-36790

    03/30/2020, 9:24 AM
    (Getting a 403 permission error when trying to load it in my browser)
  • f

    faint-motherboard-95438

    03/30/2020, 9:29 AM
    Hi, I registered for the webinar “Getting Started with Infrastructure as Code with Pulumi” which is about to start, but it seems it forces to install an app to access it unfortunately, which I won’t. Will there be a replay available without having to install anything ?
    t
    b
    • 3
    • 7
  • g

    gorgeous-postman-12842

    03/30/2020, 9:55 AM
    TBH if there is a static screen in a webinar, its quite boring and defeats the purpose of webinar 🙂 . It would be wise to do a workshop in any language and show it to folks who are unable to do the workshop themself while on the call.
    t
    • 2
    • 2
  • f

    famous-breakfast-43486

    03/30/2020, 9:56 AM
    Hi there
    👋 4
  • s

    stale-knife-36790

    03/30/2020, 11:10 AM
    Is there any way to authorize a pulumi GCP app so I can access the (GCP) API endpoint with my browser (or curl)?
    curl <https://europe-west1-project-name.cloudfunctions.net/api-name>
  • g

    great-analyst-59265

    03/30/2020, 11:29 AM
    Is there a way to download resource plugins manually? I am using Pulumi v1.13.1 on Windows 10 WSL Ubuntu 18.04 and it takes around 44 minutes to download resource plugin azure-1.13.0 (same for other plugins). It works fine on a Azure Build Agent so as a workaround I want to download and install the resource plugins manually on my local machine.
    t
    • 2
    • 6
  • b

    bumpy-agent-19616

    03/30/2020, 11:30 AM
    When we try to create Azure AKS via pulumi, we get a k8s cluster created with a windows profile by default. Every time we build our project through CircleCI/Pulumi CLI we see the windows profile being updated. We would like to disable this behaviour. Do you have any suggestions on this for us?
    👍 1
    t
    • 2
    • 4
  • b

    bright-jordan-62321

    03/30/2020, 11:51 AM
    Has anyone used Pulumi to create Azure Databricks successfully? I have been hitting some error constantly:
    Error waiting for the completion of the creating/updating of databricks workspace "dpworkspaceeadbac04" (resource group "resourcegroup8de3db5b"): code="permissionnotpropagated" message="permission_not_propagated: a retryable error occurred. databricks has not yet received permission to access resources in your managed resource group, which is necessary to set up your workspace. this process could take up to an hour. please retry then.
    • 1
    • 1
  • s

    stale-knife-36790

    03/30/2020, 12:12 PM
    How do I call a function (made with Pulumi) with an authentication token (Google Cloud Platform)?
  • b

    better-flower-95361

    03/30/2020, 12:40 PM
    Hi guys, I need some help with provisioning cluster nodes with rancher2. I have created cluster definition with one node (for know). I can connect to the cluster form pulumi and cluster is created but there are no nodes. Here is one defintion for the node:
    var node1 = <ClusterRkeConfigNode>{};
    node1.roles = ['worker'];
    node1.user = '??'; // registry user
    node1.labels = { 'frontend': 'ui' };
    node1.address = '192.168.5.31';
    node1.sshKeyPath = './keys/node1.id_rsa';
    After running pulumi up command (with verbose node) I can see in the log following error: I0330 14:04:53.793631 4620 host.go:451] Error closing 'nodejs' language plugin during shutdown; ignoring: 1 error occurred: * TerminateProcess: Access is denied. I don't know where is the problem. Who is registry user?
    b
    • 2
    • 14
  • f

    flat-parrot-25697

    03/30/2020, 1:12 PM
    hi, in order to build another app from the simple HTML page in the example - https://www.pulumi.com/docs/tutorials/aws/ecs-fargate/ is it enough to change the app folder content (and Dockerfile) or should I also change anything else? especially this line-
    image: awsx.ecs.Image.fromPath("nginx", "./app"),
    what is the meaning of the "nginx"
    s
    • 2
    • 2
  • c

    cool-egg-852

    03/30/2020, 4:52 PM
    Is there a way to reset the stack state to a previous version? Something broke with my connection, and now pulumi thinks every resource is new.
    g
    h
    • 3
    • 8
  • c

    colossal-alarm-90650

    03/30/2020, 7:31 PM
    I seem to have trouble searching for an aws resource by tag. For instance when looking for an s3 tagged with { Name: ‘foobar’ } I imagine I could get the id by the expression “const s3id = aws.s3.getBucket({ tags: { Name: ‘foobar’ } }, { async: true }).when(bucket => bucket.id)” but I get a red marker on tags even though it is a property in the object. Any ideas? Is this not how to search by tag?
    g
    • 2
    • 2
  • b

    bitter-zebra-93800

    03/30/2020, 11:39 PM
    Anyone done a tool that parses pulumi stack output ? I want to capture it and insert it into some ansible code
    g
    • 2
    • 1
  • b

    breezy-gold-44713

    03/30/2020, 11:54 PM
    I’m getting a version incompatibility error. I’ve reinstalled the pulumi node stuff via npm, and I’ve tried blowing away my plugins in ~/.pulumi to force a re-download. Still getting the error, any ideas?
    Found incompatible versions of @pulumi/pulumi. Differing major or minor versions are not supported.
       Version 1.13.1 referenced at node_modules/@pulumi/pulumi/package.json
       Version 1.10.1 referenced at node_modules/@pulumi/kubernetesx/node_modules/@pulumi/pulumi/package.json
    • 1
    • 1
Powered by Linen
Title
b

breezy-gold-44713

03/30/2020, 11:54 PM
I’m getting a version incompatibility error. I’ve reinstalled the pulumi node stuff via npm, and I’ve tried blowing away my plugins in ~/.pulumi to force a re-download. Still getting the error, any ideas?
Found incompatible versions of @pulumi/pulumi. Differing major or minor versions are not supported.
   Version 1.13.1 referenced at node_modules/@pulumi/pulumi/package.json
   Version 1.10.1 referenced at node_modules/@pulumi/kubernetesx/node_modules/@pulumi/pulumi/package.json
I figured out the cause. I’m not sure where this dependency came from, but removing it cleared things up:
+++ b/package.json
@@ -5,7 +5,6 @@
   },
   "dependencies": {
     "@pulumi/kubernetes": "^1.0.0",
-    "@pulumi/kubernetesx": "^0.1.1",
     "@pulumi/pulumi": "^2.0.0-beta.1"
   }
 }
View count: 1