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
golang
  • l

    limited-rainbow-51650

    03/31/2020, 7:02 PM
    What is the Go binary that Pulumi will search for to create the infrastructure? Is it the project name as listed in Pulumi.yaml?
    l
    • 2
    • 3
  • g

    green-morning-1318

    04/01/2020, 10:22 PM
    If anyone wants to join @lemon-agent-27707 for a virtual meetup, on building modern cloud infrastructure with Pulumi, there is still a bit of time left to do so 😉 The event starts in 10 mins https://zoom.us/meeting/register/v5ArduqppzktTGXdApktCMJJfbLsXCDjeA (hosted by the Golang DC Meetup)
  • l

    limited-rainbow-51650

    04/02/2020, 10:37 PM
    Given the time difference with Belgium, I miscalculated and placed it in my agenda for today, 1 day late…. 🙈 Was this recorded?
  • g

    green-morning-1318

    04/02/2020, 10:39 PM
    I think it was 😅 but I’m not sure how they’ll distribute the recording though. I’m sure that either @lemon-agent-27707 or @best-garden-6174 could share the slides
  • l

    lemon-agent-27707

    04/03/2020, 2:52 AM
    @green-morning-1318 @limited-rainbow-51650 The video is live here on youtube:

    https://www.youtube.com/watch?v=eAGcpkhlgno&amp=&feature=youtu.be▾

    💯 1
  • g

    green-morning-1318

    04/03/2020, 2:53 AM
    Ah that’s awesome! Thanks for sharing 🙌
  • l

    lemon-agent-27707

    04/06/2020, 6:35 PM
    Updated version of the meetup video ^^ (edited and sped up a little bit):

    https://www.youtube.com/watch?v=s91qF5MLy14&t=6s▾

  • k

    kind-minister-39119

    04/13/2020, 6:46 PM
    Does anyone have an example of using a
    pulumi.ResourceOption
    correctly?
  • k

    kind-minister-39119

    04/13/2020, 6:46 PM
    searching back through the channel has proven unhelpful
  • k

    kind-minister-39119

    04/13/2020, 6:49 PM
    nvm, figured out that I should access it through the provided functions like
    DeleteBeforeReplace
    l
    • 2
    • 2
  • b

    billowy-nightfall-59212

    04/13/2020, 8:55 PM
    Hi, I am trying to use the something similar to https://github.com/pulumi/examples/tree/master/gcp-go-functions to deploy a
    go
    google cloud function
    .
    ├── deployments
    │   ├── Pulumi.dev.yaml
    │   ├── Pulumi.yaml
    │   ├── go.mod
    │   ├── go.sum
    │   └── main.go
    ├── function
    │   ├── Anagram.go
    │   ├── Anagram_test.go
    │   ├── go.mod
    │   └── pkg
    │       └── anagram
    │           ├── anagram.go
    │           └── anagram_test.go
    └── scripts
        ├── Anagram_System_test.go
        └── systemtest.sh
    l
    t
    • 3
    • 12
  • l

    lemon-agent-27707

    04/14/2020, 12:31 AM
    A bunch of enhancements for go shipped in the latest CLI release today: https://pulumi-community.slack.com/archives/CB36DSVSA/p1586820752093400
  • l

    lemon-agent-27707

    04/14/2020, 12:33 AM
    There is one breaking change in behavior that I'd like to make everyone aware of. Previously we automatically used a binary matching the name of the project if we found one in
    $CWD
    ,
    $PATH
    , or
    $GOBIN
  • l

    lemon-agent-27707

    04/14/2020, 12:34 AM
    With the latest release this behavior is opt-in only and requires specifying the name of the binary in your
    pulumi.yaml
    file: https://www.pulumi.com/docs/intro/concepts/project/#pulumi-yaml
  • l

    lemon-agent-27707

    04/14/2020, 12:36 AM
    If you don't specify the
    runtime.options.binary
    property in the
    pulumi.yaml
    we will run your sources in CWD via
    go run
    . We decided to make this change after numerous instances of users being caught off guard and experiencing bugs due to this behavior. Whether it be extraneous binaries on the path causing collision, accidental builds leaving stale artifacts, etc.
  • l

    lemon-agent-27707

    04/14/2020, 12:36 AM
    Sorry for the any inconvenience this cause and let me know if you have any questions.
  • k

    kind-minister-39119

    04/14/2020, 6:39 PM
    Hi, I’d like to hand off the string value of a
    StringOutput
    as a
    string
    — how can I do this conversion? I don’t see any straightforward method.
    b
    g
    l
    • 4
    • 28
  • k

    kind-minister-39119

    04/14/2020, 6:42 PM
    I see
    // Helpers for accessing properties are not yet available in Go.
    in the docs…
  • k

    kind-minister-39119

    04/14/2020, 6:43 PM
    So this means I can’t use properties of the objects I get back from AWS in go?
  • l

    lemon-agent-27707

    04/14/2020, 7:17 PM
    @here I'll be giving a virtual talk on getting started with Go and Pulumi this evening (PDT). We'll be covering: 1. Provisioning - We'll author an application on AWS, exploring Pulumi's familiar imperative approach using Go that still enables declarative state and change management. 2. Testing - Pulumi's unique approach opens up a lot of options with unit and integration testing and gives you the confidence to move quickly. 3. Architecture - Programming languages are naturally suited to encapsulation and abstraction. This enables us to represent our architecture in reusable components that can be published and shared across teams and organizations. Plenty of space left to join in! https://www.meetup.com/golang/events/269676725/
    b
    • 2
    • 1
  • l

    lemon-agent-27707

    04/15/2020, 12:38 AM
    The event is starting in 20 minutes. My talk will be at 6:45 PDT. https://www.crowdcast.io/e/2020-04-14-PNW-Go
    🙌 2
    a
    • 2
    • 1
  • a

    alert-magician-97184

    04/20/2020, 3:01 PM
    Great talk BTW
    😛artypus-8bit: 4
  • s

    strong-belgium-23055

    04/21/2020, 8:26 AM
    Hello, I’m trying to have a container running on ECS Fargate with an autoscaling based on a metric (let’s say CPU usage). Currently I have one instance my container running, and I’m not sure how to proceed to setup the autoscalling. I’ve found the typescript guide https://www.pulumi.com/docs/guides/crosswalk/aws/autoscaling/ but it is using awsx, which I don’t think is available in go yet. I have not found an example for this on the example repository. I feel like it should be done through the cluster with a capacity provider but I do not know how. Could you help me by telling me how to start solving my issue or do you have an example of this ? Thank you 🙂
    a
    l
    • 3
    • 3
  • l

    lemon-agent-27707

    04/21/2020, 3:00 PM
    😛artypus: Shoutout to @alert-magician-97184 for his examples contribution 😛artypus: https://github.com/pulumi/examples/tree/master/aws-go-s3-folder-component
    🙌 6
    a
    • 2
    • 1
  • c

    crooked-jelly-50877

    04/21/2020, 8:09 PM
    Looking at the GKE go sample, I see that it uses pulumi specific types for things like Strings and Arrays instead of using native go types. Is that just a case of the sample not being updated, or is that working as intended?
    l
    • 2
    • 6
  • w

    white-airport-48392

    04/22/2020, 8:59 AM
    Hello , I am trying to find if anyone is able to perform integration tests for pulumi programs that makes use of stack references ? I am not able to find proper documentation around this too
    t
    • 2
    • 42
  • s

    stocky-motorcycle-65008

    04/22/2020, 3:59 PM
    Hello, where do I have find all the AWS Resources documentation?
    t
    • 2
    • 2
  • h

    helpful-processor-86468

    04/23/2020, 8:47 AM
    Hi, I'm getting a diff on metadata during every run when creating cloudrun service. Any idea why?
    b
    • 2
    • 16
  • h

    helpful-processor-86468

    04/23/2020, 1:45 PM
    error: program failed: 1 error occurred:
            * missing required argument 'AccountId'
        exit status 1
    These kind of messages don't help very much 🙂 I have no idea where to look.
    👍 1
    👀 1
  • h

    helpful-processor-86468

    04/23/2020, 1:46 PM
    I guess that's a punishment for not commiting every time i get a working version of code.
Powered by Linen
Title
h

helpful-processor-86468

04/23/2020, 1:46 PM
I guess that's a punishment for not commiting every time i get a working version of code.
View count: 3