https://pulumi.com logo
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
  • s

    straight-jordan-23612

    08/22/2019, 12:46 AM
    pulumi:pulumi:Stack ff-data-import-lambda-dev running read pulumi:pulumi:StackReference factsfirstops/ff-infra/dev
        pulumi:pulumi:Stack ff-data-import-lambda-dev running TypeError: Cannot read property 'outputs' of undefined
    g
    a
    +4
    • 7
    • 22
  • c

    colossal-thailand-53880

    08/22/2019, 2:00 AM
    Anyone from Pulumi support online? We're trying to upgrade our plan, but your billing system is giving us a
    500
    server error. Please help us give you more money.
    c
    c
    • 3
    • 5
  • h

    high-translator-22614

    08/22/2019, 2:05 AM
    their office is in seattle, where's it's 7PM right now
    b
    b
    • 3
    • 2
  • d

    damp-room-71337

    08/22/2019, 10:35 AM
    am I missing something, or is there no way to specify a name for an EKS cluster with Pulumi?
    b
    a
    a
    • 4
    • 22
  • b

    bitter-painter-81429

    08/22/2019, 11:48 AM
    Hi all, I am an employee of Zensar Technologies, Pune, IN & recently we undergone with the demo's of Pulumi by Experts & we have chosen this as a main tool for our IAC Framework. I am connected with Pulumi guys since few days to clear all technical aspects and doubts & we are satisfied with the response.
    🎉 1
    b
    b
    • 3
    • 10
  • b

    best-xylophone-83824

    08/22/2019, 11:56 AM
    Pulimi's example to create GKE cluster involves fetching master version programmatically, but it leads to GCP API errors when new version is released:
    ~ gcp:container/cluster:Cluster: (update)
            [id=gke01-london]
            [urn=urn:pulumi:gke01-london::gcp-gke::gcp:container/cluster:Cluster::gke01-london]
            [provider=urn:pulumi:gke01-london::gcp-gke::pulumi:providers:gcp::default_1_0_0_beta_1::1a4df25a-af6f-4fda-80df-2c8bd047655a]
          ~ minMasterVersion: "1.13.7-gke.19" => "1.13.7-gke.24"
          ~ nodeVersion     : "1.13.7-gke.19" => "1.13.7-gke.24"
    error: Plan apply failed: 1 error occurred:
    	* updating urn:pulumi:gke01-london::gcp-gke::gcp:container/cluster:Cluster::gke01-london: googleapi: Error 400: Must specify a field to update., badRequest
    b
    • 2
    • 6
  • b

    best-xylophone-83824

    08/22/2019, 12:09 PM
    @broad-dog-22463,
    pulumi up --refresh
    should discover that cloud resource was deleted, right? It was deleted due to 'deleteBeforeCreate' on a previous run, then creation failed, so now I am adding '--refresh' in a hope that pulumi will figure out that resource is not there anymore, but it still tries to update 😕
    b
    • 2
    • 3
  • d

    damp-room-71337

    08/22/2019, 5:35 PM
    I’m struggling with using
    Outputs
    in template strings - whatever I do here returns a
    Calling [toString] on an [Output<T>]...
    error - what am I missing?
    // Route53 zone
    const clusterApexZone = new aws.route53.Zone("apex", {
      name: `${pulumi.getStack()}.<http://synchronicity-dc.uk|synchronicity-dc.uk>`
    });
    
    // Route53 Zone update policy
    const eksWorkerRoute53ReadWritePolicy = new aws.iam.Policy(
      "eks-worker-r53-rw",
      {
        description:
          "Allows EKS workers to read/write records in a specific R53 zone",
        policy: pulumi.interpolate `{
          Version: "2012-10-17",
          Statement: [
            {
              Action: ["route53:ChangeResourceRecordSets"],
              Effect: "Allow",
              Resource: "arn:aws:route53:::hostedzone/${clusterApexZone.zoneId}"
            }
          ]
        }`
      }, { dependsOn: clusterApexZone }
    );
  • c

    cool-egg-852

    08/22/2019, 6:18 PM
    Instead of doing that, I think try either
    pulumi.Output()
    or do
    pulumi.interpolate
    only on the
    Resource
    value.
  • c

    cool-egg-852

    08/22/2019, 10:18 PM
    Why does pulumi try to recreate the DB cluster if you add
    availabilityType: 'REGIONAL'
    ? Should it not simply make it an HA cluster?
    c
    w
    b
    • 4
    • 19
  • h

    helpful-bear-175

    08/22/2019, 11:54 PM
    General question about the Circleci orb for pulumi? I'm having to install addition things like
    aws-iam-authenticator and npm install
    before running pulumi preview
  • h

    helpful-bear-175

    08/22/2019, 11:54 PM
    Who can I work with on this?
    g
    • 2
    • 2
  • b

    best-xylophone-83824

    08/23/2019, 10:02 AM
    All pulumi examples configure k8s provider with:
    cmd-args: config config-helper --format=json
            cmd-path: gcloud
            expiry-key: '{.credential.token_expiry}'
            token-key: '{.credential.access_token}'
    which I think totally ignores
    { provider: ... }
    argument used to create
    gcp.container.Cluster
    , and just picks whatever env vars or ~/.config/gcloud points to
    • 1
    • 1
  • b

    billowy-magazine-60366

    08/23/2019, 11:15 AM
    Hi, having a look through the Pulumi examples and loved the simplicity of it. But the moment I tried to add HTTPS to the (AWS) Load Balancer things became very complicated very fast. Is there an example/tutorial for: - a dockerized service running on Port 9999 - running on AWS Fargate - exposed to the public via HTTPS with a (statically assigned certificate Arn (this things rarely change)
    • 1
    • 1
  • g

    gray-school-80301

    08/23/2019, 2:11 PM
    Hi, how do you figure out the name of an existing Kubernetes cluster in Azure if you have setup the cluster in a different Pulumi project without specifying an unique name so that Pulumi will add a random suffix to it? The function
    getKubernetesCluster
    expect the unique name but there is no function for the ResourceGroup to get a list of the existing clusters like
    az resource list -g name
    .
    c
    • 2
    • 5
  • b

    big-potato-91793

    08/23/2019, 2:28 PM
    Hey, quckie question, i’m trying to create a s3 bucket with a specific name. any reason why pulumi add a has at the end of the bucket?
    b
    g
    • 3
    • 10
  • h

    high-translator-22614

    08/23/2019, 3:29 PM
    message has been deleted
  • f

    full-dress-10026

    08/23/2019, 4:01 PM
    Does Pulumi work with Tilt (https://tilt.dev/)?
    c
    • 2
    • 1
  • h

    high-translator-22614

    08/23/2019, 4:24 PM
    as i understand it, it would work with any kubernetes API endpoint?
  • h

    high-translator-22614

    08/23/2019, 4:28 PM
    https://www.pulumi.com/docs/quickstart/kubernetes/configure/
    If your kubectl CLI,
    kubectl
    , is already working, you should be good to go as Pulumi respects its configuration.
  • b

    big-potato-91793

    08/23/2019, 4:50 PM
    Hey 👋 , it’s possible to use the backend configuration in the stack config yaml?
    backend:
      url: <s3://mybucketName>
  • b

    big-potato-91793

    08/23/2019, 4:52 PM
    and why is the difference between
    pulumi login --cloud-url <s3://my-pulumi-state-bucket>
    and
    pulumi login s3:///app/data
  • b

    brave-angle-33257

    08/23/2019, 5:32 PM
    when did they add s3 backed state files ?
  • b

    brave-angle-33257

    08/23/2019, 5:32 PM
    oh wow.. had no idea heh
  • w

    worried-engineer-33884

    08/23/2019, 6:56 PM
    We are having problem requiring config variables from a dependency library. In the library we have:
    const awsConfig = new pulumi.Config("aws");
    const awsRegion = awsConfig.require("region");
    and later
    const sns = new awsSdk.SNS({ region: awsRegion });
    this errors with:
    Diagnostics:
      pulumi-nodejs:dynamic:Resource (monitoring-topic-email-subscription):
        error: Plan apply failed: Missing required configuration variable 'aws:region'
            please set a value using the command `pulumi config set aws:region <value>`
    
      pulumi:pulumi:Stack (dev):
        error: update failed
    Is this because dependency libraries cannot read a project config? cc @dazzling-memory-8548
    f
    • 2
    • 13
  • h

    high-translator-22614

    08/23/2019, 7:15 PM
    have you configured
    aws:region
    ?
    w
    • 2
    • 1
  • w

    worried-engineer-33884

    08/23/2019, 7:35 PM
    also is
    getProvider
    still supported?
  • e

    early-intern-90238

    08/26/2019, 12:20 PM
    Going to rewrite my stack to be based on microstack architecture. I like that idea, I ended up with monolithic and it works but I really like the concept of breaking it up.
  • b

    best-waiter-16927

    08/26/2019, 1:15 PM
    Hey, we have an issue when using k8s.helm.v2.Chart . It doesn't exclude 'tests' directory as exists in grafana helm chart, for example : https://github.com/helm/charts/tree/master/stable/grafana/templates
    c
    • 2
    • 13
  • b

    bored-river-53178

    08/26/2019, 1:45 PM
    is that possible to store pulumi configuration vars somewhere besides the local fs (for example, in state files)?
    b
    • 2
    • 6
Powered by Linen
Title
b

bored-river-53178

08/26/2019, 1:45 PM
is that possible to store pulumi configuration vars somewhere besides the local fs (for example, in state files)?
b

broad-dog-22463

08/26/2019, 1:48 PM
I'm not quite sure what you mean here - can you elaborate?
b

bored-river-53178

08/26/2019, 1:50 PM
sure, I am talking about configuration variables, the ones that could be edited with 'pulumi config', they are usually stored in the stack specific yaml files on the local fs
b

broad-dog-22463

08/26/2019, 1:51 PM
Ok, I see what you mean now
b

bored-river-53178

08/26/2019, 1:51 PM
is that possible to store these values in cloud, for example alongside the state?
b

broad-dog-22463

08/26/2019, 2:33 PM
AFAICR, there is not at this point - but I will check with the rest of the team when them come online soon
b

bored-river-53178

08/26/2019, 3:46 PM
thank you
View count: 1