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

    icy-dress-83371

    05/08/2019, 2:59 PM
    Anyone having issues setting up an aks cluster in azure? I manually created a service principal for pulumi to run as, it's got all the permissions i can find but i get this when i try to create a new SP with pulumi
    SP creating error: Plan apply failed: graphrbac.ApplicationsClient#Create: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="Unknown" Message="Unknown service error" Details=[{"odata.error":{"code":"Authorization_RequestDenied","date":"2019-05-07T14:22:29","message":{"lang":"en","value":"Insufficient privileges to complete the operation."},"requestId":"6df1d82f-17bb-48da-94d7-8dd03e6a39fa"}}]
    c
    n
    w
    • 4
    • 13
  • c

    chilly-photographer-60932

    05/08/2019, 3:26 PM
    Is there a roadmap that the pulumi team can share?
    c
    • 2
    • 2
  • q

    quick-action-34599

    05/08/2019, 5:28 PM
    are there are docs/how-tos out there on using lambda@edge with pulumi?
    g
    • 2
    • 2
  • s

    salmon-account-74572

    05/08/2019, 8:13 PM
    Hi all, I'm using Pulumi via JavaScript with AWS and seeing some strange behavior with the
    getAmi
    function. (I freely admit this could be due to my lack of experience with JavaScript.) Here's the code in question:
    const bionicAmi  = aws.getAmi({
        filter: [
            { name: "name", values: "ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server*" },
            { name: "virtualization-type", values: "hvm" },
            { name: "root-device-type", values: "ebs" },
        ],
        mostRecent: true,
        owners: [ "099720109477" ],
    });
    Using this set of filters with the AWS CLI works perfectly, but here it returns a completely different AMI. What am I missing?
    c
    • 2
    • 4
  • s

    stocky-spoon-28903

    05/08/2019, 8:15 PM
    One simple possibility is a difference in region?
  • s

    salmon-account-74572

    05/08/2019, 8:20 PM
    I have the AWS_REGION environment variable set, does Pulumi not honor that?
  • s

    salmon-account-74572

    05/08/2019, 8:20 PM
    (The correct region is also set in my AWS CLI profile configuration.)
    w
    • 2
    • 2
  • s

    salmon-account-74572

    05/08/2019, 8:55 PM
    The issue with my
    getAmi
    function above was a typo. It's
    filters
    , not
    filter
    . Argh.
    👍 1
  • e

    early-musician-41645

    05/08/2019, 11:06 PM
    I'm doing a
    pulumi up
    and it's bombing out with this error. Any ideas what's going on and how to fix this?
    Untitled.ts
    w
    • 2
    • 3
  • q

    quick-action-34599

    05/09/2019, 1:52 AM
    weird
  • q

    quick-action-34599

    05/09/2019, 1:52 AM
    I have a cloud.API created with cloud-aws that is returning content in base64 encoding no matter what I try to do
  • q

    quick-action-34599

    05/09/2019, 1:55 AM
    I have a cloudfront distribution but it shouldn’t be in front of this api gateway…
  • q

    quick-action-34599

    05/09/2019, 1:55 AM
    unless it is somehow
  • q

    quick-action-34599

    05/09/2019, 2:37 AM
    bizarre
  • c

    colossal-room-15708

    05/09/2019, 3:24 AM
    Is it a bug that when I get
    azure:storage:Blob (vmshutdownpolicystorageblob):
        error: Plan apply failed: Error creating storage blob on Azure: Error opening source file for upload "./functions/build/functionapp.zip": open ./functions/build/functionapp.zip: no such file or directory
    that pulumi still uploads a file with size 0?
  • g

    gray-elephant-37695

    05/09/2019, 6:08 AM
    Is there a way to specify roles and policies of the lambdas in awsx API? Or are they locked down to the default full access roles?
    w
    • 2
    • 1
  • r

    rapid-eye-32575

    05/09/2019, 8:39 AM
    Hi, I have two questions on best practices when using Pulumi: 1. What is the best way to create global resources that are shared between Stacks (dev, stage, live)? E.g. I want to setup a Container Registry with a cloud provider and use it in all stacks. Do I have to create a project for the shared components? 2. Since outputs are persisted in the Pulumi Cloud, is it possible to have the outputs encrypted when they contain generated secrets (when using
    RandomString
    from
    @pulumi/random
    )? Or do I have to forbear to do that and instead generate all secrets beforehand and add them to the config with
    pulumi config --secret  set ...
    ?
    g
    • 2
    • 1
  • b

    better-rainbow-14549

    05/09/2019, 10:28 AM
    i've put shared components in a different project then i export the parameters used to create the resources as a private npm package so that dependent layers can import and retrieve them
    r
    • 2
    • 1
  • g

    gifted-engine-92308

    05/09/2019, 10:45 AM
    when i try to
    pulumi login --local
    I get the following error :
    error: problem logging in: unable to open bucket file://C:%!C(MISSING)Users%!C(MISSING)username: open blob.Bucket: parse file://C:%!C(MISSING)Users%!C(MISSING)username: invalid URL escape "%!C(MISSING)"
    a
    • 2
    • 2
  • b

    better-rainbow-14549

    05/09/2019, 10:52 AM
    i believe it's WIP i've downgraded to 0.17.8 in the meantime
  • b

    better-rainbow-14549

    05/09/2019, 10:52 AM
    cant get any local login to work
  • g

    gifted-engine-92308

    05/09/2019, 11:45 AM
    are you saying I should downgrade to 0.17.8?
  • q

    quick-action-34599

    05/09/2019, 2:14 PM
    Follow-up: can anyone shed light on why a cloud-aws api would be returning base64-encoded strings no matter how I do the response? I have working cloud-aws apis on another account and they seem to work fine. I can’t find any differences between the base64 and regular ones code-wise or setup-wise EXCEPT for the one that works had its
    binaryMediaTypes
    apigateway setting set to
    */*
    . I tried adding that to the base64 one but it didn’t start working, and pulumi removes the setting when I
    pulumi up
    .
    g
    • 2
    • 7
  • o

    orange-tailor-85423

    05/09/2019, 4:08 PM
    Just a comment - I think the permissions model should allow non WRITE users to run previews
    c
    c
    • 3
    • 4
  • o

    orange-tailor-85423

    05/09/2019, 4:08 PM
    makes pre-testing or local dev a bit problematic for things you think may be an issue
  • a

    adventurous-night-54654

    05/09/2019, 5:30 PM
    Looks like 0.17.10 never made it to https://pulumi.io/latest-version still and the powershell script doesn't appear to support specifying the version like the sh
    w
    • 2
    • 1
  • e

    early-musician-41645

    05/09/2019, 8:33 PM
    How do I disable this message from each CLI execution?
    warning: A new version of Pulumi is available. To upgrade from version '0.17.9' to '0.17.10', run
       $ curl -sSL <https://get.pulumi.com> | sh
    or visit <https://pulumi.io/install> for manual instructions and release notes.
    g
    • 2
    • 4
  • o

    orange-tailor-85423

    05/09/2019, 9:05 PM
    interesting error:
    error: gcp:container/cluster:Cluster resource 'alpha' has a problem: : invalid or unknown key: location
  • o

    orange-tailor-85423

    05/09/2019, 9:06 PM
    I was getting constant nagging about how
    region
    was being deprecated. So I went through and changed the
    region
    code to use
    location
    .
  • o

    orange-tailor-85423

    05/09/2019, 9:07 PM
    So now I get one stack that says, no changes. One that says the above. And finally yet another that says:
    gcp:container:NodePool        k8s-node-pool-private  replace     [diff: +location-region~name]
Powered by Linen
Title
o

orange-tailor-85423

05/09/2019, 9:07 PM
So now I get one stack that says, no changes. One that says the above. And finally yet another that says:
gcp:container:NodePool        k8s-node-pool-private  replace     [diff: +location-region~name]
View count: 3