Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

aws-cloudformation-deploy CAPABILITIES error

Sam Ware
Contributor
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

CAPABILITIES: [ 'CAPABILITY_NAMED_IAM' ]

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
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, forge, forge learning path, atlassian learning, cloud app development, forge app development, build forge apps, atlassian certification, developer training, jira app development, confluence app development, automation, ui frameworks

Turn Ideas into Atlassian Apps 📱

From setup to deployment—this learning path shows you how to build your first app using Forge. Learn the essentials, streamline workflows, and bring custom solutions to life across Jira, Confluence, and more.

Start Learning
AUG Leaders

Atlassian Community Events