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

    average-dream-51210

    05/19/2019, 7:33 PM
    I see an AWSX library for Javascript but none for Python
  • a

    average-dream-51210

    05/19/2019, 7:51 PM
    Hm, if the team is transitioning from managing AWS by hand, to Pulumi, what if we had some infrastructure on Pulumi, and then some configs were messed around with in the AWS GUI Console, is there a way to sync up what was changed in the AWS GUI to Pulumi code?
    w
    • 2
    • 4
  • a

    average-dream-51210

    05/19/2019, 8:03 PM
    Hm with the awsx cloud api thing, is there a way to reference a folder to bundle up for a lambda upload? We have Python Lambdas and if we wanted to use javascript we'd have to reference the location of the python lambdas 😮
    b
    • 2
    • 6
  • w

    witty-alarm-17249

    05/20/2019, 10:40 AM
    Hi all
  • w

    witty-alarm-17249

    05/20/2019, 10:40 AM
    I'm trying to figure why I'm not allowed to do that
  • w

    witty-alarm-17249

    05/20/2019, 10:40 AM
    -.js
  • w

    witty-alarm-17249

    05/20/2019, 10:41 AM
    or why my stack reference returns an output whereas it has already been resolved by the referenced stack
  • s

    stocky-spoon-28903

    05/20/2019, 10:48 AM
    The actual read is asynchronous -
    StackReference
    is a resource underneath
  • w

    witty-alarm-17249

    05/20/2019, 10:54 AM
    get it thanks
  • b

    billowy-garage-68819

    05/20/2019, 2:45 PM
    as a infra guy and not a node/ts developer what am I supposed to do with this: Diagnostics: pulumi😛ulumi:Stack (cluster-alpha): (node:16144) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 exit listeners added. Use emitter.setMaxListeners() to increase limit
    r
    w
    • 3
    • 4
  • b

    billowy-garage-68819

    05/20/2019, 3:36 PM
    does anybody know the differences for regional vs zonal GKE clusters in regards to Pulumi (trying to find why it's still coming up as zonal even though I've discarded the zone definition and switched to location using the region)
  • c

    creamy-jelly-91590

    05/20/2019, 3:54 PM
    Is it possible to tell Pulumi not to add a random ID to the end of the resource name? Hitting a node pool name limit of 40 chars
    a
    • 2
    • 1
  • s

    stocky-spoon-28903

    05/20/2019, 3:55 PM
    @creamy-jelly-91590 Yes - set
    name
    explicitly
  • c

    creamy-jelly-91590

    05/20/2019, 3:56 PM
    @stocky-spoon-28903 thank you sir
  • s

    stocky-spoon-28903

    05/20/2019, 3:56 PM
    Heh, @ambitious-van-68615 beat me to it!
    😅 1
    a
    • 2
    • 1
  • c

    creamy-jelly-91590

    05/20/2019, 3:57 PM
    @ambitious-van-68615 and thanks to you too then 😄
  • f

    few-dog-41530

    05/20/2019, 8:09 PM
    Hello, does anyone know how I should handle the automated rotation of secrets while using pulumi?
  • f

    few-dog-41530

    05/20/2019, 8:09 PM
    Or should I use an external cloud native solution for my non static secrets?
  • w

    worried-engineer-33884

    05/20/2019, 9:29 PM
    Does Pulumi have service accounts to use for a CD pipeline? or would you just create another person in the organization to be the "service account"?
    c
    i
    w
    • 4
    • 3
  • f

    fresh-flag-12765

    05/21/2019, 4:20 PM
    Hey. Running through the eks tutorial (https://pulumi.io/quickstart/aws/tutorial-eks.html). I'm getting a warning about incompatible versions of
    @pulumi/pulumi
    . Some require 0.17, some require 0.16...
    w
    • 2
    • 6
  • b

    billions-architect-86650

    05/21/2019, 4:40 PM
    I know google cloud run is still in preview mode, safe to assume it's on the radar to add to pulumi?
    w
    • 2
    • 1
  • b

    brave-angle-33257

    05/21/2019, 6:05 PM
    error: could not deserialize deployment: unknown secrets provider type
    w
    b
    • 3
    • 25
  • b

    busy-umbrella-36067

    05/21/2019, 7:55 PM
    Has anyone used Helm charts in a custom namespace before? Setting
    namespace
    in
    ChartOpts
    doesn’t seem to do it https://pulumi.io/reference/pkg/nodejs/@pulumi/kubernetes/helm/v2/#ChartOpts-namespace
    i
    • 2
    • 2
  • f

    fierce-dinner-20116

    05/21/2019, 8:20 PM
    Hi, after updating
    @pulumi/aws: 0.18.3 -> 0.18.4
    , pulumi wants to replace my rds subnet group, rds instance, and DLM policy even after no other changes are made Not sure how to repro, and my setup has some sensitive info in it. Could I pm relevant info to someone?
    b
    • 2
    • 1
  • p

    proud-tiger-5743

    05/21/2019, 8:25 PM
    I upgraded Pulumi and now
    cloud.Table
    is failing with a requirement of
    Missing required property 'readCapacity'
    This wasn't a requirement before, and adding
    new cloud.Table("assetTable", "id","string",{
      readCapacity: 5,
      writeCapacity: 5
    });
    doesn't seem to fix it
    w
    • 2
    • 3
  • e

    early-musician-41645

    05/21/2019, 9:37 PM
    How do I import an
    eks.Cluster
    provider using a
    StackReference
    ? I'd like to create a new namespace in a cluster, but the namespace creation is in a separate stack from the one where the cluster is defined/created
    • 1
    • 2
  • f

    full-dress-10026

    05/21/2019, 10:05 PM
    Just started getting this error when running
    pulumi up
    error: could not deserialize deployment: unknown secrets provider type
    Any idea what would cause this? I have
    v0.17.12
    of pulumi installed and my project uses the same version.
    w
    b
    • 3
    • 5
  • e

    early-musician-41645

    05/21/2019, 10:30 PM
    SecretsManager: I need to pull the value of a secret stored in AWS secretsmanager. This code: https://pulumi.io/reference/pkg/nodejs/@pulumi/aws/secretsmanager/ Says:
    function getSecret 
    getSecret(args?: GetSecretArgs, opts?: pulumi.InvokeOptions): Promise<GetSecretResult>
    
    Retrieve metadata information about a Secrets Manager secret. To retrieve a secret value, see the aws_secretsmanager_secret_version data source.
    The code comment links here: https://www.terraform.io/docs/providers/aws/d/secretsmanager_secret_version.html After looking through the code and the reference I still don't know how to retrieve a secret value. Any pointers?
  • b

    big-glass-16858

    05/22/2019, 12:24 PM
    Hi there, I would like to have more information on
    registerOutputs()
    , for example gh:jen20/pulumi-aws-vpc does not look to have one but the docs says it is recommended, should all the exported values by registered in
    registerOutputs()
    ? . Also, is it okay to access directly members of an ComponentRessource Instance ? let's say I have a something like this :
    class MyRes(ComponentResource):
    
        def __init__(self,  str_example: pulumi.Input[str], opts=None) -> None:
            props = {
                "str_example": str_example,
            }
    
            super(MyRes, self).__init__(
                'custom:my_res',
                name,
                props,
                opts)
    
            self.str_example = str_example
    
            self.register_outputs({})
    
    
    
    my_res = MyRes('example')
    
    # use my_res.str_example
    It seems to work just fine (getting type pulumi.Output[T]) , is that incorrect ?
    b
    s
    • 3
    • 5
  • f

    few-processor-86645

    05/22/2019, 12:38 PM
    Hi guys, I've updated my pulumi packages for my azure IaC and when I run a pulumi preview (with no changes to IaC) I have this for almost all my ressources: replace [diff: ~provider] Am I missing something, because recreating all resources is not an option for my company...
    b
    s
    w
    • 4
    • 11
Powered by Linen
Title
f

few-processor-86645

05/22/2019, 12:38 PM
Hi guys, I've updated my pulumi packages for my azure IaC and when I run a pulumi preview (with no changes to IaC) I have this for almost all my ressources: replace [diff: ~provider] Am I missing something, because recreating all resources is not an option for my company...
b

broad-dog-22463

05/22/2019, 12:42 PM
Hey Julien, It looks like there's an issue right now that is manifesting itself. https://github.com/pulumi/pulumi/issues/2753 This means it is also happening in the Azure provider. I can suggest that you need to downgrade the version of Pulumi for now - this should fix the issue. If you can, can you add to that issue that the same issue is happening with Azure? We can then unpublish the provider version I'm sorry this has happened to you
f

few-processor-86645

05/22/2019, 12:45 PM
Ok, i'm updating the issue, thanks for your quick reply
b

broad-dog-22463

05/22/2019, 12:48 PM
sorry again for the issue! Subscribe to the issue and you will know when it's updated
s

stocky-spoon-28903

05/22/2019, 12:55 PM
@few-processor-86645 I’m opening a PR to fix this now, and we’ll get a new release ASAP - certainly in the next hour.
f

few-processor-86645

05/22/2019, 12:56 PM
Ok, thanks, let me know when it's available I'll try it
s

stocky-spoon-28903

05/22/2019, 1:12 PM
Hi @few-processor-86645 - for now we have rolled back the Azure package to the previous version. If you update your
package.json
to point at v0.18.2 (or the
latest
tag) and re-run
npm install
, you should not see this reoccur
f

few-processor-86645

05/22/2019, 1:17 PM
I confirm that
s

stocky-spoon-28903

05/22/2019, 1:17 PM
Great. There will be a release with the new features but without this bug soon.
w

white-balloon-205

05/22/2019, 2:24 PM
If you pick up the latest CLI release -
0.17.13
- you should no longer see these proposed replacements.
f

few-processor-86645

05/22/2019, 2:29 PM
I confirm that! Thanks guys
b

broad-dog-22463

05/22/2019, 2:41 PM
thanks for the fast confirmation - sorry again!
View count: 1