diff --git a/README.md b/README.md index f268617..b9403d6 100644 --- a/README.md +++ b/README.md @@ -70,9 +70,9 @@ sync by `node tools/ravion-modules/dist/src/cli.js readme` (enforced in CI, and | `rvn-cloudfront` | CloudFront CDN | v1.3.0 | `cdn/cloudfront/` | | `rvn-ec2-service` | EC2 Service | v1.4.2 | `compute/ec2_service/` | | `rvn-ecs-cluster` | ECS Cluster | v1.0.1 | `compute/ecs_cluster/` | -| `rvn-ecs-nlb` | ECS Network Service | v1.1.1 | `compute/ecs_service/` | -| `rvn-ecs-web` | ECS Web Service | v1.1.0 | `compute/ecs_service/` | -| `rvn-ecs-worker` | ECS Worker | v1.1.0 | `compute/ecs_service/` | +| `rvn-ecs-nlb` | ECS Network Service | v1.2.0 | `compute/ecs_service/` | +| `rvn-ecs-web` | ECS Web Service | v1.2.0 | `compute/ecs_service/` | +| `rvn-ecs-worker` | ECS Worker | v1.2.0 | `compute/ecs_service/` | | `rvn-efs` | EFS File System | v1.0.1 | `storage/efs/` | | `rvn-elasticache` | ElastiCache | v1.0.1 | `cache/elasticache/` | | `rvn-lambda` | Lambda Function | v1.1.0 | `compute/lambda/` | diff --git a/compute/ecs_service/rvn-ecs-nlb-definition.yml b/compute/ecs_service/rvn-ecs-nlb-definition.yml index ea05941..41aea36 100644 --- a/compute/ecs_service/rvn-ecs-nlb-definition.yml +++ b/compute/ecs_service/rvn-ecs-nlb-definition.yml @@ -3,8 +3,8 @@ definition: name: ECS Network Service description: Network Load Balanced ECS service for exposing one to five TCP, UDP, or TLS ports through an ECS cluster Network Load Balancer. release: - version: 1.1.1 - description: Clarify that one ECS Network Service can expose up to five TCP, UDP, or TLS ports. + version: 1.2.0 + description: Automatically enable SOCI lazy loading for Fargate builds to reduce task startup time while keeping it disabled for EC2 capacity. module: inputs: - id: section_cluster @@ -333,7 +333,9 @@ module: destroy: pipeline_id: << defaults.destroy_pipeline_id >> build: - $include: ../../partials/build/ecs-service-image-build.yml + $merge: + - ../../partials/build/ecs-service-image-build.yml + soci_enabled: << module.input.capacity_provider == "fargate" || module.input.capacity_provider == "fargate_spot" >> deploy: $merge: - ../../partials/deploy/ecs-service-deploy-common.yml diff --git a/compute/ecs_service/rvn-ecs-web-definition.yml b/compute/ecs_service/rvn-ecs-web-definition.yml index 8b36523..60902b4 100644 --- a/compute/ecs_service/rvn-ecs-web-definition.yml +++ b/compute/ecs_service/rvn-ecs-web-definition.yml @@ -3,8 +3,8 @@ definition: name: ECS Web Service description: Web server ECS service for running an HTTP application behind an ECS cluster load balancer. release: - version: 1.1.0 - description: Add Builder IAM policies inputs that attach extra IAM managed policies to the EC2 build runner role or replace the step default policies entirely for the duration of each build. + version: 1.2.0 + description: Automatically enable SOCI lazy loading for Fargate builds to reduce task startup time while keeping it disabled for EC2 capacity. module: inputs: - id: section_cluster @@ -366,7 +366,9 @@ module: destroy: pipeline_id: << defaults.destroy_pipeline_id >> build: - $include: ../../partials/build/ecs-service-image-build.yml + $merge: + - ../../partials/build/ecs-service-image-build.yml + soci_enabled: << module.input.capacity_provider == "fargate" || module.input.capacity_provider == "fargate_spot" >> deploy: $merge: - ../../partials/deploy/ecs-service-deploy-common.yml diff --git a/compute/ecs_service/rvn-ecs-worker-definition.yml b/compute/ecs_service/rvn-ecs-worker-definition.yml index dec286b..232eb57 100644 --- a/compute/ecs_service/rvn-ecs-worker-definition.yml +++ b/compute/ecs_service/rvn-ecs-worker-definition.yml @@ -3,8 +3,8 @@ definition: name: ECS Worker description: Background worker ECS service for running private container workloads without exposed ports. release: - version: 1.1.0 - description: Add Builder IAM policies inputs that attach extra IAM managed policies to the EC2 build runner role or replace the step default policies entirely for the duration of each build. + version: 1.2.0 + description: Automatically enable SOCI lazy loading for Fargate builds to reduce task startup time while keeping it disabled for EC2 capacity. module: inputs: - id: section_cluster @@ -74,7 +74,9 @@ module: destroy: pipeline_id: << defaults.destroy_pipeline_id >> build: - $include: ../../partials/build/ecs-service-image-build.yml + $merge: + - ../../partials/build/ecs-service-image-build.yml + soci_enabled: << module.input.capacity_provider == "fargate" || module.input.capacity_provider == "fargate_spot" >> deploy: $merge: - ../../partials/deploy/ecs-service-deploy-common.yml