aws-samples / aws-samples/aws-codedeploy-samples

aws command not found

Open
#82 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
639
Forks
778
PR merge metrics
No merged PRs in 30d

Description

Hi everyone,

I'm having a problem with my scripts, one of the uses the aws command to retrieve variables stored on SSM, something like this

`aws ssm get-parameters-by-path \
--path "/keys" \
--with-decryption \
--query "Parameters[*].[Name,Value]" \
--output text`

I have aws cli installed on my EC2 Ubuntu instance, and the script works just fine if run from the terminal, but not from codedeploy scripts.

What would be the correct approach to accomplish this?

Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.