New launch type environment variable to indicate deployment target
Problem to solve
Coming from #208132 (comment 313316379). In order for autoDevOps to differentiate between different (AWS) targets, we need a way for the user to state the deployment target.
Introduce a new environment variable called
# within future Jobs/Deploy_ECS.gitlab-ci.yml auto deploy on ECS: stage: deploy only: variables: - $AWS_LAUNCH_TYPE == "ECS" except: kubernetes: active
If the type is left blank and error message should be printed "Missing Launch Type"
Also the documentation should instruct users to use this new environment variables