-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add ShowStateFile, ShowPlanFile * e2etests for ShowStateFile, ShowPlanFile
- Loading branch information
Showing
12 changed files
with
392 additions
and
2 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
3 changes: 3 additions & 0 deletions
3
tfexec/internal/e2etest/testdata/non_default_planfile_012/main.tf
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 @@ | ||
resource null_resource "foo" { | ||
} | ||
|
Binary file added
BIN
+931 Bytes
tfexec/internal/e2etest/testdata/non_default_planfile_012/planfilefoo
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
tfexec/internal/e2etest/testdata/non_default_planfile_013/main.tf
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 @@ | ||
resource null_resource "foo" { | ||
} | ||
|
Binary file added
BIN
+919 Bytes
tfexec/internal/e2etest/testdata/non_default_planfile_013/planfilefoo
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
tfexec/internal/e2etest/testdata/non_default_statefile_012/main.tf
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 @@ | ||
resource null_resource "foo" { | ||
} | ||
|
25 changes: 25 additions & 0 deletions
25
tfexec/internal/e2etest/testdata/non_default_statefile_012/statefilefoo
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,25 @@ | ||
{ | ||
"version": 4, | ||
"terraform_version": "0.12.29", | ||
"serial": 1, | ||
"lineage": "b69e96b9-250f-2004-c603-1b11dc3459c1", | ||
"outputs": {}, | ||
"resources": [ | ||
{ | ||
"mode": "managed", | ||
"type": "null_resource", | ||
"name": "foo", | ||
"provider": "provider.null", | ||
"instances": [ | ||
{ | ||
"schema_version": 0, | ||
"attributes": { | ||
"id": "3610244792381545397", | ||
"triggers": null | ||
}, | ||
"private": "bnVsbA==" | ||
} | ||
] | ||
} | ||
] | ||
} |
3 changes: 3 additions & 0 deletions
3
tfexec/internal/e2etest/testdata/non_default_statefile_013/main.tf
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 @@ | ||
resource null_resource "foo" { | ||
} | ||
|
25 changes: 25 additions & 0 deletions
25
tfexec/internal/e2etest/testdata/non_default_statefile_013/statefilefoo
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,25 @@ | ||
{ | ||
"version": 4, | ||
"terraform_version": "0.13.0", | ||
"serial": 1, | ||
"lineage": "b69e96b9-250f-2004-c603-1b11dc3459c1", | ||
"outputs": {}, | ||
"resources": [ | ||
{ | ||
"mode": "managed", | ||
"type": "null_resource", | ||
"name": "foo", | ||
"provider": "provider[\"registry.terraform.io/hashicorp/null\"]", | ||
"instances": [ | ||
{ | ||
"schema_version": 0, | ||
"attributes": { | ||
"id": "3610244792381545397", | ||
"triggers": null | ||
}, | ||
"private": "bnVsbA==" | ||
} | ||
] | ||
} | ||
] | ||
} |
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.