File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
213213infra-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
218218infra-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)
You can’t perform that action at this time.
0 commit comments