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

    rich-cat-16319

    10/12/2021, 6:58 AM
    Is anyone able to explain me how Pulumi pricing model works? how credits work? or point me to where I can read about it? thank you
    g
    • 2
    • 1
  • l

    little-summer-88406

    10/12/2021, 8:09 AM
    Can anyone verify that https://www.pulumi.com/docs/reference/pkg/aws/efs/getfilesystem/ is broke - Ive tried it on dotnet and typescript/js - and I get grpc error: Unexpected multiple elements in array with MaxItems=1 in both language sdks
    b
    • 2
    • 2
  • l

    little-summer-88406

    10/12/2021, 8:28 AM
    Seems like it works in Aws.Native hmm, not sure Im comfortable with a 0.1.0 though
  • g

    great-sunset-355

    10/12/2021, 8:32 AM
    Is there a more natural way to set the List config value other than this?
    pulumi config set --path names[0]
    p
    r
    • 3
    • 6
  • d

    dry-sugar-63293

    10/12/2021, 10:02 AM
    is there a way to "set" config through Pulumi typescript?
    g
    l
    +2
    • 5
    • 24
  • e

    enough-motorcycle-97835

    10/12/2021, 11:34 AM
    Hi all, I'm a newbie! Anyone using AWS EKS with Fargate successfully? I can't find working example on the web!
    d
    g
    • 3
    • 3
  • h

    hallowed-horse-57635

    10/12/2021, 1:36 PM
    Question on import file json syntax. cant seem to find an example (lets say for a simple VPC.. / What should be the type here ? { "resources": [ { "id": "arn:aws:ec2:us-east-1:xxxxxxx:vpc/vpc-xxxxxx", "name": "vpc-xxxxxxxxxxxx", "type": "aws:ec2/Vpc:Vpc" } ] }
    đź‘€ 1
    âś… 1
  • w

    wet-noon-14291

    10/12/2021, 1:39 PM
    Anyone that has seen
    TypeError: Invalid Version
    in an automation project and knows what to do? The weird thing is that I only get it for every second request.
    TypeError: Invalid Version: 
        at new SemVer (/src/api/node_modules/@pulumi/pulumi/node_modules/semver/semver.js:332:11)
        at LocalWorkspace.<anonymous> (/src/api/node_modules/@pulumi/pulumi/automation/localWorkspace.js:561:29)
        at Generator.next (<anonymous>)
        at fulfilled (/src/api/node_modules/@pulumi/pulumi/automation/localWorkspace.js:18:58)
    • 1
    • 4
  • s

    sparse-spring-91820

    10/12/2021, 1:55 PM
    When I try to destroy stack resources i get the following error even if
    aws:region
    config is set. Any clues? I created resources on other pc and then switched pc and selected same stack. But when I try to destroy it, this error pops out.
    • 1
    • 3
  • l

    little-summer-88406

    10/12/2021, 2:35 PM
    Is the suggested way to migrate from the old Aws to AwsNative to use importIds?
  • i

    important-zebra-56988

    10/12/2021, 4:27 PM
    Hey y’all! banging my head against this one 🤔 Any of you encountered conflicting error messages with
    aws.ec2.Instance.VpcSecurityGroupIds
    ?
    ## with vpc_security_group_ids as a List
    error: aws:ec2/instance:Instance resource 'XXXX' has a problem: Attribute must be a single value, not a list. Examine values at 'Instance.VpcSecurityGroupIds'. 
    
    ## With vpc_security_group_ids as a string
    error: aws:ec2/instance:Instance resource 'XXX' has a problem: Attribute should be a list. Examine values at 'Instance.VpcSecurityGroupIds'
    • 1
    • 1
  • r

    rapid-raincoat-36492

    10/12/2021, 5:22 PM
    I submitted a PR: https://github.com/pulumi/pulumi/pull/8199, but am unsure how to dogfood my own change. Does anyone know how to use a fork of pulumi, specifically the NodeJS SDK?
    r
    • 2
    • 1
  • e

    echoing-motherboard-16358

    10/12/2021, 5:28 PM
    Could we get new releases / changelogs posted to #announcements (or a separate #releases channel)?
  • i

    icy-jordan-58549

    10/12/2021, 8:22 PM
    team, any ideas why one resource doesn’t respect implicit
    dependsOn
    ? I expect that resource that dependsOn other will wait until other will do the update or delete, which is not true and this resource start earlier it’s update then it’s implicit dependencies
    l
    • 2
    • 22
  • b

    brash-airline-37413

    10/13/2021, 5:22 AM
    Hey all we have different development teams within our organisation who want to use different languages for our pulumi component package and not willing to budge. Has anybody come up with a component package solution where people can write components in a couple of different languages?
    s
    l
    • 3
    • 8
  • s

    swift-island-2275

    10/13/2021, 9:08 AM
    Hi, is there a way to use secrets from a Azure KeyVault directly instead of storing them as Pulumi secrets ? My scenario is that I would like to get connection string from a KV and use it to create a database. However, I don't want to store it as Pulumi secret, I just want to fetch it into memory and use it.
    p
    d
    • 3
    • 38
  • h

    hundreds-airport-37168

    10/13/2021, 9:21 AM
    Hey, anyone could help me out with creating Confluent cloud resources? I get this error when doing the minimal setup of just creating a confluent environment:
    Diagnostics:
      confluent:index:ConfluentEnvironment (saaaa):
        error: could not validate provider configuration: 1 error occurred:
            * Invalid or unknown key
    Ive tried both env variables for confluent username/password and also to have the username and password in the config, still get the same error
  • f

    future-window-78560

    10/13/2021, 9:32 AM
    Hey! My Kubernetes cluster is taking 100GB disk storage by default. I am trying to specify storage spec in the code. On adding these lines of code, " resources=ResourceRequirementsArgs( requests={ "storage": "8Gi", }, ), " I am having an error "TypeError: __init__() got an unexpected keyword argument 'resources'"
  • l

    little-summer-88406

    10/13/2021, 9:47 AM
    ah crap just spent time migrating to awsnsative to realize a lot of stuff isnt working security groups, subnets etc.. is there an ETA for this being usable, at least the core component of AWS being able to be provisioned, totally got the wrong impression from the blog post of day 1 support etc
    g
    g
    w
    • 4
    • 4
  • l

    little-summer-88406

    10/13/2021, 9:48 AM
    granted the 0.1.0 should of been a red flag
  • d

    dry-answer-66872

    10/13/2021, 3:51 PM
    https://www.pulumi.com/docs/reference/pkg/aws/athena/namedquery/ This creates the Athena query in AWS, but it doesn't get executed automatically to get the tables created I will have to manually execute it in console. Is there way we can run the query along with creation using pulumi??
  • f

    fierce-cat-91199

    10/13/2021, 9:29 PM
    Hi everyone, I hope someone can help guide me! I have deployed some resources. I then refactored my code so those resources are now nested under a
    ComponentResource
    Is there a way to reimport these resources so that I don't have to delete and recreate them?
    b
    l
    • 3
    • 7
  • b

    bitter-sunset-72727

    10/14/2021, 7:01 AM
    Hi Everyone, I am not able login into pulumi console as it gives error "incorrect credentials" . So i want to reset password but i didn't receive any reset link even after giving correct mail id . Any idea guys.
  • g

    great-sunset-355

    10/14/2021, 9:36 AM
    Why does this does not preserve the order?
    pulumi.Output.all(*[x.id for x in vpc.private_subnets]).apply(lambda args: ','.join(args))
    This triggers an unnecessary update.
    vpc.private_subnets
    is a list of
    ec2.Subnet
    inside a
    ComponentResource
  • s

    shy-butcher-69105

    10/14/2021, 10:21 AM
    Hi everyone. Loving pulumi 🙂 On a
    pulumi up
    today I'm getting a non-ending run (at least 17m). • logging with
    v=9
    didn't reveal anything • tracing with
    pulumi up --logtostderr -v=9 --tracing=file:./trace
    then
    PULUMI_DEBUG_COMMANDS=1 pulumi view-trace ./up.trace
    shows: â—¦ 17m in
    pulumi plan
    , which includes 17m in both
    /pulumirpc.LanguageRuntime/Run
    and
    /pulumirpc.ResourceProvider/Configure
    is there a way to debug this further? (for context, Win10 powershell (replicates with CMD), pulumi v3.14.0, making a single change on AWS.IAM, using hosted
    w
    l
    • 3
    • 6
  • b

    boundless-angle-56560

    10/14/2021, 2:56 PM
    Hello, I'd like to ask if its possible to somehow optimize Pulumi running time when using Docker images. It seems that pulumi rebuilds images even when there is no change to the image in the sources. Also it seems to me that it doesn't happen always. Sometimes Pulumi happily skips this phase
    l
    q
    • 3
    • 9
  • h

    high-morning-17948

    10/14/2021, 6:58 PM
    Have anyone implemented a rollback logic with Github actions or CircleCI for pulumi. If not, does exporting the stack json before a deploy and checking for any error to import the backup stack and refresh with the exported stack a good approach?
    l
    • 2
    • 7
  • b

    brave-angle-33257

    10/14/2021, 8:16 PM
    hi guys is there a better way to read in a local file with node? I have a
    buildspec.yml
    file I'm trying to read in to aws.codebuild.Project as a variable, but using
    fs.readFileSync
    I get:
    Type 'Buffer' is not assignable to type 'Input<string>'.
    l
    • 2
    • 4
  • b

    brave-angle-33257

    10/15/2021, 3:29 AM
    my automation API just failed with message:
    "Error: Detected multiple versions of '@pulumi/pulumi' in use in an inline automation api program.\nUse the yarn 'resolutions' field to pin to a single version: <https://github.com/pulumi/pulumi/issues/5449>."
    I locked my version to
    3.14.0
    but I see the dependency of
    pulumi/aws
    has:
    "@pulumi/aws@4.24.1":
      version "4.24.1"
      ...
      dependencies:
        "@pulumi/pulumi" "^3.0.0"
    and also the package was just updated an hour ago.. is this the cause? not sure how else I can avoid this issue and it just popped up
  • b

    brave-angle-33257

    10/15/2021, 3:35 AM
    im building this all in a docker container, i think i'll need to build it "nocache" each time to get the latest version of the binary, and also move my package to read
    ^3.0.0
    to match the dependency of the pulumi/aws package and build the whole thing at once each time to make sure they're all on same version
    p
    • 2
    • 3
Powered by Linen
Title
b

brave-angle-33257

10/15/2021, 3:35 AM
im building this all in a docker container, i think i'll need to build it "nocache" each time to get the latest version of the binary, and also move my package to read
^3.0.0
to match the dependency of the pulumi/aws package and build the whole thing at once each time to make sure they're all on same version
p

proud-pizza-80589

10/15/2021, 9:25 AM
we have this a lot, the clue for us is to make sure we remove and regenerate the lock file. especially when using stuff like renovate/dependabot
as soon as there is any pulumi package that is updated
b

brave-angle-33257

10/15/2021, 7:07 PM
thanks for that! yea, rebuilding all on the same basic version requirement from scratch got them all on the same line.. weird one
View count: 1