autoscaling_complete_lifecycle_action
Completes the lifecycle action of an instance
Collection: community.aws
Full Name: community.aws.autoscaling_complete_lifecycle_action
Synopsis
Completes the lifecycle action of an instance
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_key | str | |||
| asg_name | str | yes | ||
| aws_ca_bundle | path | |||
| aws_config | dict | |||
| debug_botocore_endpoint_logs | bool | false | ||
| endpoint_url | str | |||
| instance_id | str | yes | ||
| lifecycle_action_result | str | yes | ||
| lifecycle_hook_name | str | yes | ||
| profile | str | |||
| region | str | |||
| secret_key | str | |||
| session_token | str | |||
| validate_certs | bool | true |
Example
yaml
# Note: These examples do not set authentication details, see the AWS Guide for details.
# Complete the lifecycle action
- name: Completes the lifecycle action of an instance
community.aws.autoscaling_complete_lifecycle_action:
asg_name: my-auto-scaling-group
lifecycle_hook_name: my-lifecycle-hook
lifecycle_action_result: CONTINUE
instance_id: i-123knm1l2312