diff --git a/.github/workflows/bootstrap-sprinkler.yml b/.github/workflows/bootstrap-sprinkler.yml index 5a616e185..63a378c21 100644 --- a/.github/workflows/bootstrap-sprinkler.yml +++ b/.github/workflows/bootstrap-sprinkler.yml @@ -55,7 +55,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Set Account Number run: | - ACCOUNT_NUMBER=$(jq -r -e '.modernisation_platform_account_id' <<< $ENVIRONMENT_MANAGEMENT) + ACCOUNT_NUMBER=$(jq -r -e '.account_ids["sprinkler-development"]' <<< $ENVIRONMENT_MANAGEMENT) echo "::add-mask::$ACCOUNT_NUMBER" echo ACCOUNT_NUMBER=$ACCOUNT_NUMBER >> $GITHUB_ENV @@ -79,7 +79,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Set Account Number run: | - ACCOUNT_NUMBER=$(jq -r -e '.modernisation_platform_account_id' <<< $ENVIRONMENT_MANAGEMENT) + ACCOUNT_NUMBER=$(jq -r -e '.account_ids["sprinkler-development"]' <<< $ENVIRONMENT_MANAGEMENT) echo "::add-mask::$ACCOUNT_NUMBER" echo ACCOUNT_NUMBER=$ACCOUNT_NUMBER >> $GITHUB_ENV @@ -103,7 +103,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Set Account Number run: | - ACCOUNT_NUMBER=$(jq -r -e '.modernisation_platform_account_id' <<< $ENVIRONMENT_MANAGEMENT) + ACCOUNT_NUMBER=$(jq -r -e '.account_ids["sprinkler-development"]' <<< $ENVIRONMENT_MANAGEMENT) echo "::add-mask::$ACCOUNT_NUMBER" echo ACCOUNT_NUMBER=$ACCOUNT_NUMBER >> $GITHUB_ENV @@ -151,7 +151,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Set Account Number run: | - ACCOUNT_NUMBER=$(jq -r -e '.modernisation_platform_account_id' <<< $ENVIRONMENT_MANAGEMENT) + ACCOUNT_NUMBER=$(jq -r -e '.account_ids["sprinkler-development"]' <<< $ENVIRONMENT_MANAGEMENT) echo "::add-mask::$ACCOUNT_NUMBER" echo ACCOUNT_NUMBER=$ACCOUNT_NUMBER >> $GITHUB_ENV - name: Configure AWS Credentials @@ -175,7 +175,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Set Account Number run: | - ACCOUNT_NUMBER=$(jq -r -e '.modernisation_platform_account_id' <<< $ENVIRONMENT_MANAGEMENT) + ACCOUNT_NUMBER=$(jq -r -e '.account_ids["sprinkler-development"]' <<< $ENVIRONMENT_MANAGEMENT) echo "::add-mask::$ACCOUNT_NUMBER" echo ACCOUNT_NUMBER=$ACCOUNT_NUMBER >> $GITHUB_ENV - name: Configure AWS Credentials @@ -199,7 +199,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Set Account Number run: | - ACCOUNT_NUMBER=$(jq -r -e '.modernisation_platform_account_id' <<< $ENVIRONMENT_MANAGEMENT) + ACCOUNT_NUMBER=$(jq -r -e '.account_ids["sprinkler-development"]' <<< $ENVIRONMENT_MANAGEMENT) echo "::add-mask::$ACCOUNT_NUMBER" echo ACCOUNT_NUMBER=$ACCOUNT_NUMBER >> $GITHUB_ENV @@ -214,4 +214,4 @@ jobs: terraform_version: "~1" terraform_wrapper: false - run: bash scripts/terraform-init.sh terraform/environments/bootstrap/member-bootstrap - - run: bash scripts/terraform-apply.sh terraform/environments/bootstrap/member-bootstrap + - run: bash scripts/terraform-apply.sh terraform/environments/bootstrap/member-bootstrap \ No newline at end of file