diff --git a/docs/community.aws.autoscaling_instance_refresh_info_module.rst b/docs/community.aws.autoscaling_instance_refresh_info_module.rst index 316d1fd560b..025aa3bf9a9 100644 --- a/docs/community.aws.autoscaling_instance_refresh_info_module.rst +++ b/docs/community.aws.autoscaling_instance_refresh_info_module.rst @@ -448,12 +448,12 @@ Common return values are documented `here
The current state of the group when DeleteAutoScalingGroup is in progress.
The following are the possible statuses
-
Pending: The request was created, but the operation has not started.
-
InProgress: The operation is in progress.
-
Successful: The operation completed successfully.
-
Failed: The operation failed to complete. You can troubleshoot using the status reason and the scaling activities.
-
Cancelling: An ongoing operation is being cancelled. Cancellation does not roll back any replacements that have already been completed, but it prevents new replacements from being started.
-
Cancelled: The operation is cancelled.
+
Pending - The request was created, but the operation has not started.
+
InProgress - The operation is in progress.
+
Successful - The operation completed successfully.
+
Failed - The operation failed to complete. You can troubleshoot using the status reason and the scaling activities.
+
Cancelling - An ongoing operation is being cancelled. Cancellation does not roll back any replacements that have already been completed, but it prevents new replacements from being started.
+
Cancelled - The operation is cancelled.'

Sample:
Pending
diff --git a/plugins/modules/autoscaling_group.py b/plugins/modules/autoscaling_group.py index 0a4956487e0..753f2a08727 100644 --- a/plugins/modules/autoscaling_group.py +++ b/plugins/modules/autoscaling_group.py @@ -654,7 +654,6 @@ from ansible_collections.amazon.aws.plugins.module_utils.ec2 import AWSRetry from ansible_collections.amazon.aws.plugins.module_utils.ec2 import snake_dict_to_camel_dict from ansible_collections.amazon.aws.plugins.module_utils.ec2 import camel_dict_to_snake_dict -from ansible_collections.amazon.aws.plugins.module_utils.ec2 import ansible_dict_to_boto3_filter_list ASG_ATTRIBUTES = ('AvailabilityZones', 'DefaultCooldown', 'DesiredCapacity', 'HealthCheckGracePeriod', 'HealthCheckType', 'LaunchConfigurationName', diff --git a/plugins/modules/autoscaling_instance_refresh_info.py b/plugins/modules/autoscaling_instance_refresh_info.py index e49743edd90..4d9cb7e05b7 100644 --- a/plugins/modules/autoscaling_instance_refresh_info.py +++ b/plugins/modules/autoscaling_instance_refresh_info.py @@ -87,12 +87,15 @@ description: - The current state of the group when DeleteAutoScalingGroup is in progress. - The following are the possible statuses - - 'C(Pending): The request was created, but the operation has not started.' - - 'C(InProgress): The operation is in progress.' - - 'C(Successful): The operation completed successfully.' - - 'C(Failed): The operation failed to complete. You can troubleshoot using the status reason and the scaling activities.' - - 'C(Cancelling): An ongoing operation is being cancelled. Cancellation does not roll back any replacements that have already been completed, but it prevents new replacements from being started.' - - 'C(Cancelled): The operation is cancelled.' + - C(Pending) - The request was created, but the operation has not started. + - C(InProgress) - The operation is in progress. + - C(Successful) - The operation completed successfully. + - C(Failed) - The operation failed to complete. + You can troubleshoot using the status reason and the scaling activities. + - C(Cancelling) - An ongoing operation is being cancelled. + Cancellation does not roll back any replacements that have already been + completed, but it prevents new replacements from being started. + - C(Cancelled) - The operation is cancelled.' returned: success type: str sample: "Pending"