runway.core package¶
Core Runway API.
- class runway.core.Runway[source]¶
Bases:
objectRunway’s core functionality.
- __init__(config: runway.config.RunwayConfig, context: runway.context.RunwayContext) None[source]¶
Instantiate class.
- Parameters:
config – Runway config.
context – Runway context.
- deploy(deployments: list[RunwayDeploymentDefinition] | None = None) None[source]¶
Deploy action.
- Parameters:
deployments – List of deployments to run. If not provided, all deployments in the config will be run.
- destroy(deployments: list[RunwayDeploymentDefinition] | None = None) None[source]¶
Destroy action.
- Parameters:
deployments – List of deployments to run. If not provided, all deployments in the config will be run in reverse.
- get_env_vars(deployments: list[RunwayDeploymentDefinition] | None = None) dict[str, Any][source]¶
Get env_vars defined in the config.
- Parameters:
deployments – List of deployments to get env_vars from.
- Returns:
Resolved env_vars from the deployments.
- init(deployments: list[RunwayDeploymentDefinition] | None = None) None[source]¶
Init action.
- Parameters:
deployments – List of deployments to run. If not provided, all deployments in the config will be run.
- plan(deployments: list[RunwayDeploymentDefinition] | None = None) None[source]¶
Plan action.
- Parameters:
deployments – List of deployments to run. If not provided, all deployments in the config will be run.
- static reverse_deployments(deployments: list[RunwayDeploymentDefinition]) list[RunwayDeploymentDefinition][source]¶
Reverse deployments and the modules within them.
- Parameters:
deployments – List of deployments to reverse.
- Returns:
Deployments and modules in reverse order.
Subpackages¶
- runway.core.components package
DeployEnvironmentDeployEnvironment.__init__()DeployEnvironment.aws_credentialsDeployEnvironment.aws_profileDeployEnvironment.aws_regionDeployEnvironment.branch_nameDeployEnvironment.ciDeployEnvironment.copy()DeployEnvironment.debugDeployEnvironment.ignore_git_branchDeployEnvironment.log_name()DeployEnvironment.max_concurrent_cfngin_stacksDeployEnvironment.max_concurrent_modulesDeployEnvironment.max_concurrent_regionsDeployEnvironment.nameDeployEnvironment.verbose
DeploymentDeployment.__getitem__()Deployment.__init__()Deployment.assume_role_configDeployment.deploy()Deployment.destroy()Deployment.env_vars_configDeployment.init()Deployment.plan()Deployment.regionsDeployment.run()Deployment.run_list()Deployment.use_asyncDeployment.validate_account_credentials()
ModuleModule.__getitem__()Module.__init__()Module.child_modulesModule.deploy()Module.destroy()Module.environment_matches_definedModule.environmentsModule.fqnModule.init()Module.opts_from_fileModule.pathModule.payloadModule.plan()Module.run()Module.run_list()Module.should_skipModule.typeModule.use_async
ModulePathRunwayModuleType
- runway.core.providers package