I have the following on my AWS CodePipeline Cloudformation template:
Variables:
- Name: VARIABLE_NAME
Description: Some description
DefaultValue: ""
Version: 2
When I create the CodePipeline using Cloudformation, I get the following error:
Resource handler returned message: "Pipeline variable can only be used with V2 pipelines"
I am also getting the following error when I do it manually on the UI:
Any idea what I’m doing wrong or is it an AWS issue?