aws_codeseeder.commands._module_commands
Module Contents
Functions
|
Deploy local Python modules to the CodeArtifact Domain/Repository associated with a Seedkit |
Attributes
- aws_codeseeder.commands._module_commands.deploy_modules(seedkit_name: str, python_modules: List[str], session: Optional[Union[Callable[[], boto3.Session], boto3.Session]] = None) None
Deploy local Python modules to the CodeArtifact Domain/Repository associated with a Seedkit
This is a utility function that attempts to package and deploy local Python projects to CodeArtifact for use in CodeBuild executions.
- Parameters
seedkit_name (str) – Name of a previously deployed Seedkit
python_modules (List[str]) – List of local Python modules/projects to deploy. Each module is of the form “[package-name]:[directory]” where [package-name] is the name of the Python package and [directory] is the local location of the module/project
session (Optional[Union[Callable[[], Session], Session]], optional) – Optional Session or function returning a Session to use for all boto3 operations, by default None
- Raises
ValueError – If module names are of the wrong form
- aws_codeseeder.commands._module_commands.FILENAME = 'update_repo.sh'
- aws_codeseeder.commands._module_commands.RESOURCES_FILENAME