QuestionQ80

VerifiedIncident and Event Response

On the next CodePipeline run, the pipeline enters a FAILED state during the build stage. The DevOps engineer confirms that the correct Systems Manager parameter path is configured for the environment-variable values that changed. The DevOps engineer also confirms that the environment variable type is Parameter.

Why did the pipeline fail?

Explanation

AWS CodeBuild resolves Parameter Store environment variables by using its own service role. That role must allow the ssm:GetParameters action for the referenced parameter path; otherwise the build cannot retrieve the values and fails.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!