diff --git a/.changelog/20720.txt b/.changelog/20720.txt new file mode 100644 index 000000000000..0d7518d08af3 --- /dev/null +++ b/.changelog/20720.txt @@ -0,0 +1,3 @@ +```release-note:bug +resource/aws_ecs_cluster: Ensure that `setting` attribute is set consistently +``` \ No newline at end of file diff --git a/aws/internal/service/ecs/finder/finder.go b/aws/internal/service/ecs/finder/finder.go index 987d2c732c3b..823c231aa343 100644 --- a/aws/internal/service/ecs/finder/finder.go +++ b/aws/internal/service/ecs/finder/finder.go @@ -40,7 +40,11 @@ func CapacityProviderByARN(conn *ecs.ECS, arn string) (*ecs.CapacityProvider, er func ClusterByARN(conn *ecs.ECS, arn string) (*ecs.DescribeClustersOutput, error) { input := &ecs.DescribeClustersInput{ Clusters: []*string{aws.String(arn)}, - Include: []*string{aws.String(ecs.ClusterFieldTags), aws.String(ecs.ClusterFieldConfigurations)}, + Include: []*string{ + aws.String(ecs.ClusterFieldTags), + aws.String(ecs.ClusterFieldConfigurations), + aws.String(ecs.ClusterFieldSettings), + }, } output, err := conn.DescribeClusters(input)