Release Summary
This release brings some new modules, features, and several bugfixes.
Minor Changes
- backup_selection - add validation and documentation for all conditions suboptions (#1633).
- ec2_instance - refactored ARN validation handling (#1619).
- iam_user - refactored ARN validation handling (#1619).
- module_utils.arn - add
resource_id
andresource_type
toparse_aws_arn
return values (#1619). - module_utils.arn - added
validate_aws_arn
function to handle common pattern matching for ARNs (#1619).
Bugfixes
- backup_plan - Use existing
scrub_none_values
function from module_utils to remove None values from nested dicts in supplied params. Nested None values were being retained and causing an error when sent through to the boto3 client operation (#1611). - backup_vault - fix error when updating tags on a backup vault by using the correct boto3 client methods for tagging and untagging backup resources (#1610).
- cloudwatchevent_rule - Fixes changed status to report False when no change has been made. The module had incorrectly always reported a change. (#1589)
- ec2_vpc_nat_gateway - adding a boolean parameter called
default_create
to allow users to have the option to choose whether they want to display an error message or create a NAT gateway when an EIP address is not found. The module (ec2_vpc_nat_gateway) had incorrectly failed silently if EIP didn't exist (#1295). - ec2_vpc_nat_gateway - fixes to nat gateway so that when the user creates a private NAT gateway, an Elastic IP address should not be allocated. The module had inncorrectly always allocate elastic IP address when creating private nat gateway (#1632).
- lambda_execute - Fixes to the stack trace output, where it does not contain spaces between each character. The module had incorrectly always outputted extra spaces between each character. (#1615)
- module_utils.backup - get_selection_details fix empty list returned when multiple backup selections exist (#1633).
New Modules
- iam_instance_profile - manage IAM instance profiles
- iam_instance_profile_info - gather information on IAM instance profiles