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

    powerful-football-81694

    01/13/2019, 6:10 PM
    In general, I get the impression there are a lot of knobs and dials in ARM that are just not exposed through
    @pulumi/azure
    , so it would also be helpful to get some insights into what the philosophy is there. Is the Azure resource provider meant to more or less mirror what ARM can do? If so, is there a significant backlog there of things to add?
  • p

    powerful-football-81694

    01/13/2019, 6:11 PM
    And as to the specific problem at hand: any help on how to create a Linux container app service would be appreciated.
    w
    a
    • 3
    • 19
  • c

    chilly-photographer-60932

    01/14/2019, 3:34 PM
    I am running into issues https://app.pulumi.com/naveensrinivasan/eks/updates/21
    warning: Cluster failed to report its version number; falling back to 1.9%!(EXTRA bool=false)
    
    warning: Cluster failed to report its version number; falling back to 1.9%!(EXTRA bool=false)
    
    Plan apply failed: Get <https://redacted/apis/networking.istio.io/v1alpha3>: net/http: TLS handshake timeout
    Plan apply failed: Get <https://redacted/apis/networking.istio.io/v1alpha3>: net/http: TLS handshake timeout
    g
    • 2
    • 5
  • c

    chilly-photographer-60932

    01/14/2019, 3:35 PM
    This is has been happening.
  • c

    chilly-photographer-60932

    01/14/2019, 3:36 PM
    @white-balloon-205 How does support work for pulumi?
  • f

    fancy-magazine-29876

    01/14/2019, 5:15 PM
    are there any plans to integrate this into
    @pulumi/kubernetes
    ? https://github.com/pulumi/examples/blob/master/kubernetes-ts-guestbook/components/k8sjs.ts
    g
    b
    • 3
    • 7
  • f

    fancy-magazine-29876

    01/14/2019, 5:16 PM
    might just roll our own but just wondering
  • a

    adamant-restaurant-73893

    01/14/2019, 5:45 PM
    Blog from @lemon-spoon-91807 this morning on making serverless programming simple on AWS https://blog.pulumi.com/serverless-on-aws-with-pulumi-simple-event-based-functions
    ❤️ 2
  • c

    cuddly-eye-68174

    01/14/2019, 9:10 PM
    Hi Guys! @creamy-potato-29402 @white-balloon-205 May I ask something? 🙂 What is the best way to deploy helm charts with custom value files in Pulumi-Python? 🙂 I have seen this: https://github.com/pulumi/examples/blob/master/kubernetes-ts-helm-wordpress/index.ts, but I did not find the python alternatives. I was looking for it here: https://github.com/pulumi/pulumi-kubernetes/tree/master/sdk/python/pulumi_kubernetes . Is there a way for this under Python? If yes, please point me to the right place. Thanks in advance.
    w
    • 2
    • 3
  • f

    fancy-magazine-29876

    01/14/2019, 9:31 PM
    hey guys - i can't seem to find the equivalent of https://www.terraform.io/docs/providers/aws/d/autoscaling_groups.html
    s
    • 2
    • 7
  • f

    fancy-magazine-29876

    01/15/2019, 2:06 AM
    typescript is new to me - am I doing something wrong here? the following yields
    {"__pulumiOutput":true,"isKnown":{}}
    instead of what I expect to be an array of ASG names. this syntax works other places so I am confused
    const autoscalingGroups = pulumi.output(aws.getAutoscalingGroups({
          filters: [
              {
                  name: "key",
                  values: [`<http://kubernetes.io/cluster/${environment}`|kubernetes.io/cluster/${environment}`>],
              }
          ]
    })).apply(v => v.names);
    s
    • 2
    • 12
  • s

    some-waitress-78905

    01/15/2019, 2:43 AM
    I am trying to get postgraphile API working in a google cloud function that connects to the postgresql cloud sql. Any reason why connection name is being passed in as
    undefined
    ?
    let greetingFunction = new gcpFunction.HttpFunction(
      "greeting", 
      postgraphile(
        {
          user: process.env.DB_USERNAME,
          host: `/cloudsql/${process.env.CONNECTION_NAME}`,
          database: process.env.DB_NAME,
          password: process.env.DB_PASSWORD,
          port: 5432,
        }, 
        {
          graphiql: true,
        }
      ), 
      {},
      // pass params into function as env vars
      {
        CONNECTION_NAME: sql.instance.connectionName,
        DB_USERNAME: sql.user.name,
        DB_PASSWORD: sql.user.password,
        DB_NAME: sql.database.name
      }
    );
    running that returns the following error:
    Error: connect ENOENT /cloudsql/undefined/.s.PGSQL.5432
    w
    • 2
    • 7
  • g

    gifted-island-55702

    01/15/2019, 1:55 PM
    Hi, is this Terraform resource supported in Pulumi? https://www.terraform.io/docs/providers/google/r/service_networking_connection.html
    b
    s
    • 3
    • 4
  • f

    fancy-magazine-29876

    01/15/2019, 6:31 PM
    how is pulumi expected to work from a CI/CD tool (i.e. CircleCI) when deploying to kubernetes? doesn't seem to be a simple way to handle cluster auth with microstacks
    c
    m
    • 3
    • 47
  • c

    cuddly-eye-68174

    01/15/2019, 8:32 PM
    Hi Guys, Is there a way to decide / query which stage is running in pulumi up. There is some checking, information gathering stage and there is an update stage. Can I ask/query this with some Pulumi function? Because I would like to make some custom Pulumi resource and it would be great to avoid double runs. Can you please helm me out? Thanks
    w
    i
    • 3
    • 36
  • i

    incalculable-angle-91273

    01/16/2019, 12:44 AM
    hello, I just posted something to golang. I think something in my config is messed up. I tried deploying the sample s3 go app with pulumi here:
    package main
    
    import (
    	"<http://github.com/pulumi/pulumi-aws/sdk/go/aws/s3|github.com/pulumi/pulumi-aws/sdk/go/aws/s3>"
    	"<http://github.com/pulumi/pulumi/sdk/go/pulumi|github.com/pulumi/pulumi/sdk/go/pulumi>"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Create an AWS resource (S3 Bucket)
    		bucket, err := s3.NewBucket(ctx, "my-bucket", nil)
    		if err != nil {
    			return err
    		}
    
    		// Export the DNS name of the bucket
    		ctx.Export("bucketName", bucket.BucketDomainName())
    		return nil
    	})
    }
    but when I run
    pulumi stack
    i get this without any outputs:
    ▶ pulumi stack
    Current stack is MINDBODY-Platform/bb8-richard-laub:
        Owner: MINDBODY-Platform
        Last updated: 3 minutes ago (2019-01-15 16:40:04.79614 -0800 PST)
        Pulumi version: v0.16.10
        Plugin go [language] version: 0.16.10
        Plugin aws [resource] version: 0.16.5
    
    Current stack resources (3):
        TYPE                  NAME
        pulumi:pulumi:Stack   bb8-bb8-richard-laub
        pulumi:providers:aws  default
        aws:s3/bucket:Bucket  my-bucket
    
    Current stack outputs (0):
        No output values currently in this stack
    
    More information at: <https://app.pulumi.com/MINDBODY-Platform/bb8-richard-laub>
    
    Use `pulumi stack select` to change stack; `pulumi stack ls` lists known ones
    What is causing my outputs not to show?
  • c

    cuddly-eye-68174

    01/16/2019, 10:48 AM
    Hi Guys, One more question again. 🙂 I would like to make some kind of custom resource in Python. It seems I think I should use pulumi output for this purpose. https://github.com/pulumi/pulumi/blob/master/sdk/nodejs/resource.ts#L502 ... Is there a way to use a function like this in Pulumi-Python? If yes, can you please give me a link, where I can start, if not, can you please tell me what is the best way to make some resource/output? My usecase is I put helm chart into k8s with native python subprocess module, after this i have to make some AWS NLB, and this last step needs some dependecy on the 1st one. This is why i thought Pulumi.Output can solve my issue, so i can apply on that in the 2nd step.
  • o

    orange-tailor-85423

    01/16/2019, 4:49 PM
    Anybody using Pulumi to manage the IAM configmap running in EKS?
  • o

    orange-tailor-85423

    01/16/2019, 4:49 PM
    this is a hot mess coming from working with GKE
  • o

    orange-tailor-85423

    01/16/2019, 4:50 PM
    if you modify it via the roleMappings available in the eks.Cluster creation it updates the cluster and all kinds of dependent objects that will cause breaking changes
    w
    m
    • 3
    • 35
  • b

    better-rainbow-14549

    01/16/2019, 6:55 PM
    PS C:\> powershell -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient)
    .DownloadString('<https://get.pulumi.com/install.ps1>'))"
    Exception calling "DownloadString" with "1" argument(s): "The request was aborted: Could not create SSL/TLS secure
    channel."
    At line:1 char:1
    m
    b
    • 3
    • 33
  • b

    busy-umbrella-36067

    01/16/2019, 7:06 PM
    Really like the new diff comments from the Pulumi Bot. Nice job guys.
    ❤️ 1
    b
    • 2
    • 1
  • a

    abundant-exabyte-33805

    01/16/2019, 9:39 PM
    Ive tried to following the instructions to create a new project but each time it says it cant find my organization?
  • a

    abundant-exabyte-33805

    01/16/2019, 9:39 PM
    i dont have an organization do i need one?
    w
    • 2
    • 7
  • c

    chilly-dusk-63796

    01/17/2019, 12:02 AM
    SF kubernetes meetup is happening tomorrow! See you at 6:30pm. https://blog.pulumi.com/pulumi-at-sf-kubernetes-meetup-and-the-virtues-of-planning
    😛ulumipus-8bit: 5
    😛artyk8s: 2
  • s

    some-waitress-78905

    01/17/2019, 10:15 AM
    how does kubernetes access private docker repos? I am getting this error:
    1 Pods failed to run because: [ImagePullBackOff] Back-off pulling image "fleetgrid/fleetgrid-backend_fleetgrid-backend:cfdc13daf290ee6f6eda13a840a6055bf3193303d552bf2a41019392cd8a641b"
    b
    c
    • 3
    • 8
  • b

    better-rainbow-14549

    01/17/2019, 1:23 PM
    are there any plans to support the azure activedirectory terraform provider? https://github.com/terraform-providers/terraform-provider-azuread
    g
    • 2
    • 2
  • b

    better-rainbow-14549

    01/17/2019, 1:23 PM
    i'd really like to be able to create groups and put MSI users in them
  • b

    better-rainbow-14549

    01/17/2019, 4:23 PM
    is there any current way to be able to run a command when a resource is created, or just to be able to detect it. like even a horrible hack. i've found the git bits about the upcoming hooks
    g
    w
    • 3
    • 10
  • o

    orange-tailor-85423

    01/17/2019, 10:04 PM
    @microscopic-florist-22719 tagging you at the suggestion of @creamy-potato-29402
Powered by Linen
Title
o

orange-tailor-85423

01/17/2019, 10:04 PM
@microscopic-florist-22719 tagging you at the suggestion of @creamy-potato-29402
View count: 1