From 3248bea60da343933e5ac4dd1085dc14d873b852 Mon Sep 17 00:00:00 2001 From: malachi-constant Date: Tue, 13 Aug 2024 09:20:15 -0700 Subject: [PATCH] explicit secrets for mirrors --- seedfarmer/commands/_module_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seedfarmer/commands/_module_commands.py b/seedfarmer/commands/_module_commands.py index 6bae6cf..3fe9aaa 100644 --- a/seedfarmer/commands/_module_commands.py +++ b/seedfarmer/commands/_module_commands.py @@ -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__