We've worked through a recent refactor across pulu...
# golang
l
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:
Copy code
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
Wow!!!! This is awesome! Epic work @lemon-agent-27707 and the rest of the Pulumi team 🙌