Skip to content

Commit

Permalink
feature/PI-43-stored-properties adjusted account wide naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohoolio committed Oct 23, 2023
1 parent 9aa5d1a commit 21a7595
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ on:
required: true
default: dev
type: string
parameter_deploy:
parameter-deploy:
required: false
type: string
default: ""
account_wide:
account-wide:
required: false
type: string
default: ""
Expand All @@ -23,8 +23,8 @@ env:
RUNNING_IN_CI: 1
WORKSPACE: ${{ inputs.workspace }}
CACHE_NAME: ${{ inputs.workspace }}-cache
PARAMETER_DEPLOY: ${{ inputs.parameter_deploy }}
ACCOUNT_WIDE: ${{ inputs.account_wide }}
PARAMETER_DEPLOY: ${{ inputs.parameter-deploy }}
ACCOUNT_WIDE: ${{ inputs.account-wide }}
# SLACK_WEBHOOK_URL: ${{ secrets.DEPLOY_ENV_SLACK_HOOK_URL }}

jobs:
Expand Down Expand Up @@ -74,8 +74,8 @@ jobs:
with:
command: init
workspace: ${{ env.WORKSPACE }}
account_wide: ${{ env.ACCOUNT_WIDE }}
parameter_deploy: ${{ env.PARAMETER_DEPLOY }}
account-wide: ${{ env.ACCOUNT_WIDE }}
parameter-deploy: ${{ env.PARAMETER_DEPLOY }}

terraform--plan:
needs: [get-branch-from-workflow-file, terraform--init]
Expand All @@ -88,8 +88,8 @@ jobs:
with:
command: plan
workspace: ${{ env.WORKSPACE }}
account_wide: ${{ env.ACCOUNT_WIDE }}
parameter_deploy: ${{ env.PARAMETER_DEPLOY }}
account-wide: ${{ env.ACCOUNT_WIDE }}
parameter-deploy: ${{ env.PARAMETER_DEPLOY }}

terraform--apply:
needs: [get-branch-from-workflow-file, terraform--plan]
Expand All @@ -102,8 +102,8 @@ jobs:
with:
command: apply
workspace: ${{ env.WORKSPACE }}
account_wide: ${{ env.ACCOUNT_WIDE }}
parameter_deploy: ${{ env.PARAMETER_DEPLOY }}
account-wide: ${{ env.ACCOUNT_WIDE }}
parameter-deploy: ${{ env.PARAMETER_DEPLOY }}

test--smoke:
needs: [get-branch-from-workflow-file, terraform--apply]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-parameters-nonprod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
uses: ./.github/workflows/_deploy.yml
with:
workspace: ${{ inputs.workspace }}
parameter_deploy: "parameter_deploy"
account_wide: "account_wide"
parameter-deploy: "parameter_deploy"
account-wide: "account_wide"
secrets: inherit # pragma: allowlist secret
4 changes: 2 additions & 2 deletions .github/workflows/deploy-parameters-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ jobs:
uses: ./.github/workflows/_deploy.yml
with:
workspace: prod
parameter_deploy: "parameter_deploy"
account_wide: "account_wide"
parameter-deploy: "parameter_deploy"
account-wide: "account_wide"
secrets: inherit # pragma: allowlist secret

0 comments on commit 21a7595

Please sign in to comment.