Skip to content

Commit

Permalink
explicit secrets for mirrors
Browse files Browse the repository at this point in the history
  • Loading branch information
malachi-constant committed Aug 13, 2024
1 parent 8d18917 commit 3248bea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions seedfarmer/commands/_module_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ def _env_vars(
if permissions_boundary_arn:
env_vars[_param("PERMISSIONS_BOUNDARY_ARN", use_project_prefix)] = permissions_boundary_arn
if pypi_mirror_secret is not None:
env_vars["AWS_CODESEEDER_MIRROR_SECRET"] = pypi_mirror_secret
env_vars["AWS_CODESEEDER_PYPI_MIRROR_SECRET"] = pypi_mirror_secret
if npm_mirror_secret is not None:
env_vars["AWS_CODESEEDER_MIRROR_SECRET"] = npm_mirror_secret
env_vars["AWS_CODESEEDER_NPM_MIRROR_SECRET"] = npm_mirror_secret
# Add the partition to env for ease of fetching
env_vars["AWS_PARTITION"] = deployment_partition
env_vars["AWS_CODESEEDER_VERSION"] = aws_codeseeder.__version__
Expand Down

0 comments on commit 3248bea

Please sign in to comment.