Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support stack references in Go SDK #3829

Merged
merged 15 commits into from
Feb 6, 2020
Merged

Support stack references in Go SDK #3829

merged 15 commits into from
Feb 6, 2020

Conversation

EvanBoyle
Copy link
Contributor

Fixes #2344

Tested locally via this test example: https://github.com/pulumi/examples/compare/evan/goStackRefVerification

Unsure of how to test this within our existing pulumi/pulumi framework. Suggestions welcome. Looks like other languages like python don't have coverage for this area.

EvanBoyle and others added 11 commits January 28, 2020 08:57
- ReadResource ought to just accept a StringInput
- No custom state type is necessary for stack references--a
  properly-tagged struct type that embeds a CustomResourceState is
  sufficient
- GetOutput should return an AnyOutput
Copy link
Member

@pgavlin pgavlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • One refactoring to remove
  • StackReference, StackReferenceArgs need doc comments

sdk/go/pulumi/context.go Outdated Show resolved Hide resolved
sdk/go/pulumi/stack_reference.go Outdated Show resolved Hide resolved
@EvanBoyle EvanBoyle merged commit 411f1a1 into master Feb 6, 2020
@pulumi-bot pulumi-bot deleted the evan/GoStackReference branch February 6, 2020 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support StackReference in Python and Go
2 participants