Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29245

Not able to add tag on resource AWS::ECS::Service

$
0
0

I have below definition for ECS service:

"EcsService": {
            "Type": "AWS::ECS::Service",
            "Properties": {
                "Cluster": { "Ref": "EcsCluster" },
                "TaskDefinition": { "Ref": "EcsTaskDefinition" },
                "DesiredCount": 1
            }
        }

for which CloudFormation service gives below message in Events tab:

enter image description here

FYI.. I have defined tags for only two resources:

Tag for ecs container instance "Tags": [ { "Key": "Name", "Value": { "Fn::Join": ["", [ { "Ref": "AWS::StackName"}, "-instance" ] ]} }]

This is another tag for elb security group "Tags": [ { "Key": "Name", "Value": { "Fn::Join": ["", [ { "Ref": "AWS::StackName" }, "-elb-sg" ] ] } } ]


1) What is the meaning of this error? For EcsService

2) How to resolve it?


Viewing all articles
Browse latest Browse all 29245

Trending Articles