github localstack/localstack v4.13.0

5 hours ago

Summary

LocalStack for AWS 4.13 includes important improvements to support and parity across a number of key services includes Lambda, ECS, Route 53 and API Gateway, as well as a ton of smaller but important enhancements and fixes that continue to improve AWS and IaC framework parity.

AWS Features

  • LocalStack for AWS now supports the .NET 10 Lambda runtime. .NET 10 includes runtime and compiler optimizations that ca shrink the executable size and improve startup performance. as well as new file-based apps support.
  • ECS emulation improvements including:
    • Added support for the repositoryCredentials parameter in an ECS task definition allowing ECS to pull images from registries that require authentication
    • Added an initial implementation to support the cpu and memory values in the container configuration of a task definition.
    • ECS deployment completion is now asynchronous by moving post-start work into a background routine, eliminating issues that might occur if the image pull took long.
  • Important parity enhancements that impact both Amazon Route 53 and API Gateway:
    • Route 53 now supports weighted routing to specify how much traffic is routed to each resource via a relative weight.
    • You can now use the same custom domain name across different regions as LocalStack for AWS will now correctly treat these as regional resources.
    • If you have a domain registered in both Route 53 and API Gateway, LocalStack for AWS now correctly applies Route53’s routing logic (like weighted routing) before passing the request to API Gateway.

Enhancements

  • Added support for CreateServerlessCache within ElastiCache.
  • Added two new configuration options (EC2_LIBVIRT_NETWORK and EC2_LIBVIRT_POOL) to allow the name of the Libvirt network and/or Libvirt storage pool to be customized. An additional configuration variable (EC2_REFERENCE_DOMAIN) that can already defined Libvirt domain whose configuration LocalStack will copy into all new VMs it creates.
  • Previously, when creating an Amazon Managed Streaming for Apache Kafka (MSK) cluster and attaching a custom configuration, the configuration was successfully attached but its settings are not applied at runtime. As of LocalStack for AWS 4.13, the attached MSK configuration will be applied to the cluster, and its parameters (e.g., num.partitions, min.insync.replicas, etc.) will affect the runtime behavior as expected.
  • Fixed an issue where creating an AppSync API key with Terraform would fail since the generated expires and deletes would be float.
  • Added support for the instance target type in Network Load Balancers.
  • Fixed an issue where a CloudFormation (CFN) resource operation not supported by LocalStack would produce an incorrect InternalFailure error that did not clearly indicate the specific CFN resource support that is missing.
  • Added support for the AWS::RDS::DBProxyEndpoint in CloudFormation. The resource type is already supported by LocalStack for AWS's RDS service.
  • Added new configuration variables to enable users to ignore specific unsupported resource types in CloudFormation. CFN_IGNORE_UNSUPPORTED_TYPE_CREATE and CFN_IGNORE_UNSUPPORTED_TYPE_UPDATE take a comma-separated list of resource type names that CloudFormation will ignore on stack creation and update respectively.
  • Fixed missing metadata in API Gateway VPC Links to ensure LocalStack for AWS now correctly populates fields like targetArns, name, and description for VPC Links.

What's Changed

Exciting New Features 🎉

  • SNS: v2 permission operations by @baermat in #13516
  • Modify CloudFormation resource provider scaffolding to use "live" schemas by @peter-smith-phd in #13513
  • Sns: v2 data protection operations by @baermat in #13525
  • Add possibility to ignore specific unsupported resource types in CloudFormation by @silv-io in #13496
  • SNS: v2 add http endpoint for opting out phone numbers by @baermat in #13540
  • Fixing write transaction with ARN as table name by @drauedo in #13590
  • Add Dotnet 10 Lambda runtime by @joe4dev in #13607
  • IaC: add custom error messages based on service availability status by @k-a-il in #13597
  • IaC: fix problematic CFN plugin manager import by @k-a-il in #13621
  • AWS catalog: Provide custom error message when plugin is not available in user license by @k-a-il in #13651

Other Changes

New Contributors

Full Changelog: v4.12.0...v4.13.0

Don't miss a new localstack release

NewReleases is sending notifications on new releases.