AWS::ECS::Cluster - support enabling container insights
There is a new cluster setting of ECS to enable container insights. But it does not support in CloudFormation now.
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/deploy-container-insights-ECS.html
Be able to enable container insights for ECS cluster.
n/a
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/deploy-container-insights-ECS.html
Use the categories as displayed in the AWS Management Console (simplified):
Must confess that never was able to get it working, but never had the time
to research what I was doing wrong. Still have it commented out:
ECSCluster:
Type: AWS::ECS::Cluster
On Thu, 27 Feb 2020 at 14:35, surajtikoo notifications@github.com wrote:
Did some one tried. It is getting failed only supported
ECSCluster:
Type: AWS::ECS::Cluster
Properties:
ClusterName: !Ref ClusterName
Name: "containerInsights"
Value: enabled—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aws-cloudformation/aws-cloudformation-coverage-roadmap/issues/258?email_source=notifications&email_token=AAE5BEYDGJOKXGUYHEVTYQDRE66S5A5CNFSM4JMUULBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENEM23I#issuecomment-591973741,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAE5BE5LDVSODTRM5BSCFVLRE66S5ANCNFSM4JMUULBA
.
@rjpereira I think ClusterSettings should be nested underneath a Properties field, so you would want:
ECSCluster:
Type: AWS::ECS::Cluster
Properties:
ClusterSettings:
- Name: containerInsights
Value: enabled
@rjpereira it could be related to the fact that there must be a feature flag enabled - check this out https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/deploy-container-insights-ECS-cluster.html
Most helpful comment
@rjpereira I think
ClusterSettingsshould be nested underneath aPropertiesfield, so you would want: