-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixup now renames "id" fields when they are user settable
`fixup` already renames fields called `"urn"`, since it is always invalid for a provider resource to have a property called `"urn"`, since Pulumi will override it. `fixup` now renames fields called `"id"` *only* when the `"id"` field is user settable (Optional || Required), since Pulumi does not respect user set Inputs. When we expect to have an ID property available (because the user or the provider will set it), we use that as the source of our computed ID. If not, we still fallback to using "missing ID" as the computed ID. Fixes pulumi/pulumi-terraform-provider#29
- Loading branch information
Showing
5 changed files
with
1,266 additions
and
45 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
Oops, something went wrong.