https://pulumi.com logo
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

    ambitious-father-68746

    10/09/2020, 9:08 PM
    Hi, I'm using Pulumi with AWS and I always keep everything (plugins, libraries) up to date. But I realise that Pulumi is downloading both 2.x and 3.x plugins. Even if I delete the 2.x plugin it always gets downloaded. Considering that I have the 3.x plugin already there, why would this happen? I'm just trying to understand this behaviour.
    b
    • 2
    • 6
  • m

    many-psychiatrist-74327

    10/09/2020, 9:09 PM
    I seem to have gotten into a bad state after doing a
    pulumi up
    , and I don’t know how to get out of it… 1. My k8s deployments were running fine. 2. Run
    pulumi up
    with a new container image for my deployment. Pods get into crash loop and deployment fails. 3. Subsequent
    pulumi up
    commands always fail with
    error: transport is closing
    . Not very informative error… I’ve tried
    pulumi refresh
    and also running
    up
    with
    --logtostderr -v=7
    , but I don’t see anything useful
    g
    • 2
    • 10
  • w

    wet-noon-14291

    10/09/2020, 10:41 PM
    Is it a know issue that init a stack with azure key vault takes a long time or hangs? Or am I doing something wrong? Using a command like:
    pulumi stack init --secrets-provider="<azurekeyvault://mykeyvaul.vault.azure.net/keys/mykeyname>" Dev
    I get the message that the stack was created, but then it stops for some reason.
    s
    • 2
    • 4
  • t

    tall-needle-56640

    10/10/2020, 6:49 PM
    Looking for any docs, samples, etc. on how to implement a CustomResource. I read the Programming Model, but I was hoping for something lower level (i.e. code).
    b
    • 2
    • 3
  • g

    gentle-soccer-81698

    10/11/2020, 11:42 PM
    Hi all, is there a way to specify the latest version of the plugin to use? I've updated python and it's still trying to use an old version.
    Diagnostics:
      pulumi:providers:vsphere (default_2_8_0):
        error: no resource plugin 'vsphere-v2.8.0' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource vsphere v2.8.0`
  • g

    gentle-soccer-81698

    10/11/2020, 11:43 PM
    How can I force it to use
    2.10.1
    pulumi plugin ls
    NAME     KIND      VERSION  SIZE   INSTALLED    LAST USED
    vsphere  resource  2.10.1   63 MB  6 hours ago  6 hours ago
    
    TOTAL plugin cache size: 63 MB
  • w

    worried-queen-62794

    10/12/2020, 1:26 AM
    I had a protected resource and now I have set
    protect=False
    but it still refuses to delete the protected resource.
    l
    • 2
    • 14
  • b

    blue-pilot-69163

    10/12/2020, 4:53 AM
    Hey everyone, do you know of an example of using Pulumi to build a local Docker image and deploy it to a local K8s? No cloud involve.
  • w

    wet-noon-14291

    10/12/2020, 7:06 AM
    This might sound like a stupid question, but not sure. Let's say we are using azure blob storage to store the state so we use that to
    --cloud-url
    to log in, and I have also set all the azure config with
    pulumi config set azure:...
    . When we then execute pulumi, what credentials are used? Is it the credentials that I set using
    pulumi config set azure:..
    or is it some other credentials? For me it sort of make sense it it where two different set of credentials, since one is used to authenticate against the pulumi state and keyvault one might use, but the config you set with
    pulumi config set azure:...
    is the credentials you use for actual provisioning of resources.
    l
    • 2
    • 3
  • h

    happy-pencil-64085

    10/12/2020, 1:28 PM
    I was on the dotnet documentation for AWS Glue and noticed that in the code examples that the character sets and entity sets are not properly parsed out
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    class MyStack : Stack
    {
    public MyStack()
    {
        var awsGlueCatalogDatabase = new Aws.Glue.CatalogDatabase(&quot;awsGlueCatalogDatabase&quot;, new Aws.Glue.CatalogDatabaseArgs
        {
            Name = &quot;MyCatalogDatabase&quot;,
        });
    }
    
    }
  • q

    quick-king-51158

    10/12/2020, 3:07 PM
    hi all, i’m new to pulumi and i was wondering is it possible to keep the state under version control, or is it a bad idea?
    l
    • 2
    • 1
  • b

    busy-umbrella-36067

    10/12/2020, 4:24 PM
    I do that on some projects where the IaC is not run often, sensitive contents should be encrypted with the password
  • q

    quick-king-51158

    10/12/2020, 4:38 PM
    sure, in private repository, we did something similar with terraform back in the days, hence i was thinking doing this with pulumi as well, maybe. thanks for your response.
  • b

    busy-umbrella-36067

    10/12/2020, 5:06 PM
    I would have used the S3 backend but its incredibly slow.
  • m

    mysterious-easter-19881

    10/12/2020, 6:35 PM
    Speaking of S3, there's apparently some real bugginess with the handling of BucketObject's. Trying to sync it with a local folder has unexpected side effects like objects not being overwritten, objects not being deleted - I seem to have sorta hacked a fix together by doing pulumi up with the assets ignored before the real pulumi up, but apparently some assets are still not deleted.
    b
    g
    • 3
    • 8
  • l

    loud-egg-62954

    10/12/2020, 7:16 PM
    It seems like NodePools don't de-provision properly. Most resources seem to accept a 404 from the API as indicating a resource has been deleted successfully, NodePools on GKE don't
    g
    • 2
    • 3
  • w

    wet-soccer-72485

    10/12/2020, 10:24 PM
    Has anyone run into a
    Duplicate resource URN
    for their stack? For context, I am running
    --refresh
    in my
    pulumi up
    CI workflow.
    <PROJECT-NAME>-<STACK-NAME> (pulumi:pulumi:Stack)
    error: Duplicate resource URN 'urn:pulumi:<STACK-NAME>::<PROJECT-NAME>::pulumi:pulumi:Stack::<PROJECT-NAME>-<STACK-NAME>'; try giving it a unique name
    l
    b
    • 3
    • 22
  • a

    ambitious-address-60733

    10/13/2020, 4:22 AM
    Is there a way to connect to Pulumi from Gatling Load Tests?
    b
    • 2
    • 6
  • a

    ambitious-father-68746

    10/13/2020, 8:33 AM
    For a Pulumi employee: is it possible to enable issue tracking on the Random provider, please? https://github.com/pulumi/terraform-provider-random
    g
    • 2
    • 2
  • e

    eager-pillow-75917

    10/13/2020, 11:02 AM
    how do I convert a string to a input<string?
    g
    l
    • 3
    • 4
  • b

    blue-pilot-69163

    10/13/2020, 2:00 PM
    Hey everyone. Is there an example or type of setup when one can use Pulumi Kubernetes provider like Skaffold in which it automatically detects file changes, rebuilds and redeploys containers?
    g
    • 2
    • 3
  • e

    echoing-postman-88590

    10/13/2020, 3:37 PM
    Hi, how do I convert an Output to a float? Thanks
    g
    • 2
    • 3
  • s

    sticky-match-71841

    10/14/2020, 11:45 AM
    Hi all, i need to chain provisioning of an EKS cluster with resource being added to that cluster. My initial approach would be to dynamically create the k8s provider with outputs from the EKS cluster, but that at least has the impact of not showing the k8s resources in the preview. The k8s resources start showing up after the cluster has provisioned and pulumi can resolve the chain of dependencies. Is this approach kosher? Is there a better way to go about it?
  • h

    handsome-dinner-91163

    10/14/2020, 4:19 PM
    Resource exclusion / partial run in Pulumi: I'm trying to exclude a set of resources from being considered for update - sort of a "partial run". If I exclude them from the code Pulumi will try to remove them 😉 any idea how to simply 'exclude' them temporarily?
    b
    f
    i
    • 4
    • 5
  • e

    elegant-island-39916

    10/14/2020, 5:08 PM
    Hi, how would I resolve a
    pulumi.Output[List]
    early (or similar)? I importing this list from another stack and wish to iterate through the outputs to create resources.
    pulumi.Output#apply
    suggests I should not be creating resources using
    func
    ✅ 1
    b
    g
    • 3
    • 12
  • i

    icy-jordan-58549

    10/14/2020, 5:22 PM
    any ideas what’s this?
    error: resource mm/list-query-engine was not successfully created by the Kubernetes API server : failed to determine if the following GVK is namespaced: /v1, Kind=List
  • s

    sparse-gold-89283

    10/14/2020, 7:41 PM
    Is there a way to to achieve the inverse of
    pulumi up -t "urn"
    ? While waiting for a fix for https://github.com/pulumi/pulumi-aws/issues/1167 it would be an easy work around if I could run pulumi up for everything except the elasticache target. It is a fairly large stack so suppling all the targets except elasticache to the -t argument isn't a feasible option
    f
    • 2
    • 2
  • v

    victorious-helmet-11068

    10/15/2020, 7:53 AM
    hi all. I would like to ignore, at provider level, some tags. I’m doing somethink like:
    Untitled
  • v

    victorious-helmet-11068

    10/15/2020, 7:53 AM
    but with no luck
  • v

    victorious-helmet-11068

    10/15/2020, 7:54 AM
    the preview is:
Powered by Linen
Title
v

victorious-helmet-11068

10/15/2020, 7:54 AM
the preview is:
View count: 1