-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check in role manager archive (#695)
- Remove role manager dependencies from source control - Add role manager archive to source control - Add make command for building role manager archive - Add documentation on how to update role manager ## Context The “check in role manager dependencies” change in [PR 493](#493) does not function as desired. The role manager lambda still shows a diff on the source_code_hash on a clean checkout of the repo. This change removes the archive_file data source altogether, and checks in the zip archive directly into the codebase. Benefits include: - We no longer need to check in the python dependencies into source control, which is a ton of files including binary files - There’s nothing nondeterministic for project teams, the archive file is exactly the zip package that gets deployed to lambda The downside is that updating the role manager is more manual. So this change also adds a `make infra-module-database-role-manager-archive` to rebuild the role manager package and adds instructions for doing that.
- Loading branch information
Showing
112 changed files
with
31 additions
and
37,506 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,3 @@ override.tf.json | |
# example: *tfplan* | ||
*.plan | ||
*.tfstate | ||
|
||
# Ignore archives used for deploying lambdas | ||
*.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
__pycache__ | ||
vendor/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
1 change: 0 additions & 1 deletion
1
infra/modules/database/role_manager/vendor/asn1crypto-1.5.1.dist-info/INSTALLER
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
infra/modules/database/role_manager/vendor/asn1crypto-1.5.1.dist-info/LICENSE
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.