[Bug]: terraform-provider-aws_v5.40.0_x5 plugin crash. caused by empty aws_ecs_cluster configuration block #36330
Labels
bug
Addresses a defect in current functionality.
crash
Results from or addresses a Terraform crash or kernel panic.
service/ecs
Issues and PRs that pertain to the ecs service.
Milestone
Terraform Core Version
1.5.7,1.7.4
AWS Provider Version
v5.40.0_x5
Affected Resource(s)
aws_v5.40.0_x5
Expected Behavior
Terraform plan passed successfully and terraform apply validation step passed, terraform apply create step should have completed.
Actual Behavior
Error: The terraform-provider-aws_v5.40.0_x5 plugin crashed!
Relevant Error/Panic Output Snippet
Terraform Configuration Files
This configuration triggered the crash:
resource "aws_ecs_cluster" "cluster_prod" {
name = "my-cluster-name"
configuration {
execute_command_configuration {
log_configuration {
}
}
}
setting {
name = "containerInsights"
value = "enabled"
}
}
Note that the log_configuration is empty.
Steps to Reproduce
Running this configuration passes validation but crashes when applied. Removing this block allows the cluster to be created:
configuration {
execute_command_configuration {
log_configuration {
}
}
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: