Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,422
Community Members
 
Community Events
184
Community Groups

Error with AWS ECS Deployment Pipe

'volumes': []}
DEBUG: Event before-parameter-build.ecs.RegisterTaskDefinition: calling handler <function generate_idempotent_uuid at 0x7f72873eb343>
✖ ECS task definition parameter validation error:
Parameter validation failed:


{'key': 'Environment', 'value': 'dev'},
{'key': 'DCIO', 'value': 'Customer'},
{'key': 'Name', 'value': 'ECS_TASK_NAME'}],
'taskDefinitionArn': 'arn:aws:ecs:us-west-2:1111111111111:task-definition/ECS_TASK_NAME:4',
'volumes': []}
DEBUG: Calling endpoint provider with parameters: {'Region': 'us-west-2', 'UseDualStack': False, 'UseFIPS': False}
DEBUG: Endpoint provider result: https://ecs.us-west-2.amazonaws.com
DEBUG: Event before-parameter-build.ecs.RegisterTaskDefinition: calling handler <function generate_idempotent_uuid at 0x7f62b73bf010>
✖ ECS task definition parameter validation error:
Parameter validation failed:
Unknown parameter in input: "taskDefinitionArn", must be one of: family, taskRoleArn, executionRoleArn, networkMode, containerDefinitions, volumes, placementConstraints, requiresCompatibilities, cpu, memory, tags, pidMode, ipcMode, proxyConfiguration, inferenceAccelerators, ephemeralStorage, runtimePlatform
Unknown parameter in input: "revision", must be one of: family, taskRoleArn, executionRoleArn, networkMode, containerDefinitions, volumes, placementConstraints, requiresCompatibilities, cpu, memory, tags, pidMode, ipcMode, proxyConfiguration, inferenceAccelerators, ephemeralStorage, runtimePlatform
Unknown parameter in input: "status", must be one of: family, taskRoleArn, executionRoleArn, networkMode, containerDefinitions, volumes, placementConstraints, requiresCompatibilities, cpu, memory, tags, pidMode, ipcMode, proxyConfiguration, inferenceAccelerators, ephemeralStorage, runtimePlatform
Unknown parameter in input: "requiresAttributes", must be one of: family, taskRoleArn, executionRoleArn, networkMode, containerDefinitions, volumes, placementConstraints, requiresCompatibilities, cpu, memory, tags, pidMode, ipcMode, proxyConfiguration, inferenceAccelerators, ephemeralStorage, runtimePlatform
Unknown parameter in input: "compatibilities", must be one of: family, taskRoleArn, executionRoleArn, networkMode, containerDefinitions, volumes, placementConstraints, requiresCompatibilities, cpu, memory, tags, pidMode, ipcMode, proxyConfiguration, inferenceAccelerators, ephemeralStorage, runtimePlatform
Unknown parameter in input: "registeredAt", must be one of: family, taskRoleArn, executionRoleArn, networkMode, containerDefinitions, volumes, placementConstraints, requiresCompatibilities, cpu, memory, tags, pidMode, ipcMode, proxyConfiguration, inferenceAccelerators, ephemeralStorage, runtimePlatform
Unknown parameter in input: "registeredBy", must be one of: family, taskRoleArn, executionRoleArn, networkMode, containerDefinitions, volumes, placementConstraints, requiresCompatibilities, cpu, memory, tags, pidMode, ipcMode, proxyConfiguration, inferenceAccelerators, ephemeralStorage, runtimePlatform

2 answers

0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 31, 2023

@Manoj Kinage hi. This pipe based on boto3 1.26 version. According to docs there is no request parameter `taskDefinitionArn`. That's why your task-definition failed validation.

Regards, Igor

@Igor Stoyanov there is TaskARN and it is also printed in error. As I mentioned with same json file I am able to deploy using AWS CLI.

Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 03, 2023

@Manoj Kinage  AWS CLI and boto3 are not the same tools. Boto3 does not support `taskDefinitionArn` request parameter in register-task-definition

Regards, Igor

0 votes
Oday Rafeh
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 25, 2023

@Manoj Kinage 

The error message indicates that there is a parameter validation failure related to the ECS task definition. Specifically, the error messages show that there are unknown parameters being used.

One thing you can try is to check the parameters you are using in your code and compare them to the parameters listed in the AWS ECS documentation to make sure you are using the correct syntax.

You may also want to check the version of the AWS ECS Deployment Pipe you are using to see if there are any known issues or bugs that could be causing this error.

I don't think there is any invalid parameter in task definition because I am able to deploy using same task definition using aws-cli and also from bitbucket using aws cli image.

Oday Rafeh
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 28, 2023

May be an issue with the AWS ECS Deployment Pipe itself. You could try reaching out to the support team for the pipe to see if they can provide any insights or solutions for this error

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events