ecs_composex.vpc package¶
Submodules¶
ecs_composex.vpc.aws_mappings module¶
Generic mappings for well-known AWS Settings not yet in SSM
ecs_composex.vpc.cli module¶
ecs_composex.vpc.vpc_aws module¶
ecs_composex.vpc.vpc_conditions module¶
ecs_composex.vpc.vpc_maths module¶
3 Layers subnets calculator for 3-tier VPC
-
ecs_composex.vpc.vpc_maths.
clpow2
(x)[source]¶ Function to return the closest power of two from given x
- Parameters
x – Number to look the closest power of two for
- Returns
int() closest power of two
-
ecs_composex.vpc.vpc_maths.
cut_per_az
(az_cidr, layers_cidr)[source]¶ Subdivide the range per AZ in the region
- Parameters
az_cidr – CIDR to split
layers_cidr – dict() getting updated with layers
- Returns
NIL