Skip to content

Commit

Permalink
Update putsecret-ssm-parameters.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
wullub committed Oct 18, 2023
1 parent 4da48a2 commit 34c9a4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/environments/nomis/scripts/putsecret-ssm-parameters.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ elif [[ $MODE == "safe" ]]; then
echo "No change"
else
echo "Change from $oldvalue to $newvalue"
echo aws secretsmanager put-secret-value --secret-id $param --secret-string "$value" --profile $PROFILE >&2
echo aws secretsmanager put-secret-value --secret-id $param --secret-string "$newvalue" --profile $PROFILE >&2
echo Press RETURN to put-parameters, CTRL-C to cancel
read
aws secretsmanager put-secret-value --secret-id $param --secret-string "$value" --profile $PROFILE
aws secretsmanager put-secret-value --secret-id $param --secret-string "$newvalue" --profile $PROFILE
fi
fi
done
Expand Down

0 comments on commit 34c9a4c

Please sign in to comment.