Ministack: Free, open-source local AWS emulator - 60+ services, Terraform compatible, real databases. Free forever. MIT licensed.
Python awsaws-emulatoraws-localaws-sdkdevtoolsdockerdynamodbec2emulatorlambdalocalstacklocalstack-alternativeministackmock-awsopen-sourcepythons3sqsterraform
fix autosacling for TF (#197)
Nahuel Nucera991f872ee50c
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex feb349cf..6b2405bd 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -14,6 +14,7 @@ Versioning follows [Semantic Versioning](https://semver.org/).- **CloudFormation `TemplateURL` support** — `CreateStack`, `UpdateStack`, `CreateChangeSet`, and `GetTemplateSummary` now fetch templates from S3 when `TemplateURL` is provided instead of `TemplateBody`. This unblocks `cdk deploy` which publishes templates to S3 and passes a URL.- **CloudFormation `AWS::CDK::Metadata` support** — CDK metadata resources are now handled as no-ops instead of failing with "Unsupported resource type".- **STS JSON protocol support** — STS now handles `AwsJson1_1` protocol requests (used by newer AWS SDK versions and CDK CLI). Previously, STS only accepted Query/form-encoded requests, causing CDK to fail with "The security token included in the request is invalid" when it tried to AssumeRole using the JSON protocol.+- **CloudFormation AutoScaling stubs** — `AWS::AutoScaling::AutoScalingGroup`, `LaunchConfiguration`, `ScalingPolicy`, `LifecycleHook`, and `ScheduledAction` are now handled as no-ops, allowing CDK/CFN stacks with ASGs to deploy without failing. Reported by @titan1978### Fixed- **Test coverage for v1.1.53 fixes** — added unit tests for `_convert_parameters` (RDS Data API parameter binding) and SSM epoch timestamp in CloudFormation provisioner.diff --git a/ministack/services/cloudformation/provisioners.py b/ministack/services/cloudformation/provisioners.pyindex 23c7d71b..361c2af9 100644--- a/ministack/services/cloudformation/provisioners.py+++ b/ministack/services/cloudformation/provisioners.py@@ -1755,4 +1755,10 @@ _RESOURCE_HANDLERS = {"AWS::EC2::LaunchTemplate": {"create": _ec2_launch_template_create, "delete": _ec2_launch_template_delete},# CDK metadata — safe to ignore"AWS::CDK::Metadata": {"create": lambda lid, props, sn: (f"CDKMetadata-{lid}", {}), "delete": lambda pid, props: None},+ # AutoScaling stubs — allow CDK/CFN stacks with ASGs to deploy+ "AWS::AutoScaling::AutoScalingGroup": {"create": lambda lid, props, sn: (f"asg-{lid}", {}), "delete": lambda pid, props: None},+ "AWS::AutoScaling::LaunchConfiguration": {"create": lambda lid, props, sn: (f"lc-{lid}", {}), "delete": lambda pid, props: None},+ "AWS::AutoScaling::ScalingPolicy": {"create": lambda lid, props, sn: (f"sp-{lid}", {}), "delete": lambda pid, props: None},+ "AWS::AutoScaling::LifecycleHook": {"create": lambda lid, props, sn: (f"lh-{lid}", {}), "delete": lambda pid, props: None},+ "AWS::AutoScaling::ScheduledAction": {"create": lambda lid, props, sn: (f"sa-{lid}", {}), "delete": lambda pid, props: None},}