-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
return correct element types for latebound resources
We currently return a pointer to the interface for latebound resources from their ElementType methods. However pulumi expects pointers to the concrete type here, so it can create it and assign values to the created object. Fix that.
- Loading branch information
Showing
3 changed files
with
26 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: resource-secret | ||
runtime: | ||
name: yaml | ||
resources: | ||
randomPassword: | ||
type: random:RandomPassword | ||
properties: | ||
length: 16 | ||
lower: true | ||
upper: true | ||
numeric: true | ||
special: true | ||
outputs: | ||
superSecret: | ||
fn::secret: ${randomPassword} |