From 9ff5e9235c3ccf42edc0578750b9ea45006cc359 Mon Sep 17 00:00:00 2001 From: Charles Moore <122481442+moorec-aws@users.noreply.github.com> Date: Mon, 8 May 2023 10:53:05 -0500 Subject: [PATCH] chore: Change region var name --- .github/workflows/release.yml | 2 +- .github/workflows/reuse_python_build.yml | 2 +- hatch.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a7042e79b..9b1815a9a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,7 +56,7 @@ jobs: id-token: write contents: read env: - REGION: "us-west-2" + CODEARTIFACT_REGION: "us-west-2" CODEARTIFACT_DOMAIN: ${{ secrets.CODEARTIFACT_DOMAIN }} CODEARTIFACT_ACCOUNT_ID: ${{ secrets.CODEARTIFACT_ACCOUNT_ID }} CODEARTIFACT_REPOSITORY: ${{ secrets.CODEARTIFACT_REPOSITORY }} diff --git a/.github/workflows/reuse_python_build.yml b/.github/workflows/reuse_python_build.yml index 092a62adf..9d8f4eee8 100644 --- a/.github/workflows/reuse_python_build.yml +++ b/.github/workflows/reuse_python_build.yml @@ -18,7 +18,7 @@ jobs: python-version: ['3.9', '3.10', '3.11'] env: PYTHON: ${{ matrix.python-version }} - REGION: "us-west-2" + CODEARTIFACT_REGION: "us-west-2" CODEARTIFACT_DOMAIN: ${{ secrets.CODEARTIFACT_DOMAIN }} CODEARTIFACT_ACCOUNT_ID: ${{ secrets.CODEARTIFACT_ACCOUNT_ID }} CODEARTIFACT_REPOSITORY: ${{ secrets.CODEARTIFACT_REPOSITORY }} diff --git a/hatch.toml b/hatch.toml index 06bc305d0..7f43849e9 100644 --- a/hatch.toml +++ b/hatch.toml @@ -42,7 +42,7 @@ lint = [ python = ["3.7", "3.9", "3.10", "3.11"] [envs.default.env-vars] -PIP_INDEX_URL="https://aws:{env:CODEARTIFACT_AUTH_TOKEN}@{env:CODEARTIFACT_DOMAIN}-{env:CODEARTIFACT_ACCOUNT_ID}.d.codeartifact.{env:REGION}.amazonaws.com/pypi/{env:CODEARTIFACT_REPOSITORY}/simple/" +PIP_INDEX_URL="https://aws:{env:CODEARTIFACT_AUTH_TOKEN}@{env:CODEARTIFACT_DOMAIN}-{env:CODEARTIFACT_ACCOUNT_ID}.d.codeartifact.{env:CODEARTIFACT_REGION}.amazonaws.com/pypi/{env:CODEARTIFACT_REPOSITORY}/simple/" [envs.codebuild.scripts] build = "hatch build"