Created
September 6, 2020 19:18
-
-
Save EscVector/92d13f937ec59867c71424b6fb8ccf80 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
C:\Users\Employee\projects\aws\aws-cert\tf\security\test>tf state list | |
2020/09/06 15:15:35 [INFO] Terraform version: 0.13.2 | |
2020/09/06 15:15:35 [INFO] Go runtime version: go1.14.7 | |
2020/09/06 15:15:35 [INFO] CLI args: []string{"c:\\app\\terraform\\tf.exe", "state", "list"} | |
2020/09/06 15:15:35 [DEBUG] Attempting to open CLI config file: C:\Users\Employee\AppData\Roaming\terraform.rc | |
2020/09/06 15:15:35 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2020/09/06 15:15:35 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2020/09/06 15:15:35 [DEBUG] ignoring non-existing provider search directory C:\Users\Employee\AppData\Roaming\terraform.d\plugins | |
2020/09/06 15:15:35 [DEBUG] ignoring non-existing provider search directory C:\Users\Employee\AppData\Roaming\HashiCorp\Terraform\plugins | |
2020/09/06 15:15:35 [INFO] CLI command args: []string{"state", "list"} | |
2020/09/06 15:15:35 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config | |
2020/09/06 15:15:35 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory | |
2020/09/06 15:15:35 [DEBUG] New state was assigned lineage "b099aaac-5c77-23be-cc2c-f1dc7460729f" | |
2020/09/06 15:15:35 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend) | |
2020/09/06 15:15:35 [TRACE] Meta.Backend: instantiated backend of type <nil> | |
2020/09/06 15:15:35 [TRACE] providercache.fillMetaCache: scanning directory .terraform\plugins | |
2020/09/06 15:15:35 [TRACE] getproviders.SearchLocalDirectory: .terraform\plugins is a symlink to .terraform\plugins | |
2020/09/06 15:15:35 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/aws v2.70.0 for windows_amd64 at .terraform\plugins\registry.terraform.io\hashicorp\aws\2.70.0\windows_amd64 | |
2020/09/06 15:15:35 [TRACE] providercache.fillMetaCache: including .terraform\plugins\registry.terraform.io\hashicorp\aws\2.70.0\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/aws 2.70.0 | |
2020/09/06 15:15:35 [DEBUG] checking for provisioner in "." | |
2020/09/06 15:15:35 [DEBUG] checking for provisioner in "c:\\app\\terraform" | |
2020/09/06 15:15:35 [INFO] Failed to read plugin lock file .terraform\plugins\windows_amd64\lock.json: open .terraform\plugins\windows_amd64\lock.json: The system cannot find the path specified. | |
2020/09/06 15:15:35 [TRACE] Meta.Backend: backend <nil> does not support operations, so wrapping it in a local backend | |
2020/09/06 15:15:35 [TRACE] backend/local: state manager for workspace "default" will: | |
- read initial snapshot from terraform.tfstate | |
- write new snapshots to terraform.tfstate | |
- create any backup at terraform.tfstate.backup | |
2020/09/06 15:15:35 [TRACE] statemgr.Filesystem: reading initial snapshot from terraform.tfstate | |
2020/09/06 15:15:35 [TRACE] statemgr.Filesystem: read snapshot with lineage "fa47c032-3045-41cf-71e3-d921ca9c4962" serial 1 | |
data.aws_subnet.alternate_public[0] | |
data.aws_subnet.alternate_public[1] | |
data.aws_subnet.alternate_public[2] | |
data.aws_subnet.alternate_public[3] | |
data.aws_subnet.alternate_public[4] | |
data.aws_subnet.alternate_public[5] | |
data.aws_subnet.public["subnet-008ebaf1ce58b3ed4"] | |
data.aws_subnet.public["subnet-0404e067c00c86a8d"] | |
data.aws_subnet.public["subnet-074ef7be5fa653976"] | |
data.aws_subnet.public["subnet-09a0f1ff86050a251"] | |
data.aws_subnet.public["subnet-0ba80ac4aaa75e916"] | |
data.aws_subnet.public["subnet-0e8b8642f7d03e69e"] | |
data.aws_subnet_ids.private | |
data.aws_subnet_ids.public | |
data.aws_vpc.main | |
data.aws_vpcs.main | |
>tf state show data.aws_subnet.public["subnet-008ebaf1ce58b3ed4"] | |
2020/09/06 15:10:43 [INFO] Terraform version: 0.13.2 | |
2020/09/06 15:10:43 [INFO] Go runtime version: go1.14.7 | |
2020/09/06 15:10:43 [INFO] CLI args: []string{"c:\\app\\terraform\\tf.exe", "state", "show", "data.aws_subnet.public[subnet-008ebaf1ce58b3ed4]"} | |
2020/09/06 15:10:43 [DEBUG] Attempting to open CLI config file: C:\Users\Employee\AppData\Roaming\terraform.rc | |
2020/09/06 15:10:43 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2020/09/06 15:10:43 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2020/09/06 15:10:43 [DEBUG] ignoring non-existing provider search directory C:\Users\Employee\AppData\Roaming\terraform.d\plugins | |
2020/09/06 15:10:43 [DEBUG] ignoring non-existing provider search directory C:\Users\Employee\AppData\Roaming\HashiCorp\Terraform\plugins | |
2020/09/06 15:10:43 [INFO] CLI command args: []string{"state", "show", "data.aws_subnet.public[subnet-008ebaf1ce58b3ed4]"} | |
2020/09/06 15:10:43 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config | |
2020/09/06 15:10:43 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory | |
2020/09/06 15:10:43 [DEBUG] New state was assigned lineage "99de1962-a195-5dd3-385d-e552f12142af" | |
2020/09/06 15:10:43 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend) | |
2020/09/06 15:10:43 [TRACE] Meta.Backend: instantiated backend of type <nil> | |
2020/09/06 15:10:43 [TRACE] providercache.fillMetaCache: scanning directory .terraform\plugins | |
2020/09/06 15:10:43 [TRACE] getproviders.SearchLocalDirectory: .terraform\plugins is a symlink to .terraform\plugins | |
2020/09/06 15:10:43 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/aws v2.70.0 for windows_amd64 at .terraform\plugins\registry.terraform.io\hashicorp\aws\2.70.0\windows_amd64 | |
2020/09/06 15:10:43 [TRACE] providercache.fillMetaCache: including .terraform\plugins\registry.terraform.io\hashicorp\aws\2.70.0\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/aws 2.70.0 | |
2020/09/06 15:10:44 [DEBUG] checking for provisioner in "." | |
2020/09/06 15:10:44 [DEBUG] checking for provisioner in "c:\\app\\terraform" | |
2020/09/06 15:10:44 [INFO] Failed to read plugin lock file .terraform\plugins\windows_amd64\lock.json: open .terraform\plugins\windows_amd64\lock.json: The system cannot find the path specified. | |
2020/09/06 15:10:44 [TRACE] Meta.Backend: backend <nil> does not support operations, so wrapping it in a local backend | |
Error parsing instance address: data.aws_subnet.public[subnet-008ebaf1ce58b3ed4] | |
This command requires that the address references one specific instance. | |
To view the available instances, use "terraform state list". Please modify | |
the address to reference a specific instance. | |
>tf state show data.aws_subnet.alternate_public[0] | |
2020/09/06 15:12:06 [INFO] Terraform version: 0.13.2 | |
2020/09/06 15:12:06 [INFO] Go runtime version: go1.14.7 | |
2020/09/06 15:12:06 [INFO] CLI args: []string{"c:\\app\\terraform\\tf.exe", "state", "show", "data.aws_subnet.alternate_public[0]"} | |
2020/09/06 15:12:06 [DEBUG] Attempting to open CLI config file: C:\Users\Employee\AppData\Roaming\terraform.rc | |
2020/09/06 15:12:06 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2020/09/06 15:12:06 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2020/09/06 15:12:06 [DEBUG] ignoring non-existing provider search directory C:\Users\Employee\AppData\Roaming\terraform.d\plugins | |
2020/09/06 15:12:06 [DEBUG] ignoring non-existing provider search directory C:\Users\Employee\AppData\Roaming\HashiCorp\Terraform\plugins | |
2020/09/06 15:12:06 [INFO] CLI command args: []string{"state", "show", "data.aws_subnet.alternate_public[0]"} | |
2020/09/06 15:12:06 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config | |
2020/09/06 15:12:06 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory | |
2020/09/06 15:12:06 [DEBUG] New state was assigned lineage "eb5f8344-e9a0-927e-e189-12ef9ceb9889" | |
2020/09/06 15:12:06 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend) | |
2020/09/06 15:12:06 [TRACE] Meta.Backend: instantiated backend of type <nil> | |
2020/09/06 15:12:06 [TRACE] providercache.fillMetaCache: scanning directory .terraform\plugins | |
2020/09/06 15:12:06 [TRACE] getproviders.SearchLocalDirectory: .terraform\plugins is a symlink to .terraform\plugins | |
2020/09/06 15:12:06 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/aws v2.70.0 for windows_amd64 at .terraform\plugins\registry.terraform.io\hashicorp\aws\2.70.0\windows_amd64 | |
2020/09/06 15:12:06 [TRACE] providercache.fillMetaCache: including .terraform\plugins\registry.terraform.io\hashicorp\aws\2.70.0\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/aws 2.70.0 | |
2020/09/06 15:12:06 [DEBUG] checking for provisioner in "." | |
2020/09/06 15:12:06 [DEBUG] checking for provisioner in "c:\\app\\terraform" | |
2020/09/06 15:12:06 [INFO] Failed to read plugin lock file .terraform\plugins\windows_amd64\lock.json: open .terraform\plugins\windows_amd64\lock.json: The system cannot find the path specified. | |
2020/09/06 15:12:06 [TRACE] Meta.Backend: backend <nil> does not support operations, so wrapping it in a local backend | |
2020/09/06 15:12:06 [TRACE] backend/local: requesting state manager for workspace "default" | |
2020/09/06 15:12:06 [TRACE] backend/local: state manager for workspace "default" will: | |
- read initial snapshot from terraform.tfstate | |
- write new snapshots to terraform.tfstate | |
- create any backup at terraform.tfstate.backup | |
2020/09/06 15:12:06 [TRACE] backend/local: requesting state lock for workspace "default" | |
2020/09/06 15:12:06 [TRACE] backend/local: reading remote state for workspace "default" | |
2020/09/06 15:12:06 [TRACE] statemgr.Filesystem: reading initial snapshot from terraform.tfstate | |
2020/09/06 15:12:06 [TRACE] statemgr.Filesystem: read snapshot with lineage "fa47c032-3045-41cf-71e3-d921ca9c4962" serial 1 | |
2020/09/06 15:12:06 [TRACE] backend/local: retrieving local state snapshot for workspace "default" | |
2020/09/06 15:12:06 [TRACE] backend/local: building context for current working directory | |
2020/09/06 15:12:06 [TRACE] terraform.NewContext: starting | |
2020/09/06 15:12:06 [TRACE] terraform.NewContext: loading provider schemas | |
2020/09/06 15:12:06 [TRACE] LoadSchemas: retrieving schema for provider type "registry.terraform.io/hashicorp/aws" | |
2020-09-06T15:12:06.825-0400 [INFO] plugin: configuring client automatic mTLS | |
2020-09-06T15:12:06.882-0400 [DEBUG] plugin: starting plugin: path=.terraform/plugins/registry.terraform.io/hashicorp/aws/2.70.0/windows_amd64/terraform-provider-aws_v2.70.0_x4.exe args=[.terraform/plugins/registry.terraform.io/hashicorp/aws/2.70.0/windows_amd64/terraform-provider-aws_v2.70.0_x4.exe] | |
2020-09-06T15:12:06.888-0400 [DEBUG] plugin: plugin started: path=.terraform/plugins/registry.terraform.io/hashicorp/aws/2.70.0/windows_amd64/terraform-provider-aws_v2.70.0_x4.exe pid=22636 | |
2020-09-06T15:12:06.888-0400 [DEBUG] plugin: waiting for RPC address: path=.terraform/plugins/registry.terraform.io/hashicorp/aws/2.70.0/windows_amd64/terraform-provider-aws_v2.70.0_x4.exe | |
2020-09-06T15:12:06.974-0400 [INFO] plugin.terraform-provider-aws_v2.70.0_x4.exe: configuring server automatic mTLS: timestamp=2020-09-06T15:12:06.972-0400 | |
2020-09-06T15:12:07.029-0400 [DEBUG] plugin.terraform-provider-aws_v2.70.0_x4.exe: plugin address: address=127.0.0.1:10000 network=tcp timestamp=2020-09-06T15:12:07.029-0400 | |
2020-09-06T15:12:07.029-0400 [DEBUG] plugin: using plugin: version=5 | |
2020/09/06 15:12:07 [TRACE] GRPCProvider: GetSchema | |
2020-09-06T15:12:07.128-0400 [TRACE] plugin.stdio: waiting for stdio data | |
2020/09/06 15:12:07 [TRACE] No provider meta schema returned | |
2020/09/06 15:12:07 [TRACE] GRPCProvider: Close | |
2020-09-06T15:12:07.242-0400 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing" | |
2020-09-06T15:12:07.260-0400 [DEBUG] plugin: plugin process exited: path=.terraform/plugins/registry.terraform.io/hashicorp/aws/2.70.0/windows_amd64/terraform-provider-aws_v2.70.0_x4.exe pid=22636 | |
2020-09-06T15:12:07.260-0400 [DEBUG] plugin: plugin exited | |
2020/09/06 15:12:07 [TRACE] terraform.NewContext: complete | |
2020/09/06 15:12:07 [TRACE] backend/local: finished building terraform.Context | |
#2020/09/06 15:12:07 [TRACE] statemgr.Filesystem: reading initial snapshot from terraform.tfstate | |
2020/09/06 15:12:07 [TRACE] statemgr.Filesystem: read snapshot with lineage "fa47c032-3045-41cf-71e3-d921ca9c4962" serial 1 | |
data.aws_subnet.alternate_public[0]: | |
data "aws_subnet" "alternate_public" { | |
arn = "arn:aws:ec2:us-east-1:0000000000:subnet/subnet-008ebaf1ce58b3ed4" | |
assign_ipv6_address_on_creation = false | |
availability_zone = "us-east-1e" | |
availability_zone_id = "use1-az2" | |
cidr_block = "10.0.11.0/24" | |
default_for_az = false | |
id = "subnet-008ebaf1ce58b3ed4" | |
map_public_ip_on_launch = true | |
owner_id = "0000000000" | |
state = "available" | |
tags = { | |
"Name" = "public-sn-05" | |
"Type" = "Public" | |
} | |
vpc_id = "vpc-084d1452d08bdf4ad" | |
} | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment