runway.cfngin.hooks.ecs module¶
AWS ECS hook.
A lot of this code exists to deal w/ the broken ECS connect_to_region function, and will be removed once this pull request is accepted: https://github.com/boto/boto/pull/3143
-
runway.cfngin.hooks.ecs.
create_clusters
(provider, context, **kwargs)[source]¶ Create ECS clusters.
- Parameters
provider (
runway.cfngin.providers.base.BaseProvider
) – Provider instance. (passed in by CFNgin)context (
runway.cfngin.context.Context
) – Context instance. (passed in by CFNgin)
- Keyword Arguments
clusters (List[str]) – Names of clusters to create.
- Returns
Whether or not the hook succeeded.
- Return type