Skip to content

Commit

Permalink
fix: saas backed secrets command unknown --entrypoint flag (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasanaya committed Feb 6, 2024
1 parent 54b7a25 commit 0b62d6f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions packages/internal/cli/src/lib/secretsEditor.ts
Expand Up @@ -16,9 +16,7 @@ export const runSecretsEditor = async ({
'compose',
'run',
'--rm',
'--entrypoint /bin/bash',
'ssm-editor',
`/scripts/run.sh`,
serviceName,
],
{
Expand Down
2 changes: 1 addition & 1 deletion packages/internal/ssm-editor/scripts/run.sh
Expand Up @@ -2,7 +2,7 @@

set -e

FULL_SERVICE_NAME="env-${PROJECT_NAME}-${ENV_STAGE}-$2";
FULL_SERVICE_NAME="env-${PROJECT_NAME}-${ENV_STAGE}-$1";
CHAMBER_KMS_KEY_ALIAS="${PROJECT_NAME}-${ENV_STAGE}-main"

CHAMBER_KMS_KEY_ALIAS="${CHAMBER_KMS_KEY_ALIAS}" /bin/chamber export "${FULL_SERVICE_NAME}" \
Expand Down

0 comments on commit 0b62d6f

Please sign in to comment.