-
-
Notifications
You must be signed in to change notification settings - Fork 630
Closed
Labels
Description
Description
In the Service Module if one specifies ignore_task_definition_changes=true along with service connect tls configuration one will get an error. I believe this is due to a mismatch between the two different resources that the ignore_task_definition_changes creates and how they handle the dynamic block differently.
- ✋ I have searched the open/closed issues and my issue is not listed.
⚠️ Note
Before you submit an issue, please perform the following first:
- Remove the local
.terraformdirectory (! ONLY if state is stored remotely, which hopefully you are following that best practice!):rm -rf .terraform/ - Re-initialize the project root to pull down modules:
terraform init - Re-attempt your terraform plan or apply and check if the issue still persists
Versions
-
Module version [Required]: 6.2.1
-
Terraform version:
Reproduction Code [Required]
module "service" {
ignore_task_definition_changes = true
service_connect_configuration = {
service = [{
tls = {
role_arn = ""
issuer_cert_authority = {
aws_pca_authority_arn = ""
}
}
}]
}
}Steps to reproduce the behavior:
- Specify tls configuration block while also specifying
ignore_task_definition_changes=true
Expected behavior
Should behave the same as when specifying ignore_task_definition_changes=false
Actual behavior
Terraform plan error due to incorrect dynamic block handling