Skip to content

Commit 8552a4a

Browse files
recordings
1 parent 66cbb0e commit 8552a4a

File tree

120 files changed

+3096
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+3096
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
tests.testOutput{
2+
initialValue: valast.Ptr(false), changeValue: valast.Ptr(true),
3+
tfOut: `
4+
Terraform used the selected providers to generate the following execution
5+
plan. Resource actions are indicated with the following symbols:
6+
~ update in-place
7+
8+
Terraform will perform the following actions:
9+
10+
# crossprovider_test_res.example will be updated in-place
11+
~ resource "crossprovider_test_res" "example" {
12+
id = "newid"
13+
~ prop = false -> true
14+
}
15+
16+
Plan: 0 to add, 1 to change, 0 to destroy.
17+
18+
`,
19+
pulumiOut: `Previewing update (test):
20+
pulumi:pulumi:Stack: (same)
21+
[urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test]
22+
~ crossprovider:index/testRes:TestRes: (update)
23+
[id=newid]
24+
[urn=urn:pulumi:test::project::crossprovider:index/testRes:TestRes::example]
25+
~ prop: false => true
26+
Resources:
27+
~ 1 to update
28+
1 unchanged
29+
`,
30+
detailedDiff: map[string]interface{}{"prop": map[string]interface{}{"kind": "UPDATE"}},
31+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
tests.testOutput{
2+
initialValue: valast.Ptr(true), changeValue: valast.Ptr(false),
3+
tfOut: `
4+
Terraform used the selected providers to generate the following execution
5+
plan. Resource actions are indicated with the following symbols:
6+
~ update in-place
7+
8+
Terraform will perform the following actions:
9+
10+
# crossprovider_test_res.example will be updated in-place
11+
~ resource "crossprovider_test_res" "example" {
12+
id = "newid"
13+
~ prop = true -> false
14+
}
15+
16+
Plan: 0 to add, 1 to change, 0 to destroy.
17+
18+
`,
19+
pulumiOut: `Previewing update (test):
20+
pulumi:pulumi:Stack: (same)
21+
[urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test]
22+
~ crossprovider:index/testRes:TestRes: (update)
23+
[id=newid]
24+
[urn=urn:pulumi:test::project::crossprovider:index/testRes:TestRes::example]
25+
~ prop: true => false
26+
Resources:
27+
~ 1 to update
28+
1 unchanged
29+
`,
30+
detailedDiff: map[string]interface{}{"prop": map[string]interface{}{"kind": "UPDATE"}},
31+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
tests.testOutput{
2+
initialValue: valast.Ptr(true), changeValue: valast.Ptr(false),
3+
tfOut: `
4+
Terraform used the selected providers to generate the following execution
5+
plan. Resource actions are indicated with the following symbols:
6+
~ update in-place
7+
8+
Terraform will perform the following actions:
9+
10+
# crossprovider_test_res.example will be updated in-place
11+
~ resource "crossprovider_test_res" "example" {
12+
id = "newid"
13+
~ prop = true -> false
14+
}
15+
16+
Plan: 0 to add, 1 to change, 0 to destroy.
17+
18+
`,
19+
pulumiOut: `Previewing update (test):
20+
pulumi:pulumi:Stack: (same)
21+
[urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test]
22+
~ crossprovider:index/testRes:TestRes: (update)
23+
[id=newid]
24+
[urn=urn:pulumi:test::project::crossprovider:index/testRes:TestRes::example]
25+
~ prop: true => false
26+
Resources:
27+
~ 1 to update
28+
1 unchanged
29+
`,
30+
detailedDiff: map[string]interface{}{"prop": map[string]interface{}{"kind": "UPDATE"}},
31+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
tests.testOutput{
2+
initialValue: valast.Ptr(false), changeValue: valast.Ptr(false),
3+
tfOut: `
4+
No changes. Your infrastructure matches the configuration.
5+
6+
Terraform has compared your real infrastructure against your configuration
7+
and found no differences, so no changes are needed.
8+
`,
9+
pulumiOut: `Previewing update (test):
10+
pulumi:pulumi:Stack: (same)
11+
[urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test]
12+
Resources:
13+
2 unchanged
14+
`,
15+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
tests.testOutput{
2+
initialValue: valast.Ptr(true), changeValue: valast.Ptr(true),
3+
tfOut: `
4+
No changes. Your infrastructure matches the configuration.
5+
6+
Terraform has compared your real infrastructure against your configuration
7+
and found no differences, so no changes are needed.
8+
`,
9+
pulumiOut: `Previewing update (test):
10+
pulumi:pulumi:Stack: (same)
11+
[urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test]
12+
Resources:
13+
2 unchanged
14+
`,
15+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
tests.testOutput{
2+
initialValue: valast.Ptr(false), changeValue: valast.Ptr(true),
3+
tfOut: `
4+
No changes. Your infrastructure matches the configuration.
5+
6+
Terraform has compared your real infrastructure against your configuration
7+
and found no differences, so no changes are needed.
8+
`,
9+
pulumiOut: `Previewing update (test):
10+
pulumi:pulumi:Stack: (same)
11+
[urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test]
12+
Resources:
13+
2 unchanged
14+
`,
15+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
tests.testOutput{
2+
initialValue: valast.Ptr(true), changeValue: valast.Ptr(false),
3+
tfOut: `
4+
Terraform used the selected providers to generate the following execution
5+
plan. Resource actions are indicated with the following symbols:
6+
~ update in-place
7+
8+
Terraform will perform the following actions:
9+
10+
# crossprovider_test_res.example will be updated in-place
11+
~ resource "crossprovider_test_res" "example" {
12+
id = "id"
13+
~ prop = true -> false
14+
}
15+
16+
Plan: 0 to add, 1 to change, 0 to destroy.
17+
18+
`,
19+
pulumiOut: `Previewing update (test):
20+
pulumi:pulumi:Stack: (same)
21+
[urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test]
22+
~ crossprovider:index/testRes:TestRes: (update)
23+
[id=id]
24+
[urn=urn:pulumi:test::project::crossprovider:index/testRes:TestRes::example]
25+
~ prop: true => false
26+
Resources:
27+
~ 1 to update
28+
1 unchanged
29+
`,
30+
detailedDiff: map[string]interface{}{"prop": map[string]interface{}{"kind": "UPDATE"}},
31+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
tests.testOutput{
2+
initialValue: valast.Ptr(true), changeValue: valast.Ptr(false),
3+
tfOut: `
4+
Terraform used the selected providers to generate the following execution
5+
plan. Resource actions are indicated with the following symbols:
6+
~ update in-place
7+
8+
Terraform will perform the following actions:
9+
10+
# crossprovider_test_res.example will be updated in-place
11+
~ resource "crossprovider_test_res" "example" {
12+
id = "id"
13+
~ prop = true -> false
14+
}
15+
16+
Plan: 0 to add, 1 to change, 0 to destroy.
17+
18+
`,
19+
pulumiOut: `Previewing update (test):
20+
pulumi:pulumi:Stack: (same)
21+
[urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test]
22+
~ crossprovider:index/testRes:TestRes: (update)
23+
[id=id]
24+
[urn=urn:pulumi:test::project::crossprovider:index/testRes:TestRes::example]
25+
~ prop: true => false
26+
Resources:
27+
~ 1 to update
28+
1 unchanged
29+
`,
30+
detailedDiff: map[string]interface{}{"prop": map[string]interface{}{"kind": "UPDATE"}},
31+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
tests.testOutput{
2+
initialValue: valast.Ptr(false), changeValue: valast.Ptr(false),
3+
tfOut: `
4+
Terraform used the selected providers to generate the following execution
5+
plan. Resource actions are indicated with the following symbols:
6+
~ update in-place
7+
8+
Terraform will perform the following actions:
9+
10+
# crossprovider_test_res.example will be updated in-place
11+
~ resource "crossprovider_test_res" "example" {
12+
id = "id"
13+
~ prop = true -> false
14+
}
15+
16+
Plan: 0 to add, 1 to change, 0 to destroy.
17+
18+
`,
19+
pulumiOut: `Previewing update (test):
20+
pulumi:pulumi:Stack: (same)
21+
[urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test]
22+
~ crossprovider:index/testRes:TestRes: (update)
23+
[id=id]
24+
[urn=urn:pulumi:test::project::crossprovider:index/testRes:TestRes::example]
25+
~ prop: true => false
26+
Resources:
27+
~ 1 to update
28+
1 unchanged
29+
`,
30+
detailedDiff: map[string]interface{}{"prop": map[string]interface{}{"kind": "UPDATE"}},
31+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
tests.testOutput{
2+
initialValue: valast.Ptr(true), changeValue: valast.Ptr(true),
3+
tfOut: `
4+
No changes. Your infrastructure matches the configuration.
5+
6+
Terraform has compared your real infrastructure against your configuration
7+
and found no differences, so no changes are needed.
8+
`,
9+
pulumiOut: `Previewing update (test):
10+
pulumi:pulumi:Stack: (same)
11+
[urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test]
12+
Resources:
13+
2 unchanged
14+
`,
15+
}

0 commit comments

Comments
 (0)