github ministackorg/ministack v1.3.9

8 hours ago

What's Changed

New Contributors

[1.3.9] — 2026-04-22

Fixed

  • S3 bucket logging / accelerate / request-payment config never persisteds3.get_state() and s3.restore_state() only enumerated 11 of the 14 module-level _bucket_* dicts, so _bucket_logging_config, _bucket_accelerate_config, and _bucket_request_payment_config silently evaporated on warm boot. GetBucketLogging / GetBucketAccelerateConfiguration / GetBucketRequestPayment returned empty responses on restart even though the config was set pre-shutdown. Fixed by replacing the hand-maintained enumeration with a _PERSISTED_BUCKET_DICTS registry (one entry per global, driven by a single iteration in both functions), closing the entire class of "forgot to add the new dict to get_state/restore_state" bug. Reported by @whittin3.
  • EC2 tag:* / tag-key / tag-value filters ignored on most Describe* calls — instance tag filters landed in 1.3.8 (contributed by @costi) but the same gap existed on security groups, route tables, NAT gateways, network ACLs, flow logs, VPC peering connections, prefix lists, VPN gateways, and launch templates — each did its own inline filter logic and silently accepted every resource regardless of tag:*. Factored tag filter handling into a shared _resource_matches_tag_filters helper and wired it into every Describe* call that already parses filters. Also added tag-value (match by value across any key) and AWS-compatible wildcard support (* / ?) to every tag filter. Contributed by @costi.
  • EC2 DescribeImages missing RootDeviceName + BlockDeviceMappings — built-in stub AMIs returned RootDeviceType: ebs but omitted the root device name and block device mapping entirely, so Terraform's AWS provider errored with finding Root Device Name for AMI before ever reaching RunInstances. CLI run-instances was unaffected (doesn't consult these fields). Stubs now expose /dev/xvda for Linux AMIs and /dev/sda1 for the Windows Server stub, with an 8 GB gp2 EBS block device mapping; the Windows stub also now reports Platform=windows, matching AWS. Reported by @fatmoon.

Don't miss a new ministack release

NewReleases is sending notifications on new releases.