Open ghost opened 4 years ago
Hey @shedimon 👋 Thank you for taking the time to file this issue! Given that there's been a number of Terraform and AWS provider releases since you initially filed it, can you confirm whether you're still experiencing this behavior?
Hey @justinretzolk, I've tried it with hashicorp/aws
provider v3.69.0 and Terraform v1.1.0 and it's still the same behavior.
This issue is still happening in the last version.
This issue was originally opened by @shedimon as hashicorp/terraform#23303. It was migrated here as a result of the provider split. The original body of the issue is below.
Terraform Version
Terraform Configuration Files
main.tf:
module/module.tf:
Debug Output
Crash Output
Expected Behavior
When you apply the configuration above and after that delete
extra_block_devices
variable in module invocation terraform removes theebs_block_device
config from launch configuration.Actual Behavior
Terraform doesn't remove dynamic
ebs_block_device
from launch configuration and report false state of the configuration:Although launch configuratin test-lc-20191106203109303600000001 contains
ebs_block_device
attachment in AWS, terraform reports, that everything is up-to-date.Steps to Reproduce
terraform init
terraform apply
extra_block_devices
inmain.tf
lc module invocationterraform apply
Additional Context
References