forked from GoogleCloudPlatform/cloud-foundation-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use No state. to get well-structured state instead of reading directl…
…y from .tfstate file.
- Loading branch information
Showing
5 changed files
with
107 additions
and
138 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
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
41 changes: 20 additions & 21 deletions
41
cli/testdata/bpmetadata/tf/sample-module/terraform.tfstate
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,26 +1,25 @@ | ||
{ | ||
"version": 4, | ||
"terraform_version": "0.12.0", | ||
"serial": 8, | ||
"lineage": "491fd8f4-81b5-9890-520c-8a173c36e483", | ||
"outputs": { | ||
"cluster_id": { | ||
"value": "sample-cluster-id", | ||
"type": "string" | ||
}, | ||
"endpoint": { | ||
"value": { | ||
"host": "127.0.0.1", | ||
"port": 443 | ||
"format_version": "1.0", | ||
"terraform_version": "1.2.0", | ||
"values": { | ||
"outputs": { | ||
"cluster_id": { | ||
"type": "string", | ||
"value": "sample-cluster-id" | ||
}, | ||
"type": [ | ||
"object", | ||
{ | ||
"host": "string", | ||
"port": "number" | ||
"endpoint": { | ||
"type": [ | ||
"object", | ||
{ | ||
"host": "string", | ||
"port": "number" | ||
} | ||
], | ||
"value": { | ||
"host": "127.0.0.1", | ||
"port": 443 | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"resources": [] | ||
} | ||
} |