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

aws command not found

未关闭
#82 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Shell
星标
639
派生
778
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。