diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index 8e447c0..5e05497 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -60,9 +60,9 @@ jobs: # get the image digest from the build job with optional override from vars context TF_VAR_image: ${{ vars.IMAGE || steps.set_image_digest.outputs.image_digest }} # set the parameter name variables - TF_VAR_alb_parameter_name: $ALB_PARAMETER_NAME + TF_VAR_alb_parameter_name: ${{ env.ALB_PARAMETER_NAME }} TF_VAR_ecr_parameter_name: ${{ vars.ECR_REPOSITORY }} - TF_VAR_rds_parameter_name: $RDS_PARAMETER_NAME + TF_VAR_rds_parameter_name: ${{ env.RDS_PARAMETER_NAME }} production_deploy_apply: runs-on: ubuntu-latest @@ -115,6 +115,6 @@ jobs: # get the image digest from the build job with optional override from vars context TF_VAR_image: ${{ vars.IMAGE || steps.set_image_digest.outputs.image_digest }} # set the parameter name variables - TF_VAR_alb_parameter_name: $ALB_PARAMETER_NAME + TF_VAR_alb_parameter_name: ${{ env.ALB_PARAMETER_NAME }} TF_VAR_ecr_parameter_name: ${{ vars.ECR_REPOSITORY }} - TF_VAR_rds_parameter_name: $RDS_PARAMETER_NAME + TF_VAR_rds_parameter_name: ${{ env.RDS_PARAMETER_NAME }} diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index 1898723..8a0639f 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -105,9 +105,9 @@ jobs: # get the image digest from the build job with optional override from vars context TF_VAR_image: ${{ vars.IMAGE || needs.build_test_push.outputs.image_digest }} # set the parameter name variables - TF_VAR_alb_parameter_name: $ALB_PARAMETER_NAME + TF_VAR_alb_parameter_name: ${{ env.ALB_PARAMETER_NAME }} TF_VAR_ecr_parameter_name: ${{ vars.ECR_REPOSITORY }} - TF_VAR_rds_parameter_name: $RDS_PARAMETER_NAME + TF_VAR_rds_parameter_name: ${{ env.RDS_PARAMETER_NAME }} staging_deploy_apply: runs-on: ubuntu-latest @@ -148,9 +148,9 @@ jobs: # get the image digest from the build job with optional override from vars context TF_VAR_image: ${{ vars.IMAGE || needs.build_test_push.outputs.image_digest }} # set the parameter name variables - TF_VAR_alb_parameter_name: $ALB_PARAMETER_NAME + TF_VAR_alb_parameter_name: ${{ env.ALB_PARAMETER_NAME }} TF_VAR_ecr_parameter_name: ${{ vars.ECR_REPOSITORY }} - TF_VAR_rds_parameter_name: $RDS_PARAMETER_NAME + TF_VAR_rds_parameter_name: ${{ env.RDS_PARAMETER_NAME }} create_draft_release: name: Create Release