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

    glamorous-waitress-51149

    07/12/2019, 11:10 PM
    https://twitter.com/jchannon/status/1149817358690787330
  • g

    glamorous-waitress-51149

    07/12/2019, 11:10 PM
    Any concern here?
    b
    • 2
    • 1
  • f

    future-traffic-93788

    07/12/2019, 11:50 PM
    have a question in the python channel. How do you extend a class to bake in values...I don't want to create a CRD though.
  • r

    rich-easter-89163

    07/13/2019, 2:24 AM
    I can find this on the documentation: there's a way to set a tiemout for a helm chart to complete?
    h
    w
    • 3
    • 2
  • g

    glamorous-waitress-51149

    07/15/2019, 8:45 AM
    Looking at the api docs I see this markdown. I assume this should be a link to a Limits page? Anyone got that link?
    h
    • 2
    • 1
  • g

    glamorous-waitress-51149

    07/15/2019, 8:48 AM
    ok found it in the repo that links to https://docs.aws.amazon.com/lambda/latest/dg/limits.html
    b
    h
    • 3
    • 2
  • r

    red-football-97286

    07/15/2019, 9:43 AM
    Morning
  • r

    red-football-97286

    07/15/2019, 9:44 AM
    Quick question, apologies if this has been covered else where. Is there any idea when C# might be bought into support?
    c
    h
    • 3
    • 3
  • b

    billions-lock-80282

    07/15/2019, 2:31 PM
    Hi, how do ensure a resource is created after a Helm chart is deployed? If I use the variable the Helm chart is assigned to and add it to dependsOn for the following resource, the Helm chart still isn't deployed first.
    • 1
    • 1
  • b

    billions-lock-80282

    07/15/2019, 2:32 PM
    So I have nginx
    export const nginx = new k8s.helm.v2.Chart("nginx-ingress", {
        repo: "stable",
        version: "0.24.1",
        chart: "nginx-ingress",
        transformations: [addNamespace],
        namespace: "nginx",
        values: {
            rbac: {create: true},
            controller: {
                publishService: {enabled: true},
                stats: {enabled: true},
                service: {
                    type: "LoadBalancer",
                    externalTrafficPolicy: "Local",
                    loadBalancerIP: lbIp
                },
                image: {tag: "0.24.1"}
            }
        }
    }, { dependsOn: [nsnginx], provider: clusterProvider });
  • b

    billions-lock-80282

    07/15/2019, 2:32 PM
    then this resource
    const certmanagerResources = new ConfigFile("cmResources", {
        file: "<https://github.com/jetstack/cert-manager/releases/download/v0.8.1/cert-manager.yaml>", 
    },{ dependsOn: [nginx, primaryPool], provider: clusterProvider });
  • b

    billions-lock-80282

    07/15/2019, 2:33 PM
    But the ConfigFile always gets generated before the nginx-ingress Helm chart
  • b

    bitter-island-28909

    07/15/2019, 3:08 PM
    Many thanks for the support of propagating secrets and encrypting them in the state. I have a follow-on question: how do I do this with a generated secret value? The recommendation seems to be to use the
    random
    module. However, using the following code, the
    result
    value of the
    RandomString
    resource is still present in plaintext in the state (even though it’s correctly hidden as an attribute of the SSM Parameter.)
    let password = pulumi.secret(new random.RandomString("my-password", {
            length: 32
        }).result);
    
        let param = new aws.ssm.Parameter("my-password", {
            name: "/my/password",
            type: "SecureString",
            value: password
        });
    w
    • 2
    • 3
  • w

    worried-engineer-33884

    07/15/2019, 5:43 PM
    I'm having trouble logging in to app.pulumi.com
  • w

    worried-engineer-33884

    07/15/2019, 5:43 PM
    I logged in to local
    pulumi login --local
    and now I want to login to the cloud service, but
    pulumi login
    keeps re-logging in to my local machine
    c
    • 2
    • 3
  • b

    billowy-garage-68819

    07/15/2019, 6:14 PM
    is there any guidance on pulumi and kustomize?
    w
    c
    • 3
    • 9
  • b

    boundless-monkey-50243

    07/15/2019, 6:46 PM
    Can I pass the S3 backend flags like
    --acl bucket-owner-full-control
    ? Using Pulumi in a multi-account setup is otherwise kind of prohibitive.
    h
    • 2
    • 24
  • w

    worried-engineer-33884

    07/15/2019, 7:17 PM
    Are pulumi stacks backed up?
    w
    • 2
    • 4
  • c

    cuddly-eye-68174

    07/15/2019, 7:23 PM
    Hi Guys, May I have a question about Pulumi / TypeScript - AWS EIP?
    h
    w
    • 3
    • 20
  • s

    swift-painter-31084

    07/16/2019, 12:56 AM
    I'd like to set an ALB Listener rule with an
    http-header
    condition, but it looks like Terraform only supports
    path-pattern
    and
    http_host
    . https://www.terraform.io/docs/providers/aws/r/lb_listener_rule.html#values It looks like there are many more rules in the console for this:
  • s

    swift-painter-31084

    07/16/2019, 12:57 AM
    In cases where Terraform is missing part of the API, what is the standard way to proceed? FYI in this case we can add that rule manually after deployment, NBD.
  • b

    broad-dog-22463

    07/16/2019, 1:00 AM
    @swift-painter-31084 I just looked at the code in Terraform, the documentation isn't correct
  • b

    broad-dog-22463

    07/16/2019, 1:00 AM
    It actually has no validation
  • b

    broad-dog-22463

    07/16/2019, 1:00 AM
    so you can add any of these:
    // The field in the HTTP request. The following are the possible values:
    	//
    	//    * http-header
    	//
    	//    * http-request-method
    	//
    	//    * host-header
    	//
    	//    * path-pattern
    	//
    	//    * query-string
    	//
    	//    * source-ip
  • b

    broad-dog-22463

    07/16/2019, 1:00 AM
    but it's still way behind!
  • b

    broad-dog-22463

    07/16/2019, 1:01 AM
    I will open an issue upstream in the morning about this
  • s

    swift-painter-31084

    07/16/2019, 1:01 AM
    I'm trying to pass this in, perhaps the httpHeaderName is just being caught as an invalid key by TF. That is the name I pulled from a network request in the aws console.
    {
                field: 'http-header',
                httpHeaderName: 'Origin',
                values: [ '*<http://snopes.com|snopes.com>*', '*snopes.local*' ],
            },
  • b

    broad-dog-22463

    07/16/2019, 1:01 AM
    yeah they don't support that 😞
  • b

    broad-dog-22463

    07/16/2019, 1:02 AM
    Field can only be those 2 values because of how the API needs different struct values populated
    s
    • 2
    • 4
  • s

    swift-painter-31084

    07/16/2019, 1:04 AM
    I got another error as well relating to the 'values' key name upon update
    b
    • 2
    • 6
Powered by Linen
Title
s

swift-painter-31084

07/16/2019, 1:04 AM
I got another error as well relating to the 'values' key name upon update
b

broad-dog-22463

07/16/2019, 1:11 AM
This is related to the same codepath being behind - I will be able to let you know more about this tomorrow as well
https://github.com/terraform-providers/terraform-provider-aws/issues/9360
Just a FYI, this is a decent size change
because the schema needs to be transformed
s

swift-painter-31084

07/16/2019, 5:43 PM
Thanks for checking into this! It looks like the patch has been in the works for a while
b

broad-dog-22463

07/16/2019, 5:44 PM
yessir - if you can, can you go and add a comment saying you need this 😉
👍 1
View count: 1