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

    orange-tailor-85423

    08/07/2019, 12:35 AM
    anybody else having issues with modifying/deleting a launch config from EKS nodes?
  • o

    orange-tailor-85423

    08/07/2019, 12:35 AM
    consistently get:
    error deleting Autoscaling Launch Configuration (monitoring-nodeLaunchConfiguration-1dc3c51): ResourceInUse: Cannot delete launch configuration monitoring-nodeLaunchConfiguration-1dc3c51 because it is attached to AutoScalingGroup monitoring-475ed714-NodeGroup-JKFQB8KKR78N
  • o

    orange-tailor-85423

    08/07/2019, 12:36 AM
    which means you can’t destroy a cluster
  • g

    glamorous-waitress-51149

    08/07/2019, 9:20 AM
    Just wondering if there’s anything we can do to push this issue forwards? https://forums.aws.amazon.com/thread.jspa?threadID=307382
    b
    f
    • 3
    • 74
  • d

    damp-room-71337

    08/07/2019, 10:40 AM
    hi all - does anyone have any info on how terraform versions work with Pulumi’s
    terraform.state.RemoteStateReference
    ? I’m just trying it out for the first time, but get a version mismatch:
    terraform:state:RemoteStateReference (synchronicity):
        error: Preview failed: error refreshing Terraform state: state snapshot was created by Terraform v0.12.6, which is newer than current v0.12.0; upgrade to Terraform v0.12.6 or greater to work with this state
    My installed version of terraform is 0.12.6, so I assume Pulumi is bundling 0.12.0?
    b
    s
    • 3
    • 17
  • s

    stocky-nail-30268

    08/07/2019, 10:49 AM
    Hey folks, is there a way I can set the
    policy
    on the
    RestApi
    object when using the
    awsx/apigateway.API
    approach? I can't see a way of configuring the details beyond what is available on the API object, am I gonna have to use the
    aws/apigateway
    bits to build this up manually?
  • s

    salmon-morning-96600

    08/07/2019, 11:46 AM
    Hey guys, with GKE I am setting a cluster stack separately. In the app stack I try to reference using StackReference, on the pulumi platform, both the k8sProvider and kubeconfig are showing as outputs. But if I try to reference these in my app deployment, it does not get located and defaults to kubectls current context. I reference the stack with:
    export const clusterStackName = config.require("clusterStackName");
    const clusterStack = new pulumi.StackReference(clusterStackName);
    The stack name uses <organisation>/<project>/<stack> so: ianbarry/infrastructure/ci as an example. I reference this stack like follows in both service and deployment CustomResourceOptions object:
    provider : new k8s.Provider(clusterStackName,{
        kubeconfig: clusterStack.getOutput("kubeconfig")
    })
  • g

    glamorous-waitress-51149

    08/07/2019, 12:01 PM
    Anyone know why a AWS policy fails to be deployed when only the description changes?
    b
    • 2
    • 5
  • w

    wide-cat-87818

    08/07/2019, 2:13 PM
    Hi guys, I have a question. I have two projects, with S3 backend. Project A with stack default and Project B with stack dev. Now I want to get the stack output of Project A in Project B. How can I achieve this? Thanks in advance.
    h
    • 2
    • 2
  • f

    future-hydrogen-91224

    08/07/2019, 2:20 PM
    Had a question on install - what is a good way to run curl -fsSL https://get.pulumi.com | sh to install pulumi into a specific directory
  • f

    future-hydrogen-91224

    08/07/2019, 2:21 PM
    Like with sdkman you can specifically set the SDKMAN_HOME to then run a similar sdkman install into that dir. Is there something similar for pulumi?
  • f

    future-hydrogen-91224

    08/07/2019, 2:23 PM
    I know I could download and unpack the tar.gz file into a directory but I would need to know the version number every time as part of a bash script - thus would be very helpful to be able to run the setup script to install into /opt where I keep my tools
    w
    • 2
    • 6
  • f

    future-hydrogen-91224

    08/07/2019, 2:23 PM
    Thanks for your help
    h
    • 2
    • 10
  • c

    cool-egg-852

    08/07/2019, 4:01 PM
    Any idea why a nodepool is trying to be replaced and the only thing the diff shows different is the provider?
    w
    m
    • 3
    • 9
  • b

    better-rainbow-14549

    08/07/2019, 4:06 PM
    is the @pulumi/azure 19.4 broken? it seems to rely on @azure/ms-rest-js and its throwing all sorts of errors
    w
    t
    • 3
    • 24
  • t

    thankful-optician-22583

    08/07/2019, 5:08 PM
    Hi, has anyone tried to run pulumi in docker:dind? I tried to run it but it seems like it does not recognize the pulumi executable
  • h

    high-translator-22614

    08/07/2019, 5:11 PM
    so, you're using the pulumi image from inside a container running the
    docker:dind
    image?
    t
    • 2
    • 7
  • h

    high-translator-22614

    08/07/2019, 5:12 PM
    (the topology of what you're doing is unclear)
    t
    • 2
    • 1
  • b

    best-xylophone-83824

    08/07/2019, 7:07 PM
    pulumi preview/up
    just exits with code 255 and no error, not preview what do I do wrong? index.ts:
    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const config = new pulumi.Config("gcp-bootstrap");
    
    // Create a GCP resource (Storage Bucket)
    const gke = new gcp.organisations.Project("gke01", {
        orgId: config.require("organisation")
    });
    
    // Export the DNS name of the bucket
    export const gkeId = gke.id;
    tail of
    pulumi preview
    Logging in using access token from PULUMI_ACCESS_TOKEN
    Previewing update ($CORP/prod):
    
    Permalink: <https://app.pulumi.com/$CORP/gcp-bootstrap/prod/previews/242b9dd0-b832-4f99-94fd-de87398528ca>
    w
    • 2
    • 4
  • b

    billowy-television-23506

    08/07/2019, 11:05 PM
    Was running no problem earlier. Then ran
    pulumi preview
    , froze the console, broke out and this started to happen. A reboot didn't fix it.
    w
    b
    t
    • 4
    • 4
  • m

    millions-judge-24978

    08/08/2019, 1:06 AM
    This will probably seem an odd question, but is there any way to use the pulumi API’s without the declarative plan and apply bits? For example, I’d like to just have a program that runs
    const deployment = new k8s.apps.v1.Deployment(...)
    and have it create it right then and there.
    h
    m
    • 3
    • 3
  • c

    cool-egg-852

    08/08/2019, 3:06 AM
    Does pulumi/gke drain the nodes when doing a replacement on the node pool in a way that a PDB would apply? Because when pulumi goes to replace a pool, my pods go down even though I have PDBs.
    o
    g
    • 3
    • 6
  • b

    best-xylophone-83824

    08/08/2019, 10:34 AM
    having exactly same probelm as in https://github.com/pulumi/pulumi/issues/2651 but with GCP provider 😕
  • b

    best-xylophone-83824

    08/08/2019, 11:58 AM
    I am pretty sure problem is in custom CA certificates we have to use and that error is not properly propagated 😞
  • d

    damp-room-71337

    08/08/2019, 12:53 PM
    does anyone know how kubernetes namespaces work with the
    getResourceProperty()
    method? All the examples I’ve seen look like this:
    guestbook.getResourceProperty("v1/Service", "frontend", "status")
    but I get an exception unless I prefix the resource name with the namespace:
    mysql.getResourceProperty("v1/Service", "idm-mysql", "spec")
    ...
    TypeError: Cannot read property 'spec' of undefined
    whereas this works:
    mysql.getResourceProperty("v1/Service", "pulimi-test/idm-mysql", "spec")
    what am I missing?
  • b

    better-rainbow-14549

    08/08/2019, 12:55 PM
    the pulumi kubernetes provider IDs are a normal kubernetes reference so yeah namespace/object
  • b

    better-rainbow-14549

    08/08/2019, 12:55 PM
    if you dont specify the namespace it's assumed to be 'default'
  • d

    damp-room-71337

    08/08/2019, 12:55 PM
    ah ok - so in examples like this everything is bound to the
    default
    ns? https://github.com/pulumi/kubernetes-the-prod-way/blob/master/services/wordpress/index.ts
  • b

    better-rainbow-14549

    08/08/2019, 12:56 PM
    yeah exactly
  • d

    damp-room-71337

    08/08/2019, 12:57 PM
    ok, cheers - is there a good pattern for managing this?
    pulumi config set k8s-namespace pulumi-test
    , then pepper
    config.require()
    throughout my resource definitions?
Powered by Linen
Title
d

damp-room-71337

08/08/2019, 12:57 PM
ok, cheers - is there a good pattern for managing this?
pulumi config set k8s-namespace pulumi-test
, then pepper
config.require()
throughout my resource definitions?
View count: 1