Deploy to AWS - provision never starts [BUG]

, , ,

Hello everyone,

I’m configuring deployment from GitLab CI to AWS based on this tutorial:

However, the CF provision stage never executes.

Parent template sets AUTO_DEVOPS_PLATFORM_TARGET variable to EC2 here:

CF-Provision-and-Deploy-EC2 includes this template which perhaps has invalid condition:

I guess that condition should be changed from:

'($AUTO_DEVOPS_PLATFORM_TARGET != "EC2") || ($AUTO_DEVOPS_PLATFORM_TARGET != "ECS")'
when: never

to

'($AUTO_DEVOPS_PLATFORM_TARGET != "EC2") && ($AUTO_DEVOPS_PLATFORM_TARGET != "ECS")'
when: never

Is it a bug or am I missing something in the config?

Cheers,
Matt