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

aws-cloudformation-deploy CAPABILITIES error

Sam Ware June 14, 2023

I'm building a pipeline yaml in Visual Studio and it reports at error on this line of code in the "variables" section


Error: Incorrect type. Expected "string".

The pipeline works but Visual Studio reporting it as an error.  I checked if there was any updates to any Atlassian Extensions but found none.

1 answer

1 vote
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 15, 2023

Hello @Sam Ware and thank you for reaching out to Community!

I suspect that Visual Studio might be trying to validate the YML code with the standard YML syntax, but since pipes are a bitbucket pipelines feature, it might be getting confused with the pipe's syntax.

In this case, in order to check your YML file for any syntax error I would suggest using Atlassian own Validator for bitbucket-pipelines.yml , as this will execute the same checks as when your build is triggered.

Thank you, @Sam Ware !

Patrik S

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events