-
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.
* Eject with missing nodes * Allow ejecting nodes like foo:bar * Inject missing config nodes * Provide raw config names to PCL * CL * Fix tests * Support config logcal names
- Loading branch information
Showing
11 changed files
with
114 additions
and
75 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,34 +1,6 @@ | ||
### Improvements | ||
|
||
- Ensure that constant values passed to enums are valid. | ||
[#357](https://github.com/pulumi/pulumi-yaml/pull/357) | ||
|
||
- Warn on non camelCase names. | ||
[#362](https://github.com/pulumi/pulumi-yaml/pull/362) | ||
|
||
- Recognize the new core project-level `config` block. | ||
[#369](https://github.com/pulumi/pulumi-yaml/pull/369) | ||
- Allow ejecting when relying on `config` nodes. | ||
[#393](https://github.com/pulumi/pulumi-yaml/pull/393) | ||
|
||
### Bug Fixes | ||
|
||
- Allow interpolations for `AssetOrArchive` function values | ||
[#341](https://github.com/pulumi/pulumi-yaml/pull/341) | ||
|
||
- Clarify the lifetimes when calling `codegen.Eject`. This is a breaking change to the | ||
`codegen.Eject` API. | ||
[#358](https://github.com/pulumi/pulumi-yaml/pull/358) | ||
|
||
- Quote generated strings that could be numbers. | ||
[#363](https://github.com/pulumi/pulumi-yaml/issues/363) | ||
|
||
- Respect import option on resource. | ||
[#367](https://github.com/pulumi/pulumi-yaml/issues/367) | ||
|
||
- Discover Invokes during `GetReferencedPlugins`. | ||
[#381](https://github.com/pulumi/pulumi-yaml/pull/381) | ||
|
||
- Escaped interpolated strings now remove one extra dollar sign. | ||
[#382](https://github.com/pulumi/pulumi-yaml/pull/382) | ||
|
||
- Only insert "id" in ejected resource refs when the receiver type is a string. | ||
[#389](https://github.com/pulumi/pulumi-yaml/pull/389) |
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
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
1 change: 1 addition & 0 deletions
1
pkg/tests/transpiled_examples/azure-app-service-pp/azure-app-service.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,5 @@ | ||
config sqlAdmin string { | ||
__logicalName = "sqlAdmin" | ||
default = "pulumi" | ||
} | ||
|
||
|
2 changes: 2 additions & 0 deletions
2
pkg/tests/transpiled_examples/azure-container-apps-pp/azure-container-apps.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
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,5 @@ | ||
config hostname string { | ||
__logicalName = "hostname" | ||
default = "example.com" | ||
} | ||
|
||
|
1 change: 1 addition & 0 deletions
1
pkg/tests/transpiled_examples/webserver-json-pp/webserver-json.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,5 @@ | ||
config instanceType string { | ||
__logicalName = "InstanceType" | ||
default = "t3.micro" | ||
} | ||
|
||
|
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,5 @@ | ||
config instanceType string { | ||
__logicalName = "InstanceType" | ||
default = "t3.micro" | ||
} | ||
|
||
|