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

Automatically set Secret inputs as pulumi.secret #961

Merged
merged 2 commits into from
Jan 28, 2020

Conversation

lblackstone
Copy link
Member

@lblackstone lblackstone commented Jan 23, 2020

Proposed changes

Related issues (optional)

#915

TODO

@@ -1037,6 +1038,18 @@ func createGroups(definitionsJSON map[string]interface{}, opts groupOpts) []*Gro
panic(fmt.Sprintf("Unsupported language '%s'", opts.language))
}

// Set Secret input fields to pulumi.secret
Copy link
Member

Choose a reason for hiding this comment

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

Note to self: the easiest way to support this sort of codegen from pulumi/pulumi/pkg/codegen/schema is to allow inputs to be marked secret.

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.

Looks good aside from the lack of .NET support.

@lblackstone
Copy link
Member Author

I'm going to merge in what we've got so far, and @mikhailshilkov will be looking into .NET support as a follow on PR.

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.

None yet

2 participants