Skip to content

Latest commit

 

History

History
236 lines (198 loc) · 13.3 KB

CHANGELOG.md

File metadata and controls

236 lines (198 loc) · 13.3 KB

0.6.0 (Mar 15, 2023)

FEATURES

  • modules/gateway-task: Use consul-ecs envoy-entrypoint to start the Envoy process for gateway tasks. [GH-162]
  • modules/mesh-task and modules/gateway-task: Add support for Consul 1.15.x. [GH-159]
  • modules/mesh-task: Add envoy_public_listener_port variable to set Envoy's public listener port.
  • modules/acl-controller: Add additional_execution_role_policies variable to support attaching custom policies to the task's execution role.
  • modules/mesh-task: Improve the logic behind the defaulted_check_containers local creation in order to prevent enabling health checks when the task definition passed in var.container_definitions has the healthCheck set to null. [GH-153]

IMPROVEMENTS

  • module/acl-controller: Restrict container access (read-only) to root file system. [GH-158]

0.5.1 (July 29, 2022)

FEATURES

  • modules/mesh-task and modules/gateway-task: Add audit_logging flag to support audit logging for Consul Enterprise. [GH-128]

BUG FIXES

  • modules/dev-server: Fix a bug where the dev-server selects the wrong gossip encryption key secret ARN when creating the execution policy. The gossip encryption key selection would work if the secret ARN was passed in, but it would fail when trying to use the generated gossip key. The cause of the failure was an incorrect resource ARN in the generated policy. [GH-133]

0.5.0 (June 21, 2022)

BREAKING CHANGES

  • modules/mesh-task: Add create_task_role and create_execution_role flags to mesh-task. When passing existing roles using the task_role and execution_role input variables, you must also set create_task_role=false and create_execution_role=false, respectively, to ensure no roles are created and that the passed roles are used by the task definition. The mesh-task module will no longer add policies or attempt to configure roles which are passed in. [GH-113]
  • modules/mesh-task, modules/acl-controller: Support the Consul AWS IAM auth method. This requires Consul 1.12.0+. Add consul_http_addr, consul_https_ca_cert_arn, client_token_auth_method_name, service_token_auth_method_name, and iam_role_path variables to mesh-task. Add iam_role_path variable to acl-controller. Add an iam:GetRole permission to the task role. Set the tags consul.hashicorp.com.service-name and consul.hashicorp.com.namespace on the task role. health-sync runs when ACLs are enabled, in order to do a consul logout when the task stops. Remove consul_client_token_secret_arn and acl_secret_name_prefix variables from mesh-task. No longer create Secrets Manager secrets for client or service tokens. [GH-100] [GH-103] [GH-107]
  • modules/mesh-task: A lower case service name is required. When the consul_service_name field is specified, it must be a valid name for a Consul service identity. Otherwise, if consul_service_name is not specified, the lower-cased task family is used for the Consul service name. [GH-109]

FEATURES

  • modules/gateway-task: Add a health-sync container to gateway-task when ACLs are enabled to perform a consul logout when the task stops. [GH-120]
  • modules/gateway-task: Add an optional configuration to have the gateway-task module automatically create and configure a Network Load Balancer for public ingress. Update the gateway-task module to create the ECS service definition. [GH-119]
  • modules/gateway-task, modules/mesh-task, modules/dev-server: Update gateway-task, mesh-task and dev-server to enable ACL token replication in Consul agents for WAN federation. Update dev-server to take a bootstrap token as an input. [GH-116]
  • modules/gateway-task, modules/dev-server: Add new gateway-task module to create mesh gateway ECS tasks that support Consul WAN federation via mesh gateways. Update the dev-server module to accept TLS and gossip encryption secrets so they can be passed in as variables. Modified the dev-server agent command to support WAN federation and TLS. Updated the tls-init container of the dev-server to create certs with SANs that work with CloudMap. [GH-110]
  • modules/mesh-task: Update default Consul image to 1.12.0 and default Envoy image to 1.21.2. [GH-114]
  • modules/dev-server: Immediately delete all Secrets Manager secrets rather than leaving a 30 day recovery window. [GH-100]
  • modules/dev-server: Add consul_license input variable to support passing a Consul enterprise license. [GH-96]

BUG FIXES

  • modules/mesh-task: Remove deprecated key_algorithm field. [GH-104]

0.4.2 (Jun 29, 2022)

BREAKING CHANGES

  • modules/mesh-task: Add create_task_role and create_execution_role variables to mesh-task. Add the service_token_secret_arn output variable. When passing existing roles using the task_role and execution_role input variables, you must also set create_task_role=false and create_execution_role=false, respectively, to ensure no roles are created and that the passed roles are used by the task definition. The mesh-task module will no longer add policies or attempt to configure roles which are passed in.

0.4.1 (April 8, 2022)

BUG FIXES

  • modules/mesh-task: Fix a bug that results in invalid secret names when admin partitions are enabled. [GH-95]

0.4.0 (April 4, 2022)

FEATURES

  • Add support for Admin Partitions and Namespaces. [GH-87]

IMPROVEMENTS

  • module/acl-controller: Support security_groups input variable. [GH-89]
  • modules/mesh-task, modules/dev-server: Update default Consul image to 1.11.4 and default Envoy image to 1.20.2. [GH-93]

0.3.0 (Jan 27, 2022)

BREAKING CHANGES

  • modules/mesh-task: The upstreams and checks variables both require camel case field names to match the consul-ecs config file. [GH-80]

FEATURES

  • modules/acl-controller: Add assign_public_ip variable to the ACL controller to support running on public subnets. [GH-64]
  • modules/mesh-task: Add task_role_arn and execution_role_arn input variables which specify the task and execution role to include in the task definition. [GH-71]
  • modules/mesh-task: Add application_shutdown_delay_seconds variable to delay application shutdown. This allows time for incoming traffic to drain off for better graceful shutdown. [GH-67]
  • module/mesh-task: Additional options can be passed to the Consul service and sidecar proxy registration requests using the consul_ecs_config, upstreams, consul_namespace, and consul_partition variables. [GH-80] [GH-84]
  • module/mesh-task: Add consul_agent_configuration variable to pass additional configuration to the Consul agent. [GH-82]

IMPROVEMENTS

  • modules/mesh-task: Cleanup unnecessary port mappings. [GH-78]
  • modules/mesh-task, modules/dev-server: Update default Consul image to 1.11.2 and default Envoy image to 1.20.1. [GH-84]

0.2.0 (Nov 16, 2021)

BREAKING CHANGES

  • modules/mesh-task: The retry_join variable was updated to take a list of members rather than a single member. [GH-59]

FEATURES

  • modules/mesh-task: Run a health-sync container for essential containers when ECS health checks are defined and there aren't any Consul health checks [GH-45]
  • modules/mesh-task: Add consul_service_tags, consul_service_meta and consul_service_name input variables to the mesh-task. When consul_service_name is unset, the ECS task family name is used for the Consul service name. [GH-58]

IMPROVEMENTS

  • modules/mesh-task: Run the consul-ecs-mesh-init container with the consul-ecs user instead of root [GH-52]
  • modules/mesh-task: The Consul binary is now inserted into consul-ecs-mesh-init from the consul-client container. This means that each release of consul-ecs will work with multiple Consul versions. [GH-53]
  • modules/mesh-task: Keep Envoy running into Task shutdown until application containers have exited. This allows outgoing requests to the mesh so that applications can shut down gracefully. [GH-48] [GH-61]

BUG FIXES

  • modules/acl-controller and modules/mesh-task: Fix a bug that results in AWS Secrets Manager secrets failing to be created. [GH-63]

0.2.0-beta2 (Sep 30, 2021)

FEATURES

  • modules/mesh-task: Add checks variable to define Consul native checks. [GH-41]

0.2.0-beta1 (Sep 16, 2021)

BREAKING CHANGES

  • modules/mesh-task: execution_role_arn and task_role_arn variables have been removed. The mesh-task now creates those roles and instead accepts additional_task_role_policies and additional_execution_role_policies to modify the execution and task roles and allow more permissions. [GH-19]
  • modules/mesh-task: retry_join is now a required variable and consul_server_service_name has been removed because we're now using AWS CloudMap to discover the dev server instead of the discover-servers container. [GH-24]

FEATURES

  • modules/mesh-task: Enable gossip encryption for the Consul service mesh control plane. [GH-21]
  • modules/mesh-task: Enable TLS for the Consul service mesh control plane. [GH-19]
  • modules/acl-controller: Add new ACL controller module and enable ACLs for other components. [GH-31]

IMPROVEMENTS

  • modules/dev-server: Use AWS CloudMap to discover the dev server instead running the discover-servers container. [GH-24]
  • modules/mesh-task: Increase file descriptor limit for the sidecar-proxy container. [GH-34]
  • Support deployments on the ECS launch type. [GH-25]

BUG FIXES

  • Use ECS_CONTAINER_METADATA_URI_V4 url. [GH-23]

0.1.1 (May 26, 2021)

IMPROVEMENTS

  • Update Docker images to use docker.mirror.hashicorp.services mirror to avoid image pull errors.
  • modules/mesh-task: Update to latest consul-ecs image (0.1.2).
  • modules/mesh-task: Change containers running consul-ecs image to run as root so they can write to the shared /consul volume.
  • modules/dev-server: Add variable assign_public_ip that is needed to run in public subnets. Defaults to false.

BREAKING CHANGES

  • modules/dev-server: Add variable launch_type to select launch type Fargate or EC2. Defaults to EC2 whereas previously it defaulted to FARGATE.

0.1.0 (May 24, 2021)

Initial release.