Skip to content

Commit 76cc4c3

Browse files
committed
Additional fixes
1 parent ddc062d commit 76cc4c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,9 @@ infra-update-app-database: ## Create or update $APP_NAME's database module for $
211211
terraform -chdir="infra/$(APP_NAME)/database" apply -var="environment_name=$(ENVIRONMENT)"
212212

213213
infra-module-database-role-manager-archive: ## Build/rebuild role manager code package for Lambda deploys
214-
rm infra/modules/database/resources/role_manager.zip
214+
rm -f infra/modules/database/resources/role_manager.zip
215215
pip3 install -r infra/modules/database/resources/role_manager/requirements.txt -t infra/modules/database/resources/role_manager/vendor --upgrade
216-
zip -r infra/modules/database/resources/role_manager.zip infra/modules/database/resources/role_manager
216+
cd infra/modules/database/resources/role_manager/ && zip -r ../role_manager.zip *
217217

218218
infra-update-app-database-roles: ## Create or update database roles and schemas for $APP_NAME's database in $ENVIRONMENT
219219
@:$(call check_defined, APP_NAME, the name of subdirectory of /infra that holds the application's infrastructure code)

0 commit comments

Comments
 (0)