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

    quick-action-34599

    04/18/2019, 8:49 PM
    maybe I’m thinking the method is something that it isn’t
  • q

    quick-action-34599

    04/18/2019, 8:49 PM
    ah yea, it’s protected
  • q

    quick-action-34599

    04/18/2019, 9:06 PM
    I guess what I’m trying to do is manually register a target in a targetGroup and there doesn’t seem to be a way. Maybe awsx doesn’t expose that
  • q

    quick-action-34599

    04/18/2019, 9:09 PM
    aws.elasticloadbalancingv2.TargetGroupAttachment
    maybe
  • i

    incalculable-diamond-5088

    04/18/2019, 9:15 PM
    Hi, is there a good way to get the AWS provider used by an AWS resource?
    w
    • 2
    • 1
  • d

    dazzling-scientist-80826

    04/18/2019, 10:04 PM
    i noticed that all dynamic resources are created with Type =
    pulumi-nodejs:dynamic:Resource
    - Is there some way to override this? It makes it hard to tell what’s happening in previews & means i have to do extra work to namespace resources
  • s

    sparse-intern-71089

    04/18/2019, 10:42 PM
    This message was deleted.
    w
    • 2
    • 1
  • d

    dazzling-scientist-80826

    04/18/2019, 11:28 PM
    i’m using
    cloud.timer.interval
    & logs show up in cloudwatch, but aren’t showing up in
    pulumi logs -f
    (other logs are) - how does pulumi logs know what to monitor? and is this a bug in the cloud library maybe?
  • f

    faint-gold-95070

    04/19/2019, 4:46 AM
    Hi, just curious how the Pulumi developers/users think about security of e.g. downstream dependencies of Pulumi? Is it a 'downstream authors are trusted' kind of thing, or does some type of vetting on downstream dependencies happen? I am wondering this because there are lots of downstream deps and Pulumi working directly with infrastructure opens new attack vectors (secret access, etc). Thoughts? http://npm.broofa.com/?q=@pulumi/pulumi
    👍 1
    w
    • 2
    • 2
  • g

    gray-elephant-37695

    04/19/2019, 7:40 AM
    Is it possible to make use of "runtime" functionality locally, or will it only work in a lambda? My use case is, I need to run an ecs task as part of a test - it would be convenient if I could just use the task.run method on the resource instead of having to use aws' sdk
  • g

    gray-elephant-37695

    04/19/2019, 7:53 AM
    Ah Joe's recent blog post may have answered my question, looks like it's something available in golang but not yet implemented for other SDK's
  • q

    quick-action-34599

    04/19/2019, 2:12 PM
    I can’t find any examples of using host-based routing with ALBs in pulumi, specifically with the awsx module. Has anyone out there done this successfully?
    a
    • 2
    • 4
  • i

    incalculable-diamond-5088

    04/19/2019, 3:08 PM
    Hi, I’m following https://github.com/pulumi/pulumi-tf-provider-boilerplate for datadog provider and when running
    make ensure
    getting
    ENSURE:
    GO111MODULE=on go mod vendor
    /bin/bash: gomod-doccopy: command not found
    make: *** [ensure] Error 127
    w
    s
    • 3
    • 8
  • t

    thousands-summer-48355

    04/19/2019, 4:51 PM
    I have a typescript pulumi stack exporting some stack outputs — is there a way I can use the exports from another (non-pulumi) typescript script in a type safe way? Will it work to just import the module in which the stack is defined?
    g
    • 2
    • 2
  • i

    incalculable-diamond-5088

    04/19/2019, 6:12 PM
    Hi, Here’s a DataDog provider https://github.com/lemonade-hq/pulumi-datadog . Should we transfer the ownership?
    👏 2
  • e

    early-musician-41645

    04/19/2019, 7:29 PM
    Tags don't seem to be available when using
    eks.Cluster
    . I have a need to add tags to the cluster and all related/dependent components, but there's not tags attribute available. Is there any workaround for this?
    39 /*
     40  * EKS cluster creation
     41  */
     42 export const cluster = new eks.Cluster(config.environment + "-eks-cluster", {
     43     version: config.kubernetesVersion,
     44     vpcId: config.vpcId,
     45     subnetIds: config.subnetIds,
     46     instanceType: config.instanceType,
     47     tags: {
     48       Project: "Mustang",
     49     },
     50     nodeAmiId: config.amiId,
     51     nodePublicKey: config.workerNodePublicKey,
     52     nodeRootVolumeSize: 200,
     53     desiredCapacity: config.desiredNodes,
     54     maxSize: config.maxNumberOfNodes,
     55     minSize: config.minNumberOfNodes,
     56     nodeUserData: userData,
     57     deployDashboard: false,
     58     vpcCniOptions: {
    
    
    
    $ pulumi up
    Previewing update (redacted):
    
         Type                 Name                                              Plan     Info
         pulumi:pulumi:Stack  eks-cluster-online-sandbox-vpc           1 error
    
    Diagnostics:
      pulumi:pulumi:Stack (eks-cluster-online-sandbox-vpc):
        error: Running program '/home/tsi/eshamay/git/cs/infrastructure/pulumi/eks-cluster' failed with an unhandled exception:
        TSError: ⨯ Unable to compile TypeScript:
        cluster.ts(47,5): error TS2345: Argument of type '{ version: string; vpcId: string; subnetIds: Output<UnwrappedArray<string>>; instanceType: InstanceType; tags: { Project: string; }; nodeAmiId: string; nodePublicKey: string; nodeRootVolumeSize: number; ... 6 more ...; roleMappings: { ...; }[]; }' is not assignable to parameter of type 'ClusterOptions'.
          Object literal may only specify known properties, and 'tags' does not exist in type 'ClusterOptions'.
    i
    w
    b
    • 4
    • 7
  • i

    incalculable-diamond-5088

    04/19/2019, 10:33 PM
    @white-balloon-205 In https://github.com/pulumi/pulumi-eks/blob/master/nodejs/eks/cluster.ts#L92 - both
    instanceRole
    and
    instanceRoles
    are outputs and thus the expression fails even though none of them is set
    w
    l
    b
    • 4
    • 6
  • d

    dazzling-scientist-80826

    04/20/2019, 12:40 AM
    Is it possible to use
    link:../whatever
    in a pulumi package.json for a yarn project? I get
    Could not include required dependency
    when i try.
    w
    • 2
    • 6
  • s

    shy-army-45455

    04/22/2019, 3:18 AM
    I'm still getting a "Failed to refresh the Token for request" when building my Azure infrastructure. It seems to happen randomly as its completely inconsistent even when working from the same Pulumi code/stack. Has anyone else really never seen this?
  • s

    shy-army-45455

    04/22/2019, 3:19 AM
    It has happened once out of the five builds I've done today
    c
    s
    +2
    • 5
    • 13
  • i

    incalculable-diamond-5088

    04/22/2019, 2:19 PM
    In the last 1-3 days
    pulumi up
    became very slow. From less than 30-50 seconds each run is now taking ~3 minutes. Is it a known issue?
    w
    • 2
    • 3
  • j

    jolly-lifeguard-22556

    04/22/2019, 5:58 PM
    Not sure if this has been reported already but I'm seeing SSL issues on https://www.pulumi.com/
    NET::ERR_CERT_COMMON_NAME_INVALID
    c
    g
    • 3
    • 3
  • q

    quaint-queen-45003

    04/22/2019, 8:06 PM
    has anyone got auth working with the
    @pulumi/newrelic
    package? I'm hitting errors like this
    error: Plan apply failed: The API key provided is invalid
    .
    w
    s
    • 3
    • 49
  • c

    chilly-photographer-60932

    04/22/2019, 11:01 PM
    We are trying to upgrade our GKE cluster and the operations keeps timing out at the pulumi end with
    10
    mins timeout. We are stuck and not able to proceed.
    w
    g
    • 3
    • 3
  • c

    chilly-photographer-60932

    04/22/2019, 11:02 PM
    What are the options available for this?
  • b

    better-rainbow-14549

    04/23/2019, 2:13 PM
    error: could not load plugin for azure provider 'urn:pulumi:subscription::subscription::pulumi:providers:azure::default': no resource plugin 'azure-v0.17.3' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource azure v0.17.3`
    i'm getting that for a
    pulumi refresh
    on CI - never had it do this before with package updates. Any solution?
    w
    • 2
    • 34
  • d

    damp-pillow-67781

    04/23/2019, 3:58 PM
    I’m following the example here, but this line doesn’t work, is there any way I can use the value in the output? https://github.com/pulumi/pulumi-aws/blob/master/sdk/nodejs/ec2/getSubnetIds.ts#L24
    w
    • 2
    • 2
  • p

    plain-businessperson-30883

    04/23/2019, 6:15 PM
    Hello. Has anyone ever created a Private GKE Cluster? I'm looking for the the
    privateCluster
    option (as described in https://pulumi.io/reference/pkg/nodejs/@pulumi/gcp/container/#Cluster-privateCluster) but I can't find it in the
    ClusterArgs
    (https://github.com/pulumi/pulumi-gcp/blob/master/sdk/nodejs/container/cluster.ts), despite seeing it in the
    GetClusterResult
    interface (https://github.com/pulumi/pulumi-gcp/blob/master/sdk/nodejs/container/getCluster.ts#L105). If I set only the
    privateClusterOptions
    I get the following error:
    gcp:container:Cluster (my-cluster):
        error: Plan apply failed: googleapi: Error 400: Private cluster must be enabled if private endpoint is enabled., badRequest
    Anyone ever had this? Am I missing something? Thanks in advance.
    o
    • 2
    • 6
  • d

    dazzling-scientist-80826

    04/23/2019, 7:55 PM
    what’s the recommended way to inject secrets in to lambda functions produced by pulumi / pulumi-cloud ? aws lambdas can have environment variables encrypted at rest, which seems like i’d want to take advantage to that, but open to alternatives. is there an example of this somewhere?
    w
    p
    • 3
    • 6
  • o

    orange-tailor-85423

    04/23/2019, 9:28 PM
    Having a minor UI/usability issue with https://app.pulumi.com/MINDBODY-Platform
Powered by Linen
Title
o

orange-tailor-85423

04/23/2019, 9:28 PM
Having a minor UI/usability issue with https://app.pulumi.com/MINDBODY-Platform
View count: 1