-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sort generated properties by their keys to get deterministic output. (#…
…110) * Sort generated properties by the position of their keys to get deterministic output. * review feedback --------- Co-authored-by: Fraser Waters <fraser@pulumi.com>
- Loading branch information
Showing
10 changed files
with
63 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
### Improvements | ||
|
||
- Sort generated properties by the position of their keys to get deterministic output. | ||
|
||
### Bug Fixes |
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
4 changes: 2 additions & 2 deletions
4
pkg/convert/testdata/programs/partial_attribute_lookup/pcl/diagnostics.json
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[ | ||
"warning:main.pp:1,14-42:undefined variable exampledataunknownDataSource:", | ||
"warning:main.pp:2,14-40:undefined variable exampleunknownResourceType:" | ||
"warning:main.pp:1,14-38:undefined variable exampleUnknownDataSource:", | ||
"warning:main.pp:2,14-40:undefined variable exampleUnknownResourceType:" | ||
] |
4 changes: 2 additions & 2 deletions
4
pkg/convert/testdata/programs/partial_attribute_lookup/pcl/main.pp
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
resource "example" "simple:index:resource" { | ||
inputOne = exampledataunknownDataSource.attr | ||
inputTwo = exampleunknownResourceType.list[0] | ||
inputOne = exampleUnknownDataSource.attr | ||
inputTwo = exampleUnknownResourceType.list[0] | ||
} |
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
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