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

    acoustic-florist-12628

    12/17/2019, 5:43 PM
    Are we able to use an Azure Government blob storage account as the backend to store states? I have set my storage account and key environment variables properly, and tried using both the
    pulumi login azblob://<container>
    method as well as
    pulumi login -c <account>.<http://blob.core.usgovcloudapi.net|blob.core.usgovcloudapi.net>
    . However, azblob://<container> always defaults to use
    <account>.<http://blob.core.windows.net|blob.core.windows.net>
    , and whenever I do "pulumi login -c", I am asked for an access token, and any access key or sas token I use results in authorization errors. Am I doing something wrong, or is this just not possible at the moment?
  • a

    ambitious-helmet-24352

    12/17/2019, 5:58 PM
    hey guys I’m getting this error on one of my resources when ever I run a pulumi up
    error: unable to load schema information from the API server: Get <https://35.227.104.48/openapi/v2?timeout=32s>: dial tcp 35.227.104.48:443: i/o timeout
    g
    s
    • 3
    • 6
  • l

    little-tailor-59400

    12/17/2019, 6:28 PM
    There can be only one Jay
  • l

    little-tailor-59400

    12/17/2019, 6:30 PM
    @ambitious-helmet-24352 @little-tailor-59400 wth. How are we sharing a username?
  • l

    little-tailor-59400

    12/17/2019, 6:33 PM
    For whatever reason, I thought slack cared about duplicates
  • a

    ambitious-helmet-24352

    12/17/2019, 6:35 PM
    Haha there's nothing wrong with a replica
  • a

    ambitious-helmet-24352

    12/17/2019, 6:35 PM
    Yeah it never complained when i created the username funny enough
  • l

    little-tailor-59400

    12/17/2019, 6:36 PM
    Weird
  • l

    little-tailor-59400

    12/17/2019, 6:36 PM
    Good to know :)
  • h

    handsome-truck-95168

    12/17/2019, 8:00 PM
    Is there any documentation I can read about
    default
    values in the
    Pulumi.yaml
    ? They seem to be not working but I imagine I'm doing it wrong.
    w
    • 2
    • 6
  • b

    boundless-appointment-60129

    12/17/2019, 11:52 PM
    Hey everyone, I'm facing a weird issue were I'm consistently getting a duplicate resource error for any resource I try to create e.g
    const vpcName = `unique-vpc-2334`;
      const vpcArgs = {
        cidrBlock: projectCidrBlock,
        enableDnsHostnames: true,
        enableDnsSupport: true,
        tags: {
          Name: vpcName,
        },
      };
      const vpc = new aws.ec2.Vpc(
        vpcName,
        vpcArgs,
        providerOpts,
      );
    It doesn't matter what I change the name to I always end up getting the same error.
    error: Duplicate resource URN 'urn:pulumi:ned-pulumi::ned-pulumi::aws:ec2/vpc:Vpc::unique-vpc-2334'; try giving it a unique name
    I've also tried changing the provider, deleting and recreating the stack with a new name. I have a feeling that it may be caching values/running twice with the same values. Let me know if anyone has resolved this issue, thanks
    g
    • 2
    • 3
  • p

    plain-eye-9759

    12/18/2019, 11:43 AM
    Hello How do I upload a blob to a storage account container with Pulumi? I can't see a
    folder
    option for blob My code looks like this
    const myBlob = new azure.storage.Blob("blob-name", {
        source: "my-path",
        storageAccountName: "storage-aac-name",
        storageContainerName: "container-name",
        type: "Block",
        name: "blob-name",
        contentType: "text/plain"
    })
  • t

    tall-librarian-49374

    12/18/2019, 11:54 AM
    @plain-eye-9759 there are no real folders in Azure Storage. You should use "/" in the name.
  • p

    plain-eye-9759

    12/18/2019, 12:09 PM
    Cool, thanks! @tall-librarian-49374
  • s

    stocky-island-3676

    12/18/2019, 12:10 PM
    pulumi stack init
    : How can we set in which
    project
    the stack will be created in?
    g
    c
    • 3
    • 9
  • b

    brave-window-69382

    12/18/2019, 1:47 PM
    Is it possible to configure a stack to use an alternative secrets provider after initial creation?
    g
    • 2
    • 1
  • b

    blue-portugal-12071

    12/18/2019, 2:30 PM
    Personal accounts have `Access Tokens`(under Settings), but under Organisation Settings, there is no equivalent. Is it possible to set an Org Access Token?
    w
    f
    • 3
    • 5
  • f

    full-painter-18061

    12/18/2019, 2:54 PM
    Hi guys, After having exported a state file, cleaned up its resources and did the same on the AWS associated account, imported my file and run a refresh successfully, then a
    pulumi preview
    get stuck on the first
    pulumi:pulumi:Stack
    create step of the plan?
    s
    w
    • 3
    • 5
  • b

    busy-umbrella-36067

    12/18/2019, 4:52 PM
    Would it possible to not allow implicit providers for k8s resources somehow? Maybe a config value
    kubernetes:allowImplicitProvider
    We've started distributing an abstracted API for deploying onto k8s clusters but in some cases developers have been deploying to whatever their
    KUBECONFIG
    env var is set to
    i
    s
    w
    • 4
    • 10
  • i

    important-leather-28796

    12/18/2019, 4:53 PM
    I’m experimenting with restricted cluster sizes for development and I’d like to reduce my cycle time by reducing the default wait for error on
    pulumi update
    , how do I do that? I already pulled down the Deployment wait time with
    <http://pulumi.com/timeoutSeconds|pulumi.com/timeoutSeconds>
    but the continued retries/restarts (resource limits are being hit) do not cause
    pulumi
    to exit for quite a while. How can I reduce retries/shorten this wait or cycle time as I experiment?
    g
    • 2
    • 5
  • q

    quaint-queen-45003

    12/18/2019, 7:59 PM
    has anyone seen this error when trying to import a pulumi stack?
    error: could not deserialize deployment: decrypting secret value: [400] Message authentication failed
    w
    • 2
    • 3
  • b

    bitter-dentist-28132

    12/18/2019, 10:09 PM
    are there any helper functions in any of the pulumi packages for converting javascript objects to yaml strings?
    g
    w
    • 3
    • 13
  • b

    boundless-appointment-60129

    12/18/2019, 10:19 PM
    I'm trying to call fargateTaskDefinition.run after creating it but the sourcecode calls a
    .get
    function https://github.com/pulumi/pulumi-awsx/blob/5b247e093ed7e8a789c4a34663a5ef8a3a5acef3/nodejs/awsx/ecs/taskDefinition.ts#L226 which then leads to this error
    Error: Cannot call '.get' during update or preview.
    . I was wondering if there's a correct way of using this or if the source needs an update?
    w
    • 2
    • 1
  • b

    busy-umbrella-36067

    12/18/2019, 10:23 PM
    Discovered some interesting behavior, if you run
    pulumi update
    and and modify your IaC code before accepting the prompt Pulumi will pick up the file changes when it applies the update.
    g
    • 2
    • 3
  • g

    great-tomato-45422

    12/19/2019, 8:24 PM
    so im interested in ways people deal with circlici trying to double up on jobs. is there a handy pulumi command I can run in a job to check if pulumi is busy and if so just abort the job?
    s
    m
    • 3
    • 3
  • g

    great-tomato-45422

    12/19/2019, 8:24 PM
    so much red in my circle jobs
  • b

    bitter-dentist-28132

    12/19/2019, 8:50 PM
    what do i give for the import id for a kubernetes resource?
    g
    p
    • 3
    • 48
  • g

    gifted-engine-92308

    12/20/2019, 9:48 AM
    Is there a decent way to call pulumi up from a node program?
  • f

    flat-insurance-25294

    12/20/2019, 10:43 AM
    @gifted-engine-92308 We do this (well with Ruby) and we just pipe to shell.
    def run_command(command)
        puts command
        Open3.popen2e(command) do |stdin, stdout_err, wait_thr|
          while line = stdout_err.gets
            puts line
          end
    
          exit_status = wait_thr.value
          abort "FAILED: #{command}" unless exit_status.success?
          return exit_status
        end
      end
  • f

    flat-insurance-25294

    12/20/2019, 10:45 AM
    God I hate Slack.
Powered by Linen
Title
f

flat-insurance-25294

12/20/2019, 10:45 AM
God I hate Slack.
View count: 2