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

    astonishing-spoon-27005

    12/04/2019, 4:09 PM
    i’m trying to create a lambda function written in go, via pulumi-go. i’m trying to figure out the valid values for the
    Runtime
    attribute of
    lambda.FunctionArgs
    , and the docs say “See [Runtimes][6] for valid values,” but I can’t find this anywhere (it’s not linked on godoc.org). any ideas?
    b
    • 2
    • 3
  • a

    astonishing-spoon-27005

    12/04/2019, 4:11 PM
    is this just a string corresponding to the upstream aws options?
  • a

    astonishing-spoon-27005

    12/04/2019, 5:19 PM
    will pulumi compile my go binary for me, and zip and send it to lambda? or do i need to somehow do that myself?
    b
    w
    • 3
    • 10
  • a

    astonishing-spoon-27005

    12/05/2019, 3:24 PM
    thanks everyone for your help so far. i’m getting really close now. i’m just trying to get my lambda to run on a schedule. i’ve created a cloudwatch event specifying a 15 minute schedule, and a cloudwatch target specifying my lambda. in the console, i would then go to my lambda, and hit the “add trigger” button, and select the cloudwatch event and target from the relevant dropdowns. i don’t see where this last piece of functionality lies in pulumi. i grepped through the go sources for
    trigger
    and didn’t come up with much.
    • 1
    • 2
  • g

    green-morning-1318

    12/23/2019, 9:47 PM
    Hi all 👋 first all I hope everyone is having amazing holidays 😁 I was trying to rebuild the blog @big-piano-35669 did, having EKS with Fargate containers (https://www.pulumi.com/blog/aws-eks-managed-nodes-fargate/) using the Golang SDK. In the blog there is a cluster property fargate: true, but that isn’t available (yet?) in the Go SDK. Is there another way to set it, or am I just being impatient and have to wait a little for it to be ready in the Go SDK?
    w
    b
    • 3
    • 7
  • g

    green-morning-1318

    01/07/2020, 5:22 PM
    Is there a way I can run
    pulumi.Run(func(ctx *pulumi.Context) error {})
    from somewhere else in my Go apps? I’m trying to see if I can create one cli with a few target commands to take care of the entire lifecycle of my app (like get dependencies using go get, compiling the sources, and using pulumi to deploy)
  • a

    astonishing-cartoon-37000

    01/10/2020, 9:00 PM
    When running
    integration.ProgramTest
    from
    <http://github.com/pulumi/pulumi/pkg/testing/integration|github.com/pulumi/pulumi/pkg/testing/integration>
    and it copies the files to a tmp directory. Does it not copy symlinks?
    w
    • 2
    • 3
  • b

    billowy-needle-56870

    01/21/2020, 7:14 PM
    Hi. Are there any mods to create custom resources? I am trying to create a custom resource like this, but I have the following error.
    type Custom struct {
       s *pulumi.ResourceState
    }
    
    type CustomArgs struct {
    }
    
    // NewBucket registers a new resource with the given unique name, arguments, and options.
    func NewCustom(ctx *pulumi.Context,
       name string, args *CustomArgs, opts ...pulumi.ResourceOpt) (*Custom, error) {
       inputs := make(map[string]interface{})
       s, err := ctx.RegisterResource("vendoring:x:customresource", name, true, inputs, opts...)
       if err != nil {
          return nil, err
       }
       return &Custom{s: s}, nil
    }
    
    func (b *Custom) URN() pulumi.URNOutput {
       return b.s.URN()
    }
    error: no resource plugin 'vendoring' found in the workspace or on your $PATH
    w
    • 2
    • 2
  • r

    refined-terabyte-71453

    02/07/2020, 10:11 PM
    Hi, I just started with pulumi go. I was trying to follow the documentation but it seems I am missing
    aws
    plugin. I get an error about it when I run
    pulumi up
    . How can I install the latest version of this plugin
    l
    • 2
    • 6
  • w

    white-balloon-205

    02/27/2020, 5:36 PM
    https://pulumi-community.slack.com/archives/CB36DSVSA/p1582824967010200
  • b

    brave-caravan-6336

    02/28/2020, 7:35 PM
    Hi there, I recently commented on https://github.com/pulumi/pulumi/issues/2820. Can someone help me out there please? I can also open a new ticket if that's easier to track.. Thanks!
    w
    • 2
    • 3
  • b

    brave-caravan-6336

    02/28/2020, 9:41 PM
    I just filed https://github.com/pulumi/pulumi-azure/issues/470 as there's still some issue w.r.t using a different provider
    👀 1
  • g

    green-morning-1318

    03/02/2020, 11:41 PM
    Hi y’all! I’m trying to get the details of a specific EC2 instance, but I’m getting an error that I can’t explain 😞 The code that throws an error is:
    instance, _ := ec2.GetInstance(ctx, "lookup", pulumi.ID("my-instance-id"), nil)
    where I know the instance ID is correct (I’ve copied it from the UI and when I do a
    ec2.GetInstances()
    it is one of the returned values) The result when running
    pulumi up
    is
    panic: reflect: call of reflect.Value.Type on zero Value
        goroutine 23 [running]:
        reflect.Value.Type(0x0, 0x0, 0x0, 0x0, 0x0)
            /usr/local/Cellar/go/1.14/libexec/src/reflect/value.go:1872 +0x183
        <http://github.com/pulumi/pulumi/sdk/go/pulumi.marshalInputs(0x23a7900|github.com/pulumi/pulumi/sdk/go/pulumi.marshalInputs(0x23a7900>, 0x0, 0x19, 0x0, 0xc0001418c0, 0xc0002b2280, 0x35, 0x0, 0x0)
            /Users/lstigter/go/pkg/mod/github.com/pulumi/pulumi@v1.11.1/sdk/go/pulumi/rpc.go:76 +0x18a
        <http://github.com/pulumi/pulumi/sdk/go/pulumi.(*Context).prepareResourceInputs(0xc0002ea000|github.com/pulumi/pulumi/sdk/go/pulumi.(*Context).prepareResourceInputs(0xc0002ea000>, 0x23a7900, 0x0, 0x22a3581, 0x19, 0xc0001418c0, 0xc0002765c0, 0x0, 0x0, 0x0)
            /Users/lstigter/go/pkg/mod/github.com/pulumi/pulumi@v1.11.1/sdk/go/pulumi/context.go:710 +0x23a
        <http://github.com/pulumi/pulumi/sdk/go/pulumi.(*Context).ReadResource.func1(0xc0002765c0|github.com/pulumi/pulumi/sdk/go/pulumi.(*Context).ReadResource.func1(0xc0002765c0>, 0xc0002ea000, 0x23b9080, 0x2396460, 0x23a7900, 0x0, 0x22a3581, 0x19, 0xc0001418c0, 0x22936bb, ...)
            /Users/lstigter/go/pkg/mod/github.com/pulumi/pulumi@v1.11.1/sdk/go/pulumi/context.go:315 +0x252
        created by <http://github.com/pulumi/pulumi/sdk/go/pulumi.(*Context).ReadResource|github.com/pulumi/pulumi/sdk/go/pulumi.(*Context).ReadResource>
            /Users/lstigter/go/pkg/mod/github.com/pulumi/pulumi@v1.11.1/sdk/go/pulumi/context.go:298 +0x3b1
    I’m using Pulumi v1.11.1 with the AWS Provider v1.23.0 Any thoughts on what might be wrong, or thoughts on how to debug further are appreciated 😇
    l
    • 2
    • 9
  • w

    worried-raincoat-8829

    03/06/2020, 4:19 PM
    Howdy! 👋
    🤙 3
    🙌 2
    👋 2
  • r

    rich-sandwich-54330

    03/07/2020, 1:56 PM
    Hi! Looking at pulumi because of frustration with terraform.
    ❤️ 5
    b
    • 2
    • 3
  • w

    white-airport-48392

    03/10/2020, 9:54 AM
    Hi all , So I am trying to test out pulumi's integration test frameword Basically just following what is given in this blog : https://www.pulumi.com/blog/testing-your-infrastructure-as-code-with-pulumi/ so when I do go test , I get the below : gopkg.in/src-d/go-git.v4/plumbing/transport/ssh ../../go/src/gopkg.in/src-d/go-git.v4/plumbing/transport/ssh/common.go:147:15: undefined: proxy.Dial There seem to be a couple of github issues regarding this , that seem to have been caused by older version of /net/proxy , but I have updated everything in this case Go version : 1.14 Any idea ?
  • w

    white-airport-48392

    03/10/2020, 10:05 AM
    @broad-dog-22463 Think you can hep me with this ?
    b
    w
    • 3
    • 13
  • g

    green-morning-1318

    03/10/2020, 9:19 PM
    Are there any examples of how to create an API Gateway that invokes an AWS Lambda function using Go? I’ve tried a lot and it seems that I’m missing one final piece, but I can’t pinpoint what I’m missing. The calls I execute are: - lambda.NewFunction() to create a new function - apigateway.NewResource() to create thee resource in the API gateway - apigateway.NewMethod() to add a method to the above resource - apigateway.NewIntegration() to add the integration between the gateway and the function As the last step I add the Lambda permissions
    lambdaPermissions := &lambda.PermissionArgs{
        Action:    pulumi.String("lambda:InvokeFunction"),
        Function:  function.Name,
        Principal: pulumi.String("<http://apigateway.amazonaws.com|apigateway.amazonaws.com>"),
    }
    
    _, err = lambda.NewPermission(ctx, "AllCartsAPIPermission", lambdaPermissions)
    if err != nil {
        return err
    }
    I don’t see the API Gateway showing up as a trigger in my Lambda function, but I’m not sure what I’ve missed. Any pointers are appreciated.
    b
    • 2
    • 10
  • b

    broad-dog-22463

    03/11/2020, 9:06 AM
    https://twitter.com/PulumiCorp/status/1237664577137098752?s=20
  • b

    broad-dog-22463

    03/11/2020, 9:06 AM
    😉
  • w

    worried-raincoat-8829

    03/11/2020, 10:27 AM
    Interesting discussion just came up on LinkedIn, which I think highlights both the biggest opportunity and the biggest challenge for Pulumi. Someone was complaining about how their 2000-resource Terraform workspace took 10+ minutes to plan. I asked if they'd looked at Pulumi. They hadn't, and were delighted to hear about it, but they said they didn't want to add another tool to their stack. (I sympathise with this; I think everybody feels like their stack is already overweight. The barrier to entry for a new thing is high.) How does Pulumi perform relative to Terraform for very large workspaces?
  • p

    prehistoric-pillow-672

    03/12/2020, 3:51 PM
    @broad-dog-22463 thanks for the demo yesterday! Are you planing to share recording?
  • b

    broad-dog-22463

    03/12/2020, 3:52 PM
    @prehistoric-pillow-672 I certainly will!
    👀 1
  • p

    prehistoric-pillow-672

    03/12/2020, 3:52 PM
    btw, which pulumi version did you use yesterday? Was it 1.21.0 or some beta nightly build thingy?
  • b

    broad-dog-22463

    03/12/2020, 4:09 PM
    1.12.1
  • p

    prehistoric-pillow-672

    03/12/2020, 4:29 PM
    good good. was looking to reproduce what you showed yesterday
  • p

    plain-truck-37089

    03/19/2020, 5:31 PM
    Cool event coming up on the 4/1: Golang DC will be hosting a webinar on Wednesday, April 1st at 6:30pm! Check out the meetup page for more details and to RSVP! https://www.meetup.com/Golang-DC/events/269213913/
    l
    • 2
    • 1
  • b

    bright-jordan-62321

    03/26/2020, 12:57 PM
    Trying to deploy a Azure Databricks workspace but hit an error - Anyone know how to solve this? I tried azure plugin version 2.2.0 2.1.0 and 2.0.0 none of them work #golang #azure
  • b

    bright-jordan-62321

    03/26/2020, 12:57 PM
    pulumi preview --verbose 9 --logtostderr
    Enter your passphrase to unlock config/secrets
        (set PULUMI_CONFIG_PASSPHRASE to remember):
    Previewing update (dev):
    I0326 05:41:04.638422   96424 plugins.go:76] gatherPluginsFromProgram(): gathering plugins from language host
    I0326 05:41:04.638643   96424 plugins.go:427] GetPluginPath(language, go, <nil>): found on $PATH /usr/local/bin/pulumi-language-go
    I0326 05:41:04.638727   96424 plugin.go:86] Launching plugin 'go' from '/usr/local/bin/pulumi-language-go' with args: 127.0.0.1:61047
    I0326 05:41:04.666738   96424 langruntime_plugin.go:170] langhost[go].GetPluginInfo() executing
    I0326 05:41:04.667334   96424 langruntime_plugin.go:83] langhost[go].GetRequiredPlugins(proj=pulumi-spike-2,pwd=/Users/zyliu/go/src/pulumi-spike,program=.) executing
    I0326 05:41:04.798810   96424 langruntime_plugin.go:92] langhost[go].GetRequiredPlugins(proj=pulumi-spike-2,pwd=/Users/zyliu/go/src/pulumi-spike,program=.) failed: err=failed to execute program cmd: exit status 1
    
    I0326 05:41:04.801887   96424 sink.go:154] defaultSink::Error(error: failed to discover plugin requirements: failed to execute program cmd: exit status 1
    <http://github.com/pulumi/pulumi/pkg/resource/plugin.(*defaultHost).GetRequiredPlugins|github.com/pulumi/pulumi/pkg/resource/plugin.(*defaultHost).GetRequiredPlugins>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/resource/plugin/host.go:397
    <http://github.com/pulumi/pulumi/pkg/engine.gatherPluginsFromProgram|github.com/pulumi/pulumi/pkg/engine.gatherPluginsFromProgram>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/engine/plugins.go:78
    <http://github.com/pulumi/pulumi/pkg/engine.installPlugins|github.com/pulumi/pulumi/pkg/engine.installPlugins>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/engine/update.go:209
    <http://github.com/pulumi/pulumi/pkg/engine.newUpdateSource|github.com/pulumi/pulumi/pkg/engine.newUpdateSource>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/engine/update.go:353
    <http://github.com/pulumi/pulumi/pkg/engine.plan|github.com/pulumi/pulumi/pkg/engine.plan>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/engine/plan.go:131
    <http://github.com/pulumi/pulumi/pkg/engine.update|github.com/pulumi/pulumi/pkg/engine.update>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/engine/update.go:398
    <http://github.com/pulumi/pulumi/pkg/engine.Update|github.com/pulumi/pulumi/pkg/engine.Update>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/engine/update.go:177
    <http://github.com/pulumi/pulumi/pkg/backend/filestate.(*localBackend).apply|github.com/pulumi/pulumi/pkg/backend/filestate.(*localBackend).apply>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/backend/filestate/backend.go:507
    <http://github.com/pulumi/pulumi/pkg/backend/filestate.(*localBackend).Preview|github.com/pulumi/pulumi/pkg/backend/filestate.(*localBackend).Preview>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/backend/filestate/backend.go:415
    <http://github.com/pulumi/pulumi/pkg/backend.PreviewStack|github.com/pulumi/pulumi/pkg/backend.PreviewStack>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/backend/stack.go:77
    <http://github.com/pulumi/pulumi/pkg/backend/filestate.(*localStack).Preview|github.com/pulumi/pulumi/pkg/backend/filestate.(*localStack).Preview>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/backend/filestate/stack.go:68
    <http://github.com/pulumi/pulumi/cmd.newPreviewCmd.func1|github.com/pulumi/pulumi/cmd.newPreviewCmd.func1>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/cmd/preview.go:155
    <http://github.com/pulumi/pulumi/pkg/util/cmdutil.RunResultFunc.func1|github.com/pulumi/pulumi/pkg/util/cmdutil.RunResultFunc.func1>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/util/cmdutil/exit.go:112
    <http://github.com/spf13/cobra.(*Command).execute|github.com/spf13/cobra.(*Command).execute>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:766
    <http://github.com/spf13/cobra.(*Command).ExecuteC|github.com/spf13/cobra.(*Command).ExecuteC>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:852
    <http://github.com/spf13/cobra.(*Command).Execute|github.com/spf13/cobra.(*Command).Execute>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:800
    main.main
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/main.go:49
    runtime.main
    	/usr/local/Cellar/go/1.14/libexec/src/runtime/proc.go:203
    runtime.goexit
    	/usr/local/Cellar/go/1.14/libexec/src/runtime/asm_amd64.s:1373
    )
    error: failed to discover plugin requirements: failed to execute program cmd: exit status 1
    <http://github.com/pulumi/pulumi/pkg/resource/plugin.(*defaultHost).GetRequiredPlugins|github.com/pulumi/pulumi/pkg/resource/plugin.(*defaultHost).GetRequiredPlugins>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/resource/plugin/host.go:397
    <http://github.com/pulumi/pulumi/pkg/engine.gatherPluginsFromProgram|github.com/pulumi/pulumi/pkg/engine.gatherPluginsFromProgram>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/engine/plugins.go:78
    <http://github.com/pulumi/pulumi/pkg/engine.installPlugins|github.com/pulumi/pulumi/pkg/engine.installPlugins>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/engine/update.go:209
    <http://github.com/pulumi/pulumi/pkg/engine.newUpdateSource|github.com/pulumi/pulumi/pkg/engine.newUpdateSource>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/engine/update.go:353
    <http://github.com/pulumi/pulumi/pkg/engine.plan|github.com/pulumi/pulumi/pkg/engine.plan>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/engine/plan.go:131
    <http://github.com/pulumi/pulumi/pkg/engine.update|github.com/pulumi/pulumi/pkg/engine.update>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/engine/update.go:398
    <http://github.com/pulumi/pulumi/pkg/engine.Update|github.com/pulumi/pulumi/pkg/engine.Update>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/engine/update.go:177
    <http://github.com/pulumi/pulumi/pkg/backend/filestate.(*localBackend).apply|github.com/pulumi/pulumi/pkg/backend/filestate.(*localBackend).apply>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/backend/filestate/backend.go:507
    <http://github.com/pulumi/pulumi/pkg/backend/filestate.(*localBackend).Preview|github.com/pulumi/pulumi/pkg/backend/filestate.(*localBackend).Preview>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/backend/filestate/backend.go:415
    <http://github.com/pulumi/pulumi/pkg/backend.PreviewStack|github.com/pulumi/pulumi/pkg/backend.PreviewStack>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/backend/stack.go:77
    <http://github.com/pulumi/pulumi/pkg/backend/filestate.(*localStack).Preview|github.com/pulumi/pulumi/pkg/backend/filestate.(*localStack).Preview>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/backend/filestate/stack.go:68
    <http://github.com/pulumi/pulumi/cmd.newPreviewCmd.func1|github.com/pulumi/pulumi/cmd.newPreviewCmd.func1>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/cmd/preview.go:155
    <http://github.com/pulumi/pulumi/pkg/util/cmdutil.RunResultFunc.func1|github.com/pulumi/pulumi/pkg/util/cmdutil.RunResultFunc.func1>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/pkg/util/cmdutil/exit.go:112
    <http://github.com/spf13/cobra.(*Command).execute|github.com/spf13/cobra.(*Command).execute>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:766
    <http://github.com/spf13/cobra.(*Command).ExecuteC|github.com/spf13/cobra.(*Command).ExecuteC>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:852
    <http://github.com/spf13/cobra.(*Command).Execute|github.com/spf13/cobra.(*Command).Execute>
    	/private/tmp/pulumi-20200319-67324-1vstl0e/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:800
    main.main
    	/private/tmp/pulumi-20200319-67324-1vstl0e/src/github.com/pulumi/pulumi/main.go:49
    runtime.main
    	/usr/local/Cellar/go/1.14/libexec/src/runtime/proc.go:203
    runtime.goexit
    	/usr/local/Cellar/go/1.14/libexec/src/runtime/asm_amd64.s:1373
    w
    • 2
    • 1
  • l

    lemon-agent-27707

    03/31/2020, 2:30 PM
    We've worked through a recent refactor across pulumi and the providers to provide better support for go modules, so that you no longer have to use
    dep
    . This includes splitting out sub-modules in all of our projects to have an
    /sdk
    level module to reduce the dependency set. The providers for AWS, Azure, GCP, Random, and AzureAD have been updated with the rest coming soon. Updated templates are available:
    pulumi new go
    pulumi new aws-go
    pulumi new azure-go
    pulumi new gcp-go
    Important to note is that the import paths for GCP and Azure have changed to be compliant with go module versioning semantics.
    <http://github.com/pulumi/pulumi-gcp/sdk/go|github.com/pulumi/pulumi-gcp/sdk/go>
    is now
    <http://github.com/pulumi/pulumi-gcp/sdk/v2/go|github.com/pulumi/pulumi-gcp/sdk/v2/go>
    <http://github.com/pulumi/pulumi-azure/sdk/go|github.com/pulumi/pulumi-azure/sdk/go>
    is now
    <http://github.com/pulumi/pulumi-azure/sdk/v2/go|github.com/pulumi/pulumi-azure/sdk/v2/go>
    Our examples for AWS, GCP, and Azure have all been updated and have reference go.mod files: https://github.com/pulumi/examples Let us know if you have any questions or need help updating!
    🎉 1
    👍 2
    g
    • 2
    • 1
Powered by Linen
Title
l

lemon-agent-27707

03/31/2020, 2:30 PM
We've worked through a recent refactor across pulumi and the providers to provide better support for go modules, so that you no longer have to use
dep
. This includes splitting out sub-modules in all of our projects to have an
/sdk
level module to reduce the dependency set. The providers for AWS, Azure, GCP, Random, and AzureAD have been updated with the rest coming soon. Updated templates are available:
pulumi new go
pulumi new aws-go
pulumi new azure-go
pulumi new gcp-go
Important to note is that the import paths for GCP and Azure have changed to be compliant with go module versioning semantics.
<http://github.com/pulumi/pulumi-gcp/sdk/go|github.com/pulumi/pulumi-gcp/sdk/go>
is now
<http://github.com/pulumi/pulumi-gcp/sdk/v2/go|github.com/pulumi/pulumi-gcp/sdk/v2/go>
<http://github.com/pulumi/pulumi-azure/sdk/go|github.com/pulumi/pulumi-azure/sdk/go>
is now
<http://github.com/pulumi/pulumi-azure/sdk/v2/go|github.com/pulumi/pulumi-azure/sdk/v2/go>
Our examples for AWS, GCP, and Azure have all been updated and have reference go.mod files: https://github.com/pulumi/examples Let us know if you have any questions or need help updating!
🎉 1
👍 2
g

green-morning-1318

03/31/2020, 3:10 PM
Wow!!!! This is awesome! Epic work @lemon-agent-27707 and the rest of the Pulumi team 🙌
View count: 3