You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I use BitBucket pipelines with pipe:
- pipe: atlassian/aws-ecs-deploy:1.6.1
variables:
AWS_ACCESS_KEY_ID: '<string>'
AWS_SECRET_ACCESS_KEY: '<string>'
AWS_DEFAULT_REGION: '<string>'
CLUSTER_NAME: '<string>'
SERVICE_NAME: '<string>'
TASK_DEFINITION: task-definition.json
The file "task-definition.json
" contains element:
"runtimePlatform": {
"operatingSystemFamily": "LINUX",
"cpuArchitecture": "X86_64"
}
When the pipeline performs a step that contains mentioned pipe I can see the exception:
✖ ECS task definition parameter validation error:
Parameter validation failed:
Unknown parameter in input: "runtimePlatform", must be one of: family, taskRoleArn, executionRoleArn, networkMode, containerDefinitions, volumes, placementConstraints, requiresCompatibilities, cpu, memory, tags, pidMode, ipcMode, proxyConfiguration, inferenceAccelerators
How to configure pipe: atlassian/aws-ecs-deploy:1.6.1 to resolve the issue: sometimes AWS requires to specify runtimePlatform?
@Roman Lymar hi. Thanks for your question.
Maybe you can remove runtimePlatform element from task definition because provided values in this element are default values.
One of the possible reason of this error is that current version 1.13.13 of boto3 in the pipe does not support this element.
Regards, Igor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.