Closed npc-adrian closed 5 years ago
Hi @npc-adrian! Sorry for this strange behavior and thanks for reporting it.
That error message does indeed seem to come from the AWS provider -- or rather, from the underlying AWS API itself -- so I think we'll need some folks with AWS provider expertise to look at this to understand what's going on here. Would you mind opening an issue for this in the AWS provider repository to start, and then we can reopen this here if the AWS provider team thinks there's an upstream Terraform Core problem to be fixed? Thanks!
Hi @apparentlymart. Yeah, that's fine. I'll put it on their issues list
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
While upgrading an AWS load Balancer from terraform 0.11 to terraform 0.12, I am getting an error when I try to run
terraform plan
against 0.12 for the first time.Everything appears to be in order - the resources exist, the state files are not corrupted etc. Details below.
I can't tell if this is a problem with the upgrade or the AWS provider. Apologies if I've added it in the wrong place.
Terraform Version
Terraform Configuration Files
Debug Output
https://gist.github.com/npc-adrian/85024e84da8ae2d064245cfa9b8c3386
Crash Output
Expected Behavior
The plan should succeed.
Actual Behavior
The plan failed.
Steps to Reproduce
terraform plan
using 0.12Additional Context
I followed the instructions to upgrade from 0.11 to 0.12. It has worked for other terraform projects so I'm pretty sure I did everything right.
The plan fails to find 2 AWS Load Balancer target groups but they are definitely correct when I look in the console. Here are the entries from the state file...
and
I confirmed I could look them up using the AWS CLI. Here's one example.
I also checked that when I can re-initialize and run
terraform plan
against 0.11 sucessfully and that it does not find any changes to be made. Here are the original entries from the 0.11 state.References
None