Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

CI/CD: minor

Rich Turner2f4c88dcb582
diff --git a/.ci_cd/aws/ssh_whitelist.sh b/.ci_cd/aws/ssh_whitelist.sh
index 84bd21865..479f10f33 100644
--- a/.ci_cd/aws/ssh_whitelist.sh
+++ b/.ci_cd/aws/ssh_whitelist.sh
@@ -7,7 +7,7 @@
# 3 - AWS_ENABLED (optional default false)
CIDR=$1
-AWS_PROFILE=$2
+PROFILE=$2
if [[ $BASH_SOURCE = */* ]]; then
awsDir=${BASH_SOURCE%/*}/
@@ -21,8 +21,8 @@ if [ "$AWS_ENABLED" != 'true' ]; then
exit 1
fi
-if [ -n "$AWS_PROFILE" ]; then
- PROFILE="--profile $AWS_PROFILE"
+if [ -n "$PROFILE" ]; then
+ PROFILE="--profile $PROFILE"
fi
if [ -n "$CIDR" ]; then
diff --git a/.github/workflows/provision-account.yml b/.github/workflows/provision-account.yml
index d7b87bf5b..cf7f644bc 100644
--- a/.github/workflows/provision-account.yml
+++ b/.github/workflows/provision-account.yml
@@ -55,7 +55,7 @@ jobs:
if: ${{ steps.checkUserMember.outputs.isTeamMember == 'true' }}
run: |
chmod +x .ci_cd/aws/*
- .ci_cd/aws/provision_account.sh "$OU" "$ACCOUNT_NAME" "$PARENT_DNS_ZONE" "HOSTED_DNS" "PROVISION_EFS"
+ .ci_cd/aws/provision_account.sh "$OU" "$ACCOUNT_NAME" "$PARENT_DNS_ZONE" "$HOSTED_DNS" "$PROVISION_EFS"
env:
OU: ${{ github.event.inputs.OU }}
ACCOUNT_NAME: ${{ github.event.inputs.ACCOUNT_NAME }}