You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please provide a clear and concise description of the issue you are encountering, your current setup, and what steps led up to the issue. If you can provide a reproduction, that will help tremendously.
⚠️ Note
Before you submit an issue, please perform the following first:
Remove the local .terraform directory (! 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
Terraform: 1.0.5
Provider(s): aws (3.56.0)
Module: ecs (3.3.0)
Reproduction
Steps to reproduce the behavior:
terraform apply the snippet below.
Set container_insights to true/false or not declared at all.
Run terraform apply a few more times.
# module.ecs.aws_ecs_cluster.this[0] will be updated in-place
~ resource "aws_ecs_cluster" "this" {
id = "arn:aws:ecs:eu-west-1:1234567890:cluster/test-ecs"
name = "test-ecs"
tags = {}
# (3 unchanged attributes hidden)
+ setting {
+ name = "containerInsights"
+ value = "disabled"
}
# (1 unchanged block hidden)
}
thank you for the info, however this is related to the upstream AWS provider and should be fixed later this week with the latest release of the provider hashicorp/terraform-provider-aws#20720
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.
Description
Please provide a clear and concise description of the issue you are encountering, your current setup, and what steps led up to the issue. If you can provide a reproduction, that will help tremendously.
Before you submit an issue, please perform the following first:
.terraform
directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!):rm -rf .terraform/
terraform init
Versions
Reproduction
Steps to reproduce the behavior:
terraform apply
the snippet below.container_insights
totrue
/false
or not declared at all.terraform apply
a few more times.Code Snippet to Reproduce
Expected behavior
No infra changes.
Actual behavior
The module will try to set the
containerInsights
setting every time.If I set
container_insights = true
, it will becomeand it will still try to apply the
enable
every time.The text was updated successfully, but these errors were encountered: