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

ECS deploy pipeline plugin doesn't seem to work

Izaac July 16, 2020

It doesn't support EFS? This part of the task definition is valid as it works fine via Amazon CLI:

 

{
"family": "some-service",
"volumes": [
{
"name": "efs-drive",
"efsVolumeConfiguration": {
"fileSystemId": "fs-12345",
"rootDirectory": "/image"
}
}

 


✖ ECS task definition parameter validation error:
Parameter validation failed:
Unknown parameter in volumes[0]:
"efsVolumeConfiguration", must be one of: name, host, dockerVolumeConfiguration
 

 

2 answers

0 votes
Izaac July 18, 2020

I was trying to use this pipe

- pipe: atlassian/aws-ecs-deploy:1.0.0 
ktomk
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.
July 18, 2020

By the schema there is no such "efsVolumeConfiguration", see Amazon EFS volumes  for more information on this EFS volume configuration.

Looks like the schema needs an update in that pipe, 1.0.0 is most likely to be that old it does not yet has the EFS volume configuration.

Give `1.1.4` instead of `1.0.0` a try.

0 votes
ktomk
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.
July 17, 2020

Not an answer, but more a question for clarification: About which pipeline plugin are you talking about?

Also not an answer, but more a comment: The error message you posted sounds like a configured schema is incomplete (for your use-case), is your question related to a Pipe? If so, which Atlassian Bitbucket Cloud Pipelines Plugin Pipe are you referring to?

Would you be so kind to share the relevant part(s) of your Atlassian Bitbucket Cloud Pipelines Plugin `bitbucket-pipeines.yml` YAML file as well (mask personal/secret information with boilerplate placeholders, that should be fine just in case you wonder)?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events