Tag: aws

CloudFormation Scripts Erroring About pkg_resources

When launching EC2 instances on AWS, you might need to install and run the CloudFormation helper scripts (https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/releasehistory-aws-cfn-bootstrap.html). However, since February 2026, as of the latest CloudFormation helper scripts version 2.0-38 (released on 2025-12-04), installing them works fine, but running for example cfn-init causes an error: ModuleNotFoundError: No module named ‘pkg_resources’ The reason is this […]