I have the following error when running my pipeline:
There is an error in your bitbucket-pipelines.yml at [pipelines > branches > develop > 1]. To be precise: Step is empty, null, or missing.
Another user reported a similar issue earlier. The answer given there does not work for me as the issue was with indentation. My file does not have that error.
Here's my file:
- step: &deployToECS
name: Deploy to ECS
script: # Modify the commands below to build your repository.
- pipe: atlassian/aws-ecs-deploy:1.0.4
PS: The question editor here removes spacing when I paste my file contents so indentation might not be correct here.
However, the pipeline works if I change the step to reuse the anchor inline:
- step: *deployToECS
This "works" but I can not override variables with the deployment specific variables in this case.
Any suggestions would be helpful.
Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events