Skip to content
This repository has been archived by the owner on Jan 14, 2020. It is now read-only.

Kombustion can not deploy tags to ECS task definition #142

Open
apainemilla opened this issue Jun 21, 2019 · 0 comments
Open

Kombustion can not deploy tags to ECS task definition #142

apainemilla opened this issue Jun 21, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@apainemilla
Copy link

apainemilla commented Jun 21, 2019

Tagging for ECS was added
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/ReleaseHistory.html

Describe the bug
When creating a CF stack into cloud formation you can not create any tags on ECS services. When you apply an upsert you get a error "Encountered unsupported property Tags"

Script settings

    TaskDefinition:
        Type: AWS::ECS::TaskDefinition        
        Properties:
            Family: !Sub ${Namespace}-Datadog-Agent-${Environment}
            NetworkMode: host
            TaskRoleArn: !GetAtt TaskRole.Arn
            ContainerDefinitions:
              - Name: !Sub ${Namespace}-Datadog-Agent-${Environment}
                Essential: true
                Image: datadog/agent:6.11.3
                Memory: 256
                Cpu: 10
                LogConfiguration:
                  LogDriver: awslogs
                  Options:
                      awslogs-group: !Ref AWS::StackName
                      awslogs-region: !Ref AWS::Region
                Tags:
                  - Key: "Name"
                    Value: !Ref "DataDog-Agent-${Namespace}-${Enviroment}"
                  - Key: "env_type"
                    Value: !Ref "${Namespace}"
                  - Key: "env_group"
                    Value: !Ref "${EnvironmentType}"
                  - Key: "cluster_type"
                    Value: !Ref "${ClusterType}"
                PortMappings:

If I drop the keys part and then I am able to upsert this into kombustion.

@boyter boyter added the bug Something isn't working label Jun 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants