aws-samples / aws-samples/ecs-blue-green-deployment-with-codedeploy
An action in this pipeline failed because one or more variables could not be resolved: Action name=BuildCodeDeployArtifacts
- Dominant language
- Python
- Stars
- 12
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
The BuildCodeDeployArtifacts action in the pipeline fails due to unresolved variables (TASKDEF_ARN and HOOKS_LAMBDA_ARN). These variables are supposed to be dynamically resolved from the DeployInfraVariables namespace, populated by the DeployAppInfrastructure stage.
Observed Behavior:
The pipeline fails with the error:
"An action in this pipeline failed because one or more variables could not be resolved: Action name=BuildCodeDeployArtifacts."

TASKDEF_ARN and HOOKS_LAMBDA_ARN are not set during execution.
Expected Behavior:
Variables TASKDEF_ARN and HOOKS_LAMBDA_ARN should resolve from the DeployInfraVariables namespace and be passed as environment variables to the BuildCodeDeployArtifacts action.
Contributor guide
Assessment
This issue has not been assessed yet.