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

    abundant-egg-71808

    09/29/2020, 3:35 PM
    I'm following this example to create an azure function event subscription: https://github.com/pulumi/examples/tree/master/azure-ts-functions - it's working, but I'm struggling to access logs to debug errors being thrown. Do I need to set up application insights? If so, how can I do that in Pulumi? I can see how from the Azure UI but not Pulumi.
    s
    • 2
    • 1
  • b

    bitter-application-91815

    09/29/2020, 4:34 PM
    Hi guys,
  • b

    bitter-application-91815

    09/29/2020, 4:35 PM
    Just wondering, is it possible to put a password on a redis replication group but to not have it encrypted at the same time
  • b

    bitter-application-91815

    09/29/2020, 4:35 PM
    the API has
  • b

    bitter-application-91815

    09/29/2020, 4:35 PM
    // The password used to access a password protected server. Can be specified only if `transitEncryptionEnabled = true`.
    	AuthToken pulumi.StringPtrInput
  • b

    bitter-application-91815

    09/29/2020, 4:40 PM
    Seems to be the same here ...
  • b

    bitter-application-91815

    09/29/2020, 4:40 PM
    https://github.com/cloudposse/terraform-aws-elasticache-redis/blob/master/README.md
  • b

    bitter-application-91815

    09/29/2020, 4:43 PM
    is this an AWS restriction ? wasn't aware of it
  • b

    bitter-application-91815

    09/29/2020, 4:43 PM
    i generally like to use passwords when i'm not prepared to tunnel to everything
  • c

    clever-plumber-29709

    09/29/2020, 7:30 PM
    message has been deleted
  • w

    white-angle-34155

    09/29/2020, 10:00 PM
    Does anyone have an example of a vault.generic.secret resource in typescript please that doesn't require escaped json? This works
    const vaultSecret = new vault.generic.Secret("vaultSecret",{
      path: `kv/some/path`,
      dataJson: JSON.stringify({
        keyA: "valueA",
        keyB: "valueB"
      })
    });
    as does
    const vaultSecret = new vault.generic.Secret("vaultSecret",{
      path: `kv/some/path`,
      dataJson: pulumi.interpolate `{\"keyA\":\"${appInsights.name}\",\"keyB\":\"valueB\"}`
    });
    But the escaped json is messy. I've tried using JSON.stringify but hit type issues which I don't seem to be able to work around (
    Calling [toString] on an [Output<T>] is not supported
    ). I've tried in pulumi.interpolate and apply with no success.
    g
    r
    • 3
    • 4
  • c

    clever-plumber-29709

    09/30/2020, 1:14 AM
    Is there a way, to see the whole resource tree, of a stack, like when doing
    pulumi up
    but for all resources and not only the changed ones?
    s
    l
    • 3
    • 2
  • h

    hundreds-egg-46465

    09/30/2020, 2:09 AM
    Unsure if this is an aws specific thing, but when running
    pulumi preview
    in a
    pulumi/pulumi
    docker image I get the following error
    pulumi:providers:aws (default_3_2_1):                                                                                                                                                                         
        error: no resource plugin 'aws-v3.2.1' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource aws v3.2.1`
    My understanding is that these are installed at runtime? Do I need to manually add this step to the dockerfille myself? I have other similar pulumi workflows that don't have this issue.
    l
    b
    • 3
    • 10
  • b

    bitter-application-91815

    09/30/2020, 11:17 AM
    Hey hey, just trying to do a global postgres aws cluster here. In the example given in the rds/globalCluster.go it uses providers from the aws/providers pacakge. They don't seem to be available to me ...
    b
    • 2
    • 2
  • b

    bitter-application-91815

    09/30/2020, 11:17 AM
    Diagnostics:
      pulumi:pulumi:Stack (development-axiom-cloud):
        go: finding <http://github.com/pulumi/pulumi-aws/sdk/v3/go/aws/providers|github.com/pulumi/pulumi-aws/sdk/v3/go/aws/providers> latest
        go: finding <http://github.com/pulumi/pulumi-aws/sdk/v3/go/aws|github.com/pulumi/pulumi-aws/sdk/v3/go/aws> latest
        go: finding <http://github.com/pulumi/pulumi-aws/sdk/v3/go|github.com/pulumi/pulumi-aws/sdk/v3/go> latest
        build development: cannot load <http://github.com/pulumi/pulumi-aws/sdk/v3/go/aws/providers|github.com/pulumi/pulumi-aws/sdk/v3/go/aws/providers>: module <http://github.com/pulumi/pulumi-aws/sdk/v3@latest|github.com/pulumi/pulumi-aws/sdk/v3@latest> found (v3.5.0), but does not contain package <http://github.com/pulumi/pulumi-aws/sdk/v3/go/aws/providers|github.com/pulumi/pulumi-aws/sdk/v3/go/aws/providers>
     
        error: an unhandled error occurred: program exited with non-zero exit code: 1
  • b

    best-france-51653

    09/30/2020, 11:23 AM
    Hi All, Question about yaml transformation using golang, https://www.pulumi.com/docs/reference/pkg/kubernetes/yaml/configfile/#yaml-with-transformations Is there a way to modify loaded yaml by adding some params there, not only change the values?
    s
    g
    • 3
    • 5
  • c

    clever-plumber-29709

    09/30/2020, 1:43 PM
    message has been deleted
  • h

    handsome-actor-1155

    09/30/2020, 4:23 PM
    message has been deleted
    c
    • 2
    • 1
  • a

    abundant-author-76343

    09/30/2020, 7:57 PM
    Hello, I'm using https://www.pulumi.com/docs/tutorials/azure/azure-ts-dynamicresource/ to provision a custom domain resource. Trying to enable https gives me the error
    error: The resource format is invalid
    . Currently my best guess is that it is related directly to the
    @azure/arm-cdn
    package used in the example. Happy for any input that might help to solve this issue. Created a related ticket as well. https://github.com/pulumi/examples/issues/804
  • f

    flat-insurance-25294

    10/01/2020, 8:59 AM
    Has Pulimi done any changes regarding to stacks? Can we create new Stacks from Pulimi typescript code on the fly, or do they need to be created via CLI first? We like to create new stacks based on pull request ID from Github, but need to run some CLI code to generate new YAML files each time.
    b
    • 2
    • 1
  • b

    bitter-toddler-22112

    10/01/2020, 9:14 AM
    Hi guys, when creating an eks node group with spot instances, will it be possible to give multiple instance types (like with KOPS the mixedInstancesPolicy)? In the docs the value is named "instanceTypes" (plural), but the description says it will only accept a single value.
  • b

    big-account-56668

    10/01/2020, 9:27 AM
    Is it possible to use stack references with a self-hosted back-end and if so what would I put in the constructor argument as
    <organization>
    ? I have a single project with two stacks
    prod
    and
    stage
    and would like to reference the former from the latter.
    b
    • 2
    • 2
  • b

    breezy-butcher-78604

    10/01/2020, 11:33 AM
    having problems using the
    pulumi/pulumi-nodejs
    docker image to deploy my template, seems to be an issue installing whatever plugin is required to run CrossGuard policies. here's the command i'm running:
    docker run -v $(pwd):/pulumi/projects -e PULUMI_ACCESS_TOKEN -it pulumi/pulumi-nodejs:latest /bin/bash -c "npm ci && pulumi preview"
    and here's the output from the
    pulumi up
    command
    Logging in using access token from PULUMI_ACCESS_TOKEN
    Previewing update (my-stack):
    Installing policy pack vgw-sec-policies 3.0.2...
    [resource plugin aws-2.13.1] installing
    Finished installing policy pack
    
    
    error: could not start policy pack "vgw-sec-policies" because the built-in analyzer plugin that runs policy plugins is missing. This might occur when the plugin directory is not on your $PATH, or when the installed version of the Pulumi SDK does not support resource policies
    any ideas what I can do to resolve this?
    b
    f
    • 3
    • 23
  • a

    acceptable-stone-35112

    10/01/2020, 2:25 PM
    When ACM certificate is modified, pulumi up hangs on trying to delete the old cert, that is in use by api gateway. Looks like bug to me, as it should first update certificate ARN in API GW custom domain and then delete old one once it appears not in use
  • a

    acceptable-stone-35112

    10/01/2020, 2:25 PM
    I think it behaves like that also with CloudFront - didn't test yet
    c
    • 2
    • 2
  • b

    bitter-application-91815

    10/01/2020, 6:30 PM
    hey hey
  • b

    bitter-application-91815

    10/01/2020, 6:30 PM
    If i'm trying to pull an image from a private self hosted gitlab registry (under custom dns), to deploy on a kubs cluster  should i first deploy my private token using this https://github.com/pulumi/pulumi-gitlab/tree/master/sdk/go/gitlab and then reference the image re yaml for k8s
    b
    • 2
    • 2
  • m

    millions-furniture-75402

    10/01/2020, 8:04 PM
    Is there a native way pulumi supports
    Pulumi.mystack.yml
    as JSON instead?
  • a

    abundant-egg-71808

    10/01/2020, 9:21 PM
    Is it possible to use Azure's free managed certificate feature via pulumi (in preview)? https://docs.microsoft.com/en-us/azure/app-service/configure-ssl-certificate#create-a-free-certificate-preview
  • f

    flat-insurance-25294

    10/02/2020, 1:45 AM
    @broad-dog-22463 Sorry for bothering you again, what is the current Roadmap on “stacks” and configs? Will “auto” come to Typescript as well? I recall there was a discussion about the ability to create stacks using Pulimi API on the fly without CLI - has that been added?
    f
    • 2
    • 1
Powered by Linen
Title
f

flat-insurance-25294

10/02/2020, 1:45 AM
@broad-dog-22463 Sorry for bothering you again, what is the current Roadmap on “stacks” and configs? Will “auto” come to Typescript as well? I recall there was a discussion about the ability to create stacks using Pulimi API on the fly without CLI - has that been added?
f

faint-table-42725

10/02/2020, 2:12 AM
Yes, we plan to have the Automation API across all runtimes, including Node. There’s work in progress on Node at the moment (https://github.com/pulumi/pulumi/pull/5347)
View count: 1