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

    bitter-dentist-28132

    09/09/2019, 2:58 PM
    i read something somewhere about a pulumi plugin that will queue up operations when there's one currently in progress. anyone know what plugin that is?
  • b

    best-xylophone-83824

    09/09/2019, 4:04 PM
    what is the easiest way to "wait" for whole object and then get is as JSON? I have gcp.serviceaccount.ServiceAccountKey, all of it's properties are Output<>, but object itself is not, so I tried following, but failed:
    const x = new gcp.serviceaccount.Key(...)
    new k8s.core.v1.Secret("x", { data:  {key: x.apply(JSON.stringify) }} )
    b
    c
    • 3
    • 12
  • r

    ripe-dinner-40604

    09/09/2019, 5:33 PM
    Is there a way to modify the
    instanceRoles
    of an eks cluster after creation?
  • s

    some-doctor-62800

    09/09/2019, 5:44 PM
    Is pulumi slow today? stackreferences take 10+ seconds to resolve
    w
    • 2
    • 5
  • a

    adamant-dress-73325

    09/09/2019, 7:12 PM
    When upgrading from
    ^0.18.25
    to
    ^1.1.0
    of
    pulumi-aws
    , I am getting the following error during preview:
    Diagnostics:
      aws:ecs:Cluster (cluster):
        error: Preview failed: refreshing urn:pulumi:qa::pt-site-next::awsx:x:ecs:Cluster$aws:ecs/cluster:Cluster::cluster: error reading ECS Cluster (arn:aws:ecs:us-east-1:149539663033:cluster/arn:aws:ecs:us-east-1:149539663033:cluster/blah-cluster-qa-6372e69): InvalidParameterException: Invalid identifier: Unexpected number of separators
            status code: 400, request id: 68c46836-6b60-4072-b1bb-758e20a4ed43
    Trying to get us onto the latest deps but this is a blocker.
    g
    b
    l
    • 4
    • 43
  • t

    tall-oyster-54217

    09/09/2019, 7:44 PM
    I am new to pulumi and I am creating rds db and ecs with docker webapp. How can I execute rds init sql script with create tables and app tests?
  • a

    adamant-dress-73325

    09/09/2019, 7:46 PM
    @tall-oyster-54217 We use an
    entrypoint.sh
    to run sql migrations and the like, then toggle it with an env variable.
  • t

    tall-oyster-54217

    09/09/2019, 7:47 PM
    @adamant-dress-73325 can you please explain more - I am creating stack via AWS CodeBuild
  • a

    adamant-dress-73325

    09/09/2019, 7:48 PM
    @tall-oyster-54217 This goes into detail, https://pythonspeed.com/articles/schema-migrations-server-startup/
  • t

    tall-oyster-54217

    09/09/2019, 7:51 PM
    @adamant-dress-73325 tnx
  • c

    careful-baker-18386

    09/09/2019, 8:01 PM
    Checked the FAQs, troubleshooting, docs and searched errors on this slack channel for the following issue: Running through the quick start aws-typescript and the first time I run
    pulumi up
    i get the following in my debug output:
    Diagnostics:
      aws:s3:Bucket (my-bucket):
        error: error validating provider credentials: error calling sts:GetCallerIdentity: NoCredentialProviders: no valid providers in chain. Deprecated.
            For verbose messaging see aws.Config.CredentialsChainVerboseErrors
     
      pulumi:pulumi:Stack (pulu-dev):
        debug: Registering resource: t=pulumi:pulumi:Stack, name=pulu-dev, custom=false
        debug: RegisterResource RPC prepared: t=pulumi:pulumi:Stack, name=pulu-dev
        debug: RegisterResource RPC finished: resource:pulu-dev[pulumi:pulumi:Stack]; err: null, resp: urn:pulumi:dev::pulu::pulumi:pulumi:Stack::pulu-dev,,,,
        debug: Running program '/Users/leif/Sites/pulu' in pwd '/Users/leif/Sites/pulu' w/ args: 
        debug: Registering resource: t=aws:s3/bucket:Bucket, name=my-bucket, custom=true
        debug: RegisterResource RPC prepared: t=aws:s3/bucket:Bucket, name=my-bucket
        debug: Setting AWS metadata API timeout to 100ms
        debug: Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
        debug: No assume_role block read from configuration
        debug: Building AWS auth structure
        debug: Setting AWS metadata API timeout to 100ms
        debug: Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
        debug: AWS Auth using Profile: "carpedalan"
        debug: Trying to get account information via sts:GetCallerIdentity
    g
    c
    • 3
    • 9
  • l

    little-garage-43399

    09/09/2019, 9:13 PM
    hi, how can I get a resource property (ip4 for example) as a string (without exports)
    w
    • 2
    • 3
  • i

    icy-engineer-10830

    09/09/2019, 9:27 PM
    is there a way to change the ordering of resources when deleting? I currently can't destroy a stack due to a resource being in use by another resource
    w
    • 2
    • 3
  • w

    worried-city-86458

    09/09/2019, 9:56 PM
    What's the recommended way to do error handling? Say I want to check a condition in
    index.ts
    and fail early
    c
    • 2
    • 1
  • w

    worried-city-86458

    09/09/2019, 10:29 PM
    Rather than "adopting", is there a way to convert an existing CloudFormation stack to Pulumi code? Even if values are hard coded, that would expedite porting to Pulumi...
    w
    • 2
    • 3
  • b

    busy-umbrella-36067

    09/10/2019, 12:22 AM
    Regarding the post on unit testing: https://www.pulumi.com/blog/testing-your-infrastructure-as-code-with-pulumi/ Is there any way to test all resources within state instead of just the exported ones? We have about 9 EKS clusters with various helm charts within them that we want to perform validation on, for now we want to enforce version locking for any
    kubeernetes.helm.v2.Chart
    and exporting all of them would be tedious.
    w
    • 2
    • 1
  • t

    tall-oyster-54217

    09/10/2019, 8:58 AM
    I am looking how to switch automated backups on for mysql rds with pulumi aws rds but I don't find it. anybody?
  • d

    damp-room-71337

    09/10/2019, 9:04 AM
    is it not possible to define an AWS profile via
    config set
    ? This:
    pulumi config set aws:profile synchronicity
    returns
    error: failed to load checkpoint: blob (code=Unknown): NoCredentialProviders: no valid providers in chain. Deprecated.
    on
    pulumi up
    , while setting
    AWS_PROFILE=
    works fine
    s
    • 2
    • 25
  • b

    better-actor-92669

    09/10/2019, 11:34 AM
    Hi guys! As far as I understand, it is impossible to create a service account with pulumi on GCP ? https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/gcp/serviceAccount/
    😮 1
    b
    • 2
    • 4
  • d

    damp-room-71337

    09/10/2019, 3:11 PM
    why would
    pulumi stack ls
    not be showing all stacks, when using S3 backend?
    w
    • 2
    • 8
  • d

    damp-room-71337

    09/10/2019, 3:11 PM
    pulumi stack init newstack
    works, and I can see the stack state json in S3 next to the stacks that aren’t being returned
  • d

    damp-room-71337

    09/10/2019, 3:17 PM
    $ pulumi stack ls -a
    NAME      LAST UPDATE  RESOURCE COUNT
    dev-red*  n/a          n/a
    $ pulumi stack init dev
    error: stack 'dev' already exists
    $ pulumi stack ls -a
    NAME      LAST UPDATE  RESOURCE COUNT
    dev-red*  n/a          n/a
    $ pulumi stack ls -a
    NAME      LAST UPDATE   RESOURCE COUNT
    dev       23 hours ago  21
    dev-red*  n/a           n/a
  • d

    damp-room-71337

    09/10/2019, 3:17 PM
    🤔
  • i

    icy-engineer-10830

    09/10/2019, 4:08 PM
    is there a best practice doc for ensuring concurrent state access for a stack remains valid? or is it that by using the pulumi backend this all happens under the hood?
    b
    c
    • 3
    • 4
  • b

    bright-architect-36509

    09/10/2019, 5:19 PM
    Hi guys, after doing
    pulumi login --local
    I'm not able to login to the pulumi backend anymore. I tried
    pulumi login
    ,
    pulumi login <http://app.pulumi.com|app.pulumi.com>
    . I'm getting this error
    error: problem logging in: getting user info from <http://app.pulumi.com>: unmarshalling response object: invalid character '<' looking for beginning of value
    b
    c
    • 3
    • 7
  • q

    quiet-wolf-18467

    09/10/2019, 6:16 PM
    Does anyone know how to TypeScript? 😂
    rrdatas: [computeInstance.networkInterfaces[0].accessConfigs[0]?.natIp]
    I can't seem to get this to work. accessConfigs is an optional, so could be empty
    c
    c
    • 3
    • 10
  • w

    wide-holiday-59376

    09/10/2019, 7:07 PM
    Hi. Is there a way to create a new ebs disk without specifying
    availabilityZone
    ? Is there a way to use the default zone like we get when creating new ec2 instances?
  • w

    wide-holiday-59376

    09/10/2019, 7:10 PM
    \-> Filed https://github.com/pulumi/pulumi/issues/3211
  • q

    quiet-wolf-18467

    09/10/2019, 7:13 PM
    You should use your created instance and fetch it's availabilityZone. There's no "default" AWS picks one at random. By not specifying one in your EBS volume, you'd end up with them in different zones
  • w

    wide-holiday-59376

    09/10/2019, 7:18 PM
    @quiet-wolf-18467 I'm trying to change the volume size of the main disk
Powered by Linen
Title
w

wide-holiday-59376

09/10/2019, 7:18 PM
@quiet-wolf-18467 I'm trying to change the volume size of the main disk
View count: 1