-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turn on more tests, record remaining failures (#679)
This turns on the remaining already passing conformance tests for YAML, and records a reason why the remaining failing tests are failing.
- Loading branch information
Showing
61 changed files
with
416 additions
and
24 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
9 changes: 9 additions & 0 deletions
9
cmd/pulumi-language-yaml/testdata/projects/l2-destroy/0/Main.yaml
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,9 @@ | ||
resources: | ||
aresource: | ||
type: simple:Resource | ||
properties: | ||
value: true | ||
other: | ||
type: simple:Resource | ||
properties: | ||
value: true |
2 changes: 2 additions & 0 deletions
2
cmd/pulumi-language-yaml/testdata/projects/l2-destroy/0/Pulumi.yaml
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,2 @@ | ||
name: l2-destroy | ||
runtime: yaml |
3 changes: 3 additions & 0 deletions
3
cmd/pulumi-language-yaml/testdata/projects/l2-destroy/0/sdks/simple.yaml
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,3 @@ | ||
packageDeclarationVersion: 1 | ||
name: simple | ||
version: 2.0.0 |
5 changes: 5 additions & 0 deletions
5
cmd/pulumi-language-yaml/testdata/projects/l2-destroy/1/Main.yaml
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,5 @@ | ||
resources: | ||
aresource: | ||
type: simple:Resource | ||
properties: | ||
value: true |
2 changes: 2 additions & 0 deletions
2
cmd/pulumi-language-yaml/testdata/projects/l2-destroy/1/Pulumi.yaml
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,2 @@ | ||
name: l2-destroy | ||
runtime: yaml |
3 changes: 3 additions & 0 deletions
3
cmd/pulumi-language-yaml/testdata/projects/l2-destroy/1/sdks/simple.yaml
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,3 @@ | ||
packageDeclarationVersion: 1 | ||
name: simple | ||
version: 2.0.0 |
9 changes: 9 additions & 0 deletions
9
cmd/pulumi-language-yaml/testdata/projects/l2-engine-update-options/Main.yaml
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,9 @@ | ||
resources: | ||
target: | ||
type: simple:Resource | ||
properties: | ||
value: true | ||
other: | ||
type: simple:Resource | ||
properties: | ||
value: true |
2 changes: 2 additions & 0 deletions
2
cmd/pulumi-language-yaml/testdata/projects/l2-engine-update-options/Pulumi.yaml
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,2 @@ | ||
name: l2-engine-update-options | ||
runtime: yaml |
3 changes: 3 additions & 0 deletions
3
cmd/pulumi-language-yaml/testdata/projects/l2-engine-update-options/sdks/simple.yaml
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,3 @@ | ||
packageDeclarationVersion: 1 | ||
name: simple | ||
version: 2.0.0 |
9 changes: 9 additions & 0 deletions
9
cmd/pulumi-language-yaml/testdata/projects/l2-explicit-provider/Main.yaml
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,9 @@ | ||
resources: | ||
prov: | ||
type: pulumi:providers:simple | ||
res: | ||
type: simple:Resource | ||
properties: | ||
value: true | ||
options: | ||
provider: ${prov} |
2 changes: 2 additions & 0 deletions
2
cmd/pulumi-language-yaml/testdata/projects/l2-explicit-provider/Pulumi.yaml
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,2 @@ | ||
name: l2-explicit-provider | ||
runtime: yaml |
3 changes: 3 additions & 0 deletions
3
cmd/pulumi-language-yaml/testdata/projects/l2-explicit-provider/sdks/simple.yaml
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,3 @@ | ||
packageDeclarationVersion: 1 | ||
name: simple | ||
version: 2.0.0 |
13 changes: 13 additions & 0 deletions
13
cmd/pulumi-language-yaml/testdata/projects/l2-invoke-simple/Main.yaml
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,13 @@ | ||
outputs: | ||
hello: | ||
fn::invoke: | ||
Function: simple-invoke:myInvoke | ||
Arguments: | ||
value: hello | ||
Return: result | ||
goodbye: | ||
fn::invoke: | ||
Function: simple-invoke:myInvoke | ||
Arguments: | ||
value: goodbye | ||
Return: result |
2 changes: 2 additions & 0 deletions
2
cmd/pulumi-language-yaml/testdata/projects/l2-invoke-simple/Pulumi.yaml
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,2 @@ | ||
name: l2-invoke-simple | ||
runtime: yaml |
3 changes: 3 additions & 0 deletions
3
cmd/pulumi-language-yaml/testdata/projects/l2-invoke-simple/sdks/simple-invoke.yaml
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,3 @@ | ||
packageDeclarationVersion: 1 | ||
name: simple-invoke | ||
version: 10.0.0 |
15 changes: 15 additions & 0 deletions
15
cmd/pulumi-language-yaml/testdata/projects/l2-invoke-variants/Main.yaml
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 @@ | ||
resources: | ||
res: | ||
type: simple-invoke:StringResource | ||
outputs: | ||
outputInput: | ||
fn::invoke: | ||
Function: simple-invoke:myInvoke | ||
Arguments: | ||
value: ${res.text} | ||
Return: result | ||
unit: | ||
fn::invoke: | ||
Function: simple-invoke:unit | ||
Arguments: {} | ||
Return: result |
2 changes: 2 additions & 0 deletions
2
cmd/pulumi-language-yaml/testdata/projects/l2-invoke-variants/Pulumi.yaml
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,2 @@ | ||
name: l2-invoke-variants | ||
runtime: yaml |
3 changes: 3 additions & 0 deletions
3
cmd/pulumi-language-yaml/testdata/projects/l2-invoke-variants/sdks/simple-invoke.yaml
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,3 @@ | ||
packageDeclarationVersion: 1 | ||
name: simple-invoke | ||
version: 10.0.0 |
7 changes: 7 additions & 0 deletions
7
cmd/pulumi-language-yaml/testdata/projects/l2-large-string/Main.yaml
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,7 @@ | ||
resources: | ||
res: | ||
type: large:String | ||
properties: | ||
value: hello world | ||
outputs: | ||
output: ${res.value} |
2 changes: 2 additions & 0 deletions
2
cmd/pulumi-language-yaml/testdata/projects/l2-large-string/Pulumi.yaml
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,2 @@ | ||
name: l2-large-string | ||
runtime: yaml |
3 changes: 3 additions & 0 deletions
3
cmd/pulumi-language-yaml/testdata/projects/l2-large-string/sdks/large.yaml
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,3 @@ | ||
packageDeclarationVersion: 1 | ||
name: large | ||
version: 4.3.2 |
26 changes: 26 additions & 0 deletions
26
cmd/pulumi-language-yaml/testdata/projects/l2-plain/Main.yaml
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,26 @@ | ||
resources: | ||
res: | ||
type: plain:Resource | ||
properties: | ||
data: | ||
innerData: | ||
boolean: false | ||
float: 2.17 | ||
integer: -12 | ||
string: Goodbye | ||
boolArray: | ||
- false | ||
- true | ||
stringMap: | ||
two: turtle doves | ||
three: french hens | ||
boolean: true | ||
float: 4.5 | ||
integer: 1024 | ||
string: Hello | ||
boolArray: | ||
- true | ||
- false | ||
stringMap: | ||
x: '100' | ||
y: '200' |
2 changes: 2 additions & 0 deletions
2
cmd/pulumi-language-yaml/testdata/projects/l2-plain/Pulumi.yaml
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,2 @@ | ||
name: l2-plain | ||
runtime: yaml |
3 changes: 3 additions & 0 deletions
3
cmd/pulumi-language-yaml/testdata/projects/l2-plain/sdks/plain.yaml
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,3 @@ | ||
packageDeclarationVersion: 1 | ||
name: plain | ||
version: 13.0.0 |
15 changes: 15 additions & 0 deletions
15
cmd/pulumi-language-yaml/testdata/projects/l2-primitive-ref/Main.yaml
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 @@ | ||
resources: | ||
res: | ||
type: primitive-ref:Resource | ||
properties: | ||
data: | ||
boolean: false | ||
float: 2.17 | ||
integer: -12 | ||
string: Goodbye | ||
boolArray: | ||
- false | ||
- true | ||
stringMap: | ||
two: turtle doves | ||
three: french hens |
2 changes: 2 additions & 0 deletions
2
cmd/pulumi-language-yaml/testdata/projects/l2-primitive-ref/Pulumi.yaml
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,2 @@ | ||
name: l2-primitive-ref | ||
runtime: yaml |
3 changes: 3 additions & 0 deletions
3
cmd/pulumi-language-yaml/testdata/projects/l2-primitive-ref/sdks/primitive-ref.yaml
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,3 @@ | ||
packageDeclarationVersion: 1 | ||
name: primitive-ref | ||
version: 11.0.0 |
65 changes: 65 additions & 0 deletions
65
cmd/pulumi-language-yaml/testdata/projects/l2-provider-grpc-config-secret/Main.yaml
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,65 @@ | ||
resources: | ||
# This provider covers scenarios where user passes secret values to the provider. | ||
config_grpc_provider: | ||
type: pulumi:providers:config-grpc | ||
properties: | ||
string1: | ||
fn::invoke: | ||
Function: config-grpc:toSecret | ||
Arguments: | ||
string1: SECRET | ||
Return: string1 | ||
int1: | ||
fn::invoke: | ||
Function: config-grpc:toSecret | ||
Arguments: | ||
int1: 1.23456789e+09 | ||
Return: int1 | ||
num1: | ||
fn::invoke: | ||
Function: config-grpc:toSecret | ||
Arguments: | ||
num1: 123456.789 | ||
Return: num1 | ||
bool1: | ||
fn::invoke: | ||
Function: config-grpc:toSecret | ||
Arguments: | ||
bool1: true | ||
Return: bool1 | ||
listString1: | ||
fn::invoke: | ||
Function: config-grpc:toSecret | ||
Arguments: | ||
listString1: | ||
- SECRET | ||
- SECRET2 | ||
Return: listString1 | ||
listString2: # TODO[pulumi/pulumi#17535] this currently breaks Go compilation unfortunately. | ||
# # mapString1 = invoke("config-grpc:index:toSecret", {mapString1 = { key1 = "SECRET", key2 = "SECRET2" }}).mapString1 | ||
- VALUE | ||
- fn::invoke: | ||
Function: config-grpc:toSecret | ||
Arguments: | ||
string1: SECRET | ||
Return: string1 | ||
mapString2: # TODO[pulumi/pulumi#17535] this breaks Go compilation as well. | ||
# # os1 = invoke("config-grpc:index:toSecret", {objString1 = { x = "SECRET" }}).objString1 | ||
key1: value1 | ||
key2: | ||
fn::invoke: | ||
Function: config-grpc:toSecret | ||
Arguments: | ||
string1: SECRET | ||
Return: string1 | ||
objString2: | ||
x: | ||
fn::invoke: | ||
Function: config-grpc:toSecret | ||
Arguments: | ||
string1: SECRET | ||
Return: string1 | ||
config: | ||
type: config-grpc:ConfigFetcher | ||
options: | ||
provider: ${config_grpc_provider} |
2 changes: 2 additions & 0 deletions
2
cmd/pulumi-language-yaml/testdata/projects/l2-provider-grpc-config-secret/Pulumi.yaml
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,2 @@ | ||
name: l2-provider-grpc-config-secret | ||
runtime: yaml |
3 changes: 3 additions & 0 deletions
3
...lumi-language-yaml/testdata/projects/l2-provider-grpc-config-secret/sdks/config-grpc.yaml
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,3 @@ | ||
packageDeclarationVersion: 1 | ||
name: config-grpc | ||
version: 1.0.0 |
38 changes: 38 additions & 0 deletions
38
cmd/pulumi-language-yaml/testdata/projects/l2-provider-grpc-config/Main.yaml
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,38 @@ | ||
resources: | ||
# Cover interesting schema shapes. | ||
config_grpc_provider: | ||
type: pulumi:providers:config-grpc | ||
properties: | ||
string1: "" | ||
string2: x | ||
# Test a JSON-like string to see if it trips up JSON detectors. | ||
string3: '{}' | ||
int1: 0 | ||
int2: 42 | ||
num1: 0 | ||
num2: 42.42 | ||
bool1: true | ||
bool2: false | ||
listString1: [] | ||
listString2: | ||
- "" | ||
- foo | ||
listInt1: | ||
- 1 | ||
- 2 | ||
mapString1: {} | ||
mapString2: | ||
key1: value1 | ||
key2: value2 | ||
mapInt1: | ||
key1: 0 | ||
key2: 42 | ||
objString1: {} | ||
objString2: | ||
x: x-value | ||
objInt1: | ||
x: 42 | ||
config: | ||
type: config-grpc:ConfigFetcher | ||
options: | ||
provider: ${config_grpc_provider} |
2 changes: 2 additions & 0 deletions
2
cmd/pulumi-language-yaml/testdata/projects/l2-provider-grpc-config/Pulumi.yaml
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,2 @@ | ||
name: l2-provider-grpc-config | ||
runtime: yaml |
3 changes: 3 additions & 0 deletions
3
cmd/pulumi-language-yaml/testdata/projects/l2-provider-grpc-config/sdks/config-grpc.yaml
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,3 @@ | ||
packageDeclarationVersion: 1 | ||
name: config-grpc | ||
version: 1.0.0 |
24 changes: 24 additions & 0 deletions
24
cmd/pulumi-language-yaml/testdata/projects/l2-ref-ref/Main.yaml
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,24 @@ | ||
resources: | ||
res: | ||
type: ref-ref:Resource | ||
properties: | ||
data: | ||
innerData: | ||
boolean: false | ||
float: 2.17 | ||
integer: -12 | ||
string: Goodbye | ||
boolArray: | ||
- false | ||
- true | ||
stringMap: | ||
two: turtle doves | ||
three: french hens | ||
boolean: true | ||
float: 4.5 | ||
integer: 1024 | ||
string: Hello | ||
boolArray: [] | ||
stringMap: | ||
x: '100' | ||
y: '200' |
2 changes: 2 additions & 0 deletions
2
cmd/pulumi-language-yaml/testdata/projects/l2-ref-ref/Pulumi.yaml
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,2 @@ | ||
name: l2-ref-ref | ||
runtime: yaml |
3 changes: 3 additions & 0 deletions
3
cmd/pulumi-language-yaml/testdata/projects/l2-ref-ref/sdks/ref-ref.yaml
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,3 @@ | ||
packageDeclarationVersion: 1 | ||
name: ref-ref | ||
version: 12.0.0 |
5 changes: 5 additions & 0 deletions
5
cmd/pulumi-language-yaml/testdata/projects/l2-resource-alpha/Main.yaml
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,5 @@ | ||
resources: | ||
res: | ||
type: alpha:Resource | ||
properties: | ||
value: true |
2 changes: 2 additions & 0 deletions
2
cmd/pulumi-language-yaml/testdata/projects/l2-resource-alpha/Pulumi.yaml
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,2 @@ | ||
name: l2-resource-alpha | ||
runtime: yaml |
3 changes: 3 additions & 0 deletions
3
cmd/pulumi-language-yaml/testdata/projects/l2-resource-alpha/sdks/alpha.yaml
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,3 @@ | ||
packageDeclarationVersion: 1 | ||
name: alpha | ||
version: 3.0.0-alpha.1.internal |
13 changes: 13 additions & 0 deletions
13
cmd/pulumi-language-yaml/testdata/projects/l2-resource-config/Main.yaml
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,13 @@ | ||
resources: | ||
prov: | ||
type: pulumi:providers:config | ||
properties: | ||
name: my config | ||
pluginDownloadURL: not the same as the pulumi resource option | ||
# Note this isn't _using_ the explicit provider, it's just grabbing a value from it. | ||
res: | ||
type: config:Resource | ||
properties: | ||
text: ${prov.version} | ||
outputs: | ||
pluginDownloadURL: ${prov.pluginDownloadURL} |
Oops, something went wrong.