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

    sticky-receptionist-53934

    09/04/2020, 9:47 AM
    however, this is currently not working, the ingress object lacks any status, in fact it is lacking other properties such as “metadata”:
    Service {
            __pulumiResource: true,
            __transformations: [],
            __name: 'ingress',
            __providers: { kubernetes: [Provider] },
            __protect: false,
            __aliases: [],
            urn: OutputImpl {
              __pulumiOutput: true,
              resources: [Function],
              allResources: [Function],
              isKnown: [Promise],
              isSecret: [Promise],
              promise: [Function],
              toString: [Function],
              toJSON: [Function]
            },
            id: OutputImpl {
              __pulumiOutput: true,
              resources: [Function],
              allResources: [Function],
              isKnown: [Promise],
              isSecret: [Promise],
              promise: [Function],
              toString: [Function],
              toJSON: [Function]
            },
            __pulumiCustomResource: true,
            __pulumiType: 'kubernetes:core/v1:Service'
          },
  • s

    sticky-receptionist-53934

    09/04/2020, 9:48 AM
    what gives?
  • s

    sticky-receptionist-53934

    09/04/2020, 9:54 AM
    opened an issue in github for tracking this: https://github.com/pulumi/pulumi-gcp/issues/435
  • h

    handsome-zebra-11018

    09/04/2020, 10:15 AM
    anyway we can run a bash script using pulumi.. wanted to execute some command locally
    a
    • 2
    • 1
  • e

    elegant-grass-60987

    09/04/2020, 10:44 AM
    Hello, guys
  • e

    elegant-grass-60987

    09/04/2020, 10:47 AM
    What's the correct way to resolve this promise, should I use
    apply
    ?
    github.getBranch({
          branch: 'qa',
          repository: 'test'
        })
  • a

    adventurous-book-24480

    09/04/2020, 1:25 PM
    👋 Would it make sense to run Pulumi inside a lambda triggered by events? Is that something people do?
    h
    s
    l
    • 4
    • 6
  • a

    adventurous-book-24480

    09/04/2020, 1:27 PM
    (of course taking into consideration any locking that needs to happen to prevent a race-condition)
    s
    • 2
    • 1
  • c

    chilly-magazine-6129

    09/04/2020, 3:05 PM
    👋 I'm trying to inject/add code outside of the lambda callback. I'm using the callbackfactory pattern per a the github issue, but it's still unclear on how it's possible (threading with screenshots)
    g
    c
    • 3
    • 19
  • a

    astonishing-quill-88807

    09/04/2020, 8:11 PM
    Has anyone gone down the road of writing a config module to be used across their different projects to avoid having to duplicate values across projects and stacks?
  • a

    astonishing-quill-88807

    09/04/2020, 8:11 PM
    One of the options that I saw referenced before was to create a project and stack to register the shared values as outputs, but how do you handle secret values in that pattern?
    l
    • 2
    • 2
  • d

    damp-elephant-82829

    09/05/2020, 5:33 PM
    Has anyone ever met No value was found for project during import ?
  • d

    damp-elephant-82829

    09/05/2020, 5:33 PM
    Very akward error
  • e

    elegant-carpet-8859

    09/06/2020, 1:43 AM
    Is there a way to silence kubernetes warnings? Knowing that some APIs used in a third-party helm chart in like 29 resources will be deprecated 4 minor k8s versions from now every time I run...is not great
    g
    • 2
    • 2
  • d

    damp-elephant-82829

    09/06/2020, 6:53 AM
    For those resources that are shared among microservices (A Kinesis Queue for example) is there a known pattern “create if not exists?”
  • d

    damp-elephant-82829

    09/06/2020, 6:54 AM
    You don’t want any of the microservice to be the first to be deployed in a mandatory way
  • c

    clever-byte-21551

    09/06/2020, 1:38 PM
    Did anybody here used Pulumi for provisioning EKS clusters with spot node pools?
  • f

    famous-kite-69533

    09/06/2020, 1:57 PM
    Hi guys, it looks like
    k8s.helm.v3.fetch
    is no longer available with the latest version. What is the alternative?
  • f

    famous-kite-69533

    09/06/2020, 4:00 PM
    Nevermind, I am downloading and untarring in a different way
  • f

    few-painting-77267

    09/06/2020, 4:32 PM
    Is there a general solution to running tests before the stack configured as "completed"? E.g. sending http request to ensure the app indeed started and is healthy? I can do it in TS, but I need to await the response somehow
    l
    • 2
    • 3
  • s

    sticky-receptionist-53934

    09/07/2020, 9:56 AM
    I am a bit confused about the “parent” option that can be set on resources. Is it used for dependency tracking?
    l
    g
    • 3
    • 7
  • b

    bitter-application-91815

    09/07/2020, 12:29 PM
    Hey there, is there a createManagedNodeGroup method for go, I found it for node and it's mentioned in the docs but it doesn't seem to be in the api
    w
    • 2
    • 2
  • b

    bitter-application-91815

    09/07/2020, 12:30 PM
    For a full list of properties you can configure on your Managed Node Groups, please refer to the createManagedNodeGroup API docs. There are fewer options available than manually managed node groups, such as inability to supply kubelet arguments, for instance. We are giving up some control in exchange for simplicity. For complete information about EKS Managed Node Groups, see AWS's own product documentation.
  • t

    tall-scientist-89115

    09/07/2020, 6:49 PM
    Is there a way to pass passwords into cloudamqp.Instances? Similar to how you would with an RDS instance. I can go out to the UI after the instance is created and copy the password manually back into the stacks config (or set env variables), but that seems circular.
    b
    • 2
    • 6
  • h

    helpful-processor-86468

    09/08/2020, 6:50 AM
    pulumi-python:dynamic:Resource (xxxx):
        error: Preview failed: Exception calling application: code() takes at most 15 arguments (16 given)
    My code suddenly started throwing this without any changes.
  • m

    miniature-scientist-54855

    09/08/2020, 10:09 AM
    Hi, i have a conceptual question regarding secrets which i can't find in https://www.pulumi.com/docs/intro/concepts/config/
    b
    • 2
    • 2
  • m

    miniature-scientist-54855

    09/08/2020, 10:11 AM
    So i'm creating currently a sql-user+password like this:
    someUser, err := sql.NewUser(ctx, "aDBUser", &sql.UserArgs{
    			Instance: instance.Name,
    			Name:     pulumi.String("theUsername"),
    			Password: pulumi.String("thePassword"),
    		})
  • m

    miniature-scientist-54855

    09/08/2020, 10:13 AM
    So, sure i could load the secret as described in the document. But what i really would like to do is to create the secret programmatically randomly. I could do that but in that case the secret would get updated with each run of pulumi. Is there a possibility to set it one initially but programmatically and then keep the secret in the state but don't change it with each run?
    s
    • 2
    • 1
  • b

    bitter-application-91815

    09/08/2020, 12:05 PM
    hey again, is there any concrete example of how to setup a bastion for a vpc. I have some scraps of examples around security groups, but i'm unsure as to whether the bastion needs to be in all public subnets of vpc, therefore that requires x number of ec2 bastion instances for x number public subnets ?
    q
    • 2
    • 8
  • l

    limited-rainbow-51650

    09/08/2020, 3:14 PM
    Is there a
    ResourceTransformation
    code example available in TypeScript? I couldn’t find anything in the
    examples
    repo.
Powered by Linen
Title
l

limited-rainbow-51650

09/08/2020, 3:14 PM
Is there a
ResourceTransformation
code example available in TypeScript? I couldn’t find anything in the
examples
repo.
View count: 1