This issue was originally opened by @mechastorm as hashicorp/terraform#14838. It was migrated here as a result of the provider split. The original body of the issue is below.
I am getting a TF crash whenever I read from a remote state. It is only this particular state file.
I tried to re-create it from scratch and it worked until I explicitly added the aws_vpc resource (which was imported from an existing one.
This issue was originally opened by @mechastorm as hashicorp/terraform#14838. It was migrated here as a result of the provider split. The original body of the issue is below.
I am getting a TF crash whenever I read from a remote state. It is only this particular state file.
I tried to re-create it from scratch and it worked until I explicitly added the aws_vpc resource (which was imported from an existing one.
Terraform Version
Terraform v0.9.5
Affected Resource(s)
Please list the resources as a list, for example:
data.terraform_remote_state
aws_vpc.main
Terraform Configuration Files
The tfstate file of
states/dev-us-west-2/vpc.tfstate
with info redactedhttps://gist.github.com/mechastorm/6127dbe919e8bd5f73495ae66352fad6
Debug Output
Debug log with info redacted https://gist.github.com/mechastorm/4a9e6a9e5c00734dd9bd31eae28bf83c
Panic Output
Crash.log with info redacted https://gist.github.com/mechastorm/cdd38789b03fba93e9a57d302a24ca64
Expected Behavior
Should run plan with zero changes and a successful exit
Actual Behavior
Terraform crash with an EOF error when reading a remote state
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform plan
orterraform apply
Important Factoids
The vpc.tfstate has some empty output strings.