Cloudformation-coverage-roadmap: AWS::ECS::Cluster - support enabling container insights

Created on 13 Nov 2019  Â·  5Comments  Â·  Source: aws-cloudformation/cloudformation-coverage-roadmap

1. Title

AWS::ECS::Cluster - support enabling container insights

2. Scope of request

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

3. Expected behavior

Be able to enable container insights for ECS cluster.

4. Suggest specific test cases

n/a

5. Helpful Links to speed up research and evaluation

https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/deploy-container-insights-ECS.html

6. Category (required) - Will help with tagging and be easier to find by other users to +1

Use the categories as displayed in the AWS Management Console (simplified):

  1. Compute (EC2, ECS, EKS, Lambda...)

7. Any additional context (optional)

compute

Most helpful comment

@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

All 5 comments

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

ClusterSettings:

- Name: containerInsights

Value: enabled

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JohnPreston picture JohnPreston  Â·  3Comments

msaggar picture msaggar  Â·  3Comments

kjpgit picture kjpgit  Â·  4Comments

san-san picture san-san  Â·  3Comments

mildebrandt picture mildebrandt  Â·  3Comments