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

    alert-artist-66265

    03/31/2020, 8:21 AM
    im having problems when trying
    pulumi up
    or just trying to install any plugin in general... it takes forever to download...
  • a

    alert-artist-66265

    03/31/2020, 8:21 AM
    do you guys have any similar situations?
  • s

    stale-knife-36790

    03/31/2020, 8:22 AM
    How do I use a resource account / group to deploy functions with pulumi? (I can't seem to get the 'appId', 'tenant' and 'password' as well as I'm currently getting the following error:
    Diagnostics:
      pulumi:pulumi:Stack (azure-dev):
        The Pulumi runtime detected that 166 promises were still active
        at the time that the process exited. There are a few ways that this can occur:
          * Not using `await` or `.then` on a Promise returned from a Pulumi API
          * Introducing a cyclic dependency between two Pulumi Resources
          * A bug in the Pulumi Runtime
        Leaving promises active is probably not what you want. If you are unsure about
        why you are seeing this message, re-run your program with the `PULUMI_DEBUG_PROMISE_LEAKS`
        environment variable. The Pulumi runtime will then print out additional
        debug information about the leaked promises.
    
      azure:core:ResourceGroup (my_specified_resource_group):
        error: Error ensuring Resource Providers are registered.
    
        Terraform automatically attempts to register the Resource Providers it supports to
        ensure it's able to provision resources.
    
        If you don't have permission to register Resource Providers you may wish to use the
        "skip_provider_registration" flag in the Provider block to disable this functionality.
    
        Please note that if you opt out of Resource Provider Registration and Terraform tries
        to provision a resource from a Resource Provider which is unregistered, then the errors
        may appear misleading - for example:
    
        > API version 2019-XX-XX was not found for Microsoft.Foo
    
        Could indicate either that the Resource Provider "Microsoft.Foo" requires registration,
        but this could also indicate that this Azure Region doesn't support this API version.
    
        More information on the "skip_provider_registration" flag can be found here:
        <https://www.terraform.io/docs/providers/azurerm/index.html#skip_provider_registration>
    
        Original Error: Cannot register provider Microsoft.Kusto with Azure Resource Manager: resources.ProvidersClient#Register: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="AuthorizationFailed" Message="The client <mailto:'live.com#my_email@hotmail.com|'live.com#my_email@hotmail.com>' with object id '********-****-****-********950e' does not have authorization to perform action 'Microsoft.Kusto/register/action' over scope '/subscriptions/********-****-****-****-********e859' or the scope is invalid. If access was recently granted, please refresh your credentials.".
    t
    c
    • 3
    • 22
  • b

    bumpy-agent-19616

    03/31/2020, 8:47 AM
    Helm v3 client allows the installation of CRD's (Custom Resource Definition's of k8s) of 'aad-pod-identity' chart. However, pulumi's support on helm v3 way of installing things doesn't seem to be installing those. Any help would be much appreciated.
    a
    • 2
    • 1
  • h

    helpful-processor-86468

    03/31/2020, 1:50 PM
    Hi everyone. I managed to create a bucket, then changed it's name to empty string in code. After running
    pulumi up
    my previous bucket got deleted and the creation of new one failed.
    pulumi up
    doesn't help. How can I solve this?
    b
    a
    g
    • 4
    • 31
  • a

    acoustic-leather-88378

    03/31/2020, 2:04 PM
    Is this ok (after upgrading to
    1.13.1
    )?
    Found incompatible versions of @pulumi/pulumi. Differing major or minor versions are not supported.
          Version 1.13.1 referenced at node_modules/@pulumi/kubernetesx/node_modules/@pulumi/kubernetes/node_modules/@pulumi/pulumi/package.json
          Version 1.13.1 referenced at node_modules/@pulumi/pulumi/package.json
    f
    • 2
    • 2
  • l

    loud-oyster-36834

    03/31/2020, 2:23 PM
    Hi all. Quick question, I think I managed to come into a weird state after importing a resource from Azure. Now pulumi want to replace the resource completely just because the name is different(?).
    +-  ├─ azure:network:ApplicationGateway extgateway replace [diff: ~name]
    Is it possible to recover the stack from this state? setting the
    name
    and
    pulumi up
    , then remove
    name
    will just revert me back into the same state.
    b
    • 2
    • 5
  • q

    quiet-wolf-18467

    03/31/2020, 4:09 PM
    I'm running into an annoying bug where Pulumi is trying to update the stack state too frequently on GCS, causing a 429 RateLimitExceeded. Anyone know how to stop that happening?
  • w

    wonderful-dog-9045

    03/31/2020, 4:35 PM
    When I mount an EFS volume on a container on ECS, do you need to explicitly create security groups and IAM policies or will pulumi handle this for me?
    m
    • 2
    • 7
  • c

    colossal-alarm-90650

    03/31/2020, 5:40 PM
    I have a string stored in the config as secret, after retreival with config.requireSecret(‘name’) I actually need to manipulate it a bit, i.e. “unsecretify” it so that string operations work on it. How do I do that? It seems this is an Output<T> marked as secret and it just refuses to become anything else.
    l
    g
    • 3
    • 20
  • q

    quiet-wolf-18467

    03/31/2020, 6:45 PM
    Can outputs from GCS/S3 stacks being referenced yet?
  • c

    crooked-helicopter-55521

    03/31/2020, 7:15 PM
    Dumb question, can you configure the 10 minute timeout on
    pulumi up
    ? Digging through the docs I can't find anything, which seems hard to belive. Am I missing something? It's been causing problems for a long running change I'm trying to do
    c
    w
    • 3
    • 4
  • g

    great-byte-67992

    04/01/2020, 3:10 AM
    Hey everyone. I’ve been working on this project, kloudlib [1], for a while now and I thought some of the kubernetes users here would be interested! I’m hoping it might become a sort of helm/stable for Pulumi users. I’d love to hear your feedback, suggestions and ideas 😀 [1] https://github.com/place1/kloudlib
    🎉 10
    😛ulumipus-8bit: 1
    ❤️ 1
    c
    w
    +3
    • 6
    • 20
  • c

    colossal-alarm-90650

    04/01/2020, 6:55 AM
    Next beginner question ( 🙂 ) As pulumi tags on an “id” number on resource names, they become rather difficult to find. In fact the “get”-methods become quite useless as they for most part operate on the obfuscated name property. As the reasons for doing this (I know there’s a way to enforce the supplied name) are quite valid and the functionality very useful, well… In AWS a strategy to handle this would be to use tags on the objects and then find them that way. Could you give me an example of that, i.e. finding say an aws EC2 with the tag/value “foo: bar”? That would solve the problem right away.
    s
    m
    • 3
    • 9
  • c

    clean-eve-27532

    04/01/2020, 8:15 AM
    Can't tell if I'm being silly but is there anyway to iterate a pulumi.Output<string[]> and create resources using each iterated value?
    s
    • 2
    • 6
  • s

    steep-caravan-65104

    04/01/2020, 9:38 AM
    Since yesterday (31 March 2020), we have been seeing persistent 429 rate limit errors with the GCS state backend for pulumi. See this error irrespective of the size of pulumi stacks (even on newly created stacks) and even when only a single object from the stack is being created or modified. Also tried
    pulumi up --parallel 1
    for single threaded execution, but still see this error.
    Diagnostics:
      gcp:kms:CryptoKeyIAMBinding (xxx-permissions):
        error: post-step event returned an error: failed to save snapshot: An IO error occurred during the current operation: blob (key ".pulumi/stacks/<stack-name>.json") (code=Unknown): googleapi: Error 429: The rate of change requests to the object <gcs-bucket-name>/.pulumi/stacks/<stack-name>.json exceeds the rate limit. Please reduce the rate of create, update, and delete requests., rateLimitExceeded
    
      pulumi:pulumi:Stack (<pulumi-project-name>-<stack-name>):
        error: update failed
    We may have to give up on using GCS buckets entirely for storing pulumi state. Does anybody know about what could be causing this issue or any workarounds? Thanks. Have created github issue for this too: https://github.com/pulumi/pulumi/issues/4258
    👍 1
    a
    q
    +4
    • 7
    • 45
  • e

    enough-kite-69616

    04/01/2020, 5:16 PM
    Hi, trying to set up AKS on Azure, and it's failing on the resource group. The resource group already exists, so maybe that's the issue?
    Diagnostics:
      azure:core:ResourceGroup (RD-FoundationalServices-rg):
        error: Error ensuring Resource Providers are registered.
    
        Terraform automatically attempts to register the Resource Providers it supports to
        ensure it's able to provision resources.
    
        If you don't have permission to register Resource Providers you may wish to use the
        "skip_provider_registration" flag in the Provider block to disable this functionality.
    
        Please note that if you opt out of Resource Provider Registration and Terraform tries
        to provision a resource from a Resource Provider which is unregistered, then the errors
        may appear misleading - for example:
    
        > API version 2019-XX-XX was not found for Microsoft.Foo
    
        Could indicate either that the Resource Provider "Microsoft.Foo" requires registration,
        but this could also indicate that this Azure Region doesn't support this API version.
    
        More information on the "skip_provider_registration" flag can be found here:
        <https://www.terraform.io/docs/providers/azurerm/index.html#skip_provider_registration>
    
        Original Error: Cannot register provider Microsoft.DocumentDB with Azure Resource Manager: resources.ProvidersClient#Register: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="AuthorizationFailed" Message="The client <mailto:'jcarreira@mtb.com|'jcarreira@mtb.com>' with object id 'a25caa95-0e42-47b3-99a0-47bc2ba17ceb' does not have authorization to perform action 'Microsoft.DocumentDB/register/action' over scope '/subscriptions/7e01b735-d940-4f45-953c-08f86d80d43f' or the scope is invalid. If access was recently granted, please refresh your credentials.".
  • s

    salmon-account-74572

    04/01/2020, 5:53 PM
    I just provisioned a new project using
    npm install
    , and after NPM was done installing packages it reported this:
    found 21 low severity vulnerabilities
      run `npm audit fix` to fix them, or `npm audit` for details
    Is this something that should be addressed?
    npm audit
    provides some verbose output that identifies the dependencies that affected. (I'm new to the NodeJS/npm world, so apologies if this is a stupid question.)
    w
    • 2
    • 4
  • c

    calm-greece-42329

    04/01/2020, 7:10 PM
    i asked a related question in the #kubernetes channel, but is there a way to generate my own auto-naming using the internal logic? i have two resources with cyclic dependencies (k8s pod that needs to know the name of its service)
    b
    g
    • 3
    • 2
  • e

    elegant-crayon-4967

    04/01/2020, 9:35 PM
    I’m creating a type of tags like this
    readonly tags: pulumi.Input<{
          [key: string]: pulumi.Input<string>;
        }>;
    When I try to call a value in there like follows
    pulumi.all([tags.t_env]).apply
    I get error
    Property 't_env' does not exist on type 'Input<{ [key: string]: Input<string>; }>'.
      Property 't_env' does not exist on type 'Promise<{ [key: string]: Input<string>; }>'.ts(2339)
    h
    • 2
    • 4
  • c

    calm-greece-42329

    04/01/2020, 11:16 PM
    is there something like pulumi.interpolate for dealing with files, or should i load into a string and do something else? ive got a configuration file that i want to add some Output’s to
    b
    w
    • 3
    • 4
  • g

    great-accountant-75189

    04/02/2020, 5:56 AM
    How do I go about referencing existing resources? Specifically an AWS EKS cluster.. I don’t want to re-create it .. I just want to add node groups..
    aws.eks.getCluster
    doesn’t return a
    Cluster
    object..
    r
    • 2
    • 4
  • a

    acceptable-stone-35112

    04/02/2020, 8:17 AM
    How can I use pulumi stack output in github actions that are not managed by pulumi?
  • a

    acceptable-stone-35112

    04/02/2020, 8:17 AM
    How to reference these output vars in next steps?
    • 1
    • 2
  • w

    witty-cat-14403

    04/02/2020, 10:28 AM
    I am new to pulumi...I am using python...I want to write ami creation nd ec2 creation as two separate modules..and link two with "import"..is that possible similar to terraform import ?
    f
    • 2
    • 2
  • g

    great-analyst-59265

    04/02/2020, 10:32 AM
    BUG or FEATURE? I am using Pulumi v1.13.1 with a Azure Blob Container to store state. During "destroy" the only stack file that's kept is the one with the extension ".bak". If the operation is interrupted for any reason the stack is no longer present until the stack is restored from the backup file. Is this the intended behavior?
  • h

    helpful-processor-86468

    04/02/2020, 11:28 AM
    Why is ensurance that there are no ongoing updates exclusive to saas? Terraform manages it simply by placing a lock in some document db available on whatever cloud you are using. Why isn't this done in pulumi?
  • s

    stale-knife-36790

    04/02/2020, 12:10 PM
    Is express.js comptaible with Pulumi? If so is there a code snippet / tuttorial for it?
  • s

    stale-knife-36790

    04/02/2020, 12:13 PM
    This is what I am currently trying (but that doesn't seem to work as expected)
    const greeting = new gcp.cloudfunctions.HttpCallbackFunction("greeting", ((req, res) => {
        try {
            app.get('/', async (req, res) => {
                res.send(JsonData);
            });
        } catch (err) {
    
        }
    }));
    w
    c
    • 3
    • 6
  • s

    stale-knife-36790

    04/02/2020, 12:18 PM
    (Want to work with different call methods)
Powered by Linen
Title
s

stale-knife-36790

04/02/2020, 12:18 PM
(Want to work with different call methods)
View count: 1