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

    better-rainbow-14549

    05/28/2019, 5:24 PM
    you can
    tsc
    it fine and it will use the link, but when pulumi rebuilds the typescript it ignores the links
  • b

    better-rainbow-14549

    05/28/2019, 5:24 PM
    and it looks straight at the 'real' module instead
  • b

    better-rainbow-14549

    05/28/2019, 5:25 PM
    it is something i'd love to get working, it would be a great help
  • s

    stocky-spoon-28903

    05/28/2019, 5:25 PM
    Interesting - we use
    yarn link
    pretty heavily in our development (or at least, I do!)
  • b

    better-rainbow-14549

    05/28/2019, 5:26 PM
    i guess i'll try yarn - never used it
  • s

    stocky-spoon-28903

    05/28/2019, 5:26 PM
    Could you open an issue with repro steps for
    npm link
    if you have them though? I think that’s something we’ll want to fix up
  • s

    stocky-spoon-28903

    05/28/2019, 5:26 PM
    (Our templates default to
    npm
    so it should probably work well)
  • b

    better-rainbow-14549

    05/28/2019, 5:27 PM
    yeah will do, wasn't sure if it was meant to be supported
  • t

    tall-librarian-49374

    05/28/2019, 6:48 PM
    Contrib docs mention yarn explicitly, so I got to learn yarn link and it works quite good
  • a

    average-dream-51210

    05/28/2019, 8:27 PM
    When writing in Pulumi JS, do you have to write in the order that they depend on each other? Or does Pulumi calculate a dependency graph behind the scenes regardless of the order you write your infrastructure components in?
    w
    • 2
    • 2
  • s

    stocky-spoon-28903

    05/28/2019, 8:41 PM
    You will mostly end up writing things in order because of scoping though
  • d

    damp-pillow-67781

    05/28/2019, 9:18 PM
    Hello, I got a question for setting desired node for node groups in EKS. I'm trying to get Cluster Autoscaler working in our EKS cluster, which means the actual desired nodes may vary from the configuration we set in Pulumi, which result in doing an pulumi update next time will set the node count back to what we've configured. Is there a way to avoid this? Cuz I also noticed Pulumi will set desired node to 2 if we didn't pass in the desired count.
  • k

    kind-ambulance-33034

    05/28/2019, 11:34 PM
    Hi guys I am trying the demo to deploy a site using s3, it works like a charm but now sure what are the required adjustments when I want to deploy a more realistic site, for example a folder with other directorios inside like images, js, css, etc. I am getting the following error in this case:
    Error: failed to register new resource media [aws:s3/bucketObject:BucketObject]: 2 UNKNOWN: failed to compute asset hash: asset path 'www/static/media' is a directory; try using an archive
            at Object.registerResource
    w
    • 2
    • 2
  • f

    full-dress-10026

    05/29/2019, 12:55 AM
    Can you deploy the k8s dashboard to minikube using Pulumi?
    c
    w
    • 3
    • 10
  • f

    faint-motherboard-95438

    05/29/2019, 8:04 AM
    Hi there, following some 403 errors which at the end seemed related to my vpn while doing some
    helm fetch
    , I just noticed pulumi actually do these
    helm fetch
    for every chart at each run while there’s no need once they are installed and the version did not bump. Is this not overkill and if only triggered on a version change could reduce the time a
    pulumi up
    takes ?
  • m

    modern-army-59158

    05/29/2019, 11:13 AM
    Hi there, I'm new at pulumi. At the momentan I'm using pulumi with typescript on azure. I want to do create a configuration file, which include all my parameter values. What I did is, I created stack file for a test environment with some keys and values. All of them are strings. If I start pulumi with
    pulumi config --config-file Pulumi.Test.yaml
    to check my values, but the no keys or values are visible. My yaml file looks like: `encryptionsalt: ****** template: config: azure:environment: description: The Azure environment to use (
    public
    ,
    usgovernment
    ,
    german
    ,
    china
    ) default: public project:name: default: TestProject project:location: default: West Europe`
    t
    • 2
    • 3
  • m

    millions-judge-24978

    05/29/2019, 2:11 PM
    I'm having an issue in CI with
    error: could not load plugin for aws provider
    . I have updated the AWS provider version in my project, but the state file still has an older version referenced which does not get installed. CLI is version
    0.17.11
    . It seems there were updates to try and prevent this, installing any providers on
    pulumi up
    , but it seems to be failing here. I am using the S3 remote state capability, I wonder if it could be a bug with this?
  • f

    faint-motherboard-95438

    05/29/2019, 3:06 PM
    Hello there, I don’t really know where the problem comes from, and I’m pretty sure that’s not pulumi related, but I could use some insights. I’m unable to pull images anymore from GCR on my GKE cluster every 45 days or something without any reason or changes on its configuration or service accounts. The GCR bucket is in the same project as the GKE cluster and everything works fine up until around 45 days. So far I had to recreate the cluster from my scripts to get rid of the problem, but that’s overkill. I suppose some auth keys expires or something but I can’t really figure it out. Does anyone know what I should do or where to look at ? thanks !
    • 1
    • 1
  • b

    broad-dog-22463

    05/29/2019, 3:20 PM
    @tall-librarian-49374 by any chance are you around atm?
    ✔️ 1
    t
    • 2
    • 12
  • s

    steep-toddler-98503

    05/29/2019, 3:23 PM
    Hello from Colombia, i am using pulumi(beginner level) to deploy resources in AWS , yesterday i had a meetup where i presented some features of Pulumi, a lot of people was interested with this tool but their principal question was : what happen with state of resource if pulumi web fail? i understand that pulumi store the state of resource into the web.
    c
    c
    • 3
    • 6
  • s

    steep-toddler-98503

    05/29/2019, 3:24 PM
    Pulumi have some SLA where define that ?
  • d

    dazzling-scientist-80826

    05/29/2019, 6:49 PM
    seems like
    pulumi logs
    returns no logs for functions that were created with an aws provider that does assume-role - is this a known issue? is there a workaround?
    w
    • 2
    • 14
  • c

    chilly-photographer-60932

    05/29/2019, 7:53 PM
    Does pulumi have something similar to
    Packer
    ?
    c
    w
    • 3
    • 8
  • f

    full-dress-10026

    05/29/2019, 8:17 PM
    I'm creating a
    pulumi.ComponentResource
    which internally creates some
    aws.cloudformation.Stack
    . I would like to expose some outputs of the CF Stacks as outputs of my
    ComponentResource
    . I tried doing this in my ComponentResource ctor:
    this.computeGroupName = computeStack.outputs.apply(outputs => outputs["CodeDeployDeploymentGroup"]);
    Typescript complains that
    Type 'Output<any>' is not assignable to type 'Output<string>'.
    . I'm guessing this is because a CF Stack does not cast the values from its
    .outputs
    to any type.
    this.computeGroupName
    is defined as
    computeGroupName: pulumi.Output<string>;
    . Is there a way to make TypeScript happy?
    t
    • 2
    • 2
  • f

    full-dress-10026

    05/29/2019, 8:23 PM
    Can you nest a
    pulumi.ComponentResource
    within another
    pulumi.ComponentResource
    ? If so, should all ComponentResouces take a
    pulumi.ComponentResourceOptions
    map?
    w
    • 2
    • 3
  • g

    glamorous-printer-66548

    05/29/2019, 10:33 PM
    Did something recently changed with regards to precedence rules of provider attributes in the kubernetes (typescript) provider? I recently upgraded to
    @pulumi/kubernetes: 0.23.1
    and seeing some odd behaviour: We instantiate provider instances dynamically via
    new gcp.Provider({kubeconfig: ..., namespace: 'namespace-A'})
    and then use this provider instance in some resources like
    new k8s.core.v1.ServiceAccount(foo, {metadata: {namespace: 'namespace-B'}}, {provider: k8sProvider})
    . I would expect the serviceaccount to be created in
    namespace-B
    in the example above, but it actually gets created in
    namespace-A
    . I can create a more detailed repro if necessary but wanted to ask first if this intentional or a known issue? @creamy-potato-29402?
    w
    g
    • 3
    • 4
  • a

    average-dream-51210

    05/30/2019, 12:05 AM
    Hey i'm getting an error with this code:
  • a

    average-dream-51210

    05/30/2019, 12:05 AM
    This is the error im getting:
    error: aws:lambda/function:Function resource 'pulumi-test-lambda' has a problem: "vpc_config.0.vpc_id": this field cannot be set
  • a

    average-dream-51210

    05/30/2019, 12:06 AM
    vpc
    is a vpc object. Am I not able to throw in the vpc.id object into the configs?
  • a

    average-dream-51210

    05/30/2019, 12:10 AM
    Oops false alarm sorry guys: It's
    vpc.vpcId
    not
    vpc.id
    😮
    😄 1
    h
    • 2
    • 5
Powered by Linen
Title
a

average-dream-51210

05/30/2019, 12:10 AM
Oops false alarm sorry guys: It's
vpc.vpcId
not
vpc.id
😮
😄 1
h

handsome-actor-1155

05/30/2019, 12:51 AM
If you use the
awsx
package instead of the
aws-infra
package it's
vpc.id
a

average-dream-51210

05/30/2019, 12:53 AM
ah crap! Thanks!!
h

handsome-actor-1155

05/30/2019, 12:54 AM
I think the
aws-infra
package is being deprecated? You'd need to confirm that though
a

average-dream-51210

05/30/2019, 12:55 AM
Yeah I was advised by Luke to use aws.ec2.vpc
class Network
in awsx is also being deprecated
View count: 1