Skip to content

Commit

Permalink
added fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
taehopark32 committed Jun 29, 2023
1 parent 9607efe commit 43ce225
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
minor_changes:
- route53_health_check - adding another type choice called "CALCULATED", added a string list parameter called child_health_checks to specify health checks that must be healthy for this calculated health check to be considered healthy, and added an integer paramter called health_threshold to specify the minimum number of healthy child health checks that must be healthy for the calculated health check to be considered healthy. The module (route53_health_check) had not supported calculated health check (https://github.com/ansible-collections/amazon.aws/pull/1631).
26 changes: 14 additions & 12 deletions plugins/modules/route53_health_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,20 @@
- Once health_check is created, type can not be changed.
choices: [ 'HTTP', 'HTTPS', 'HTTP_STR_MATCH', 'HTTPS_STR_MATCH', 'TCP', 'CALCULATED' ]
type: str
child_health_checks:
description:
- The child health checks used for a calculated health check.
- This parameter takes in the child health checks ids.
type: list of str
returned: When the health check exists and child health checks are configured.
sample: ['uuid1', 'uuid2']
health_threshold:
description:
- The minimum number of healthy child health checks for a calculated health check to be considered healthy.
default: 1
type: int
returned: When a calculated health check is configured.
sample: 1
resource_path:
description:
- The path that you want Amazon Route 53 to request when performing
Expand Down Expand Up @@ -119,18 +133,6 @@
type: bool
required: False
version_added: 5.4.0
child_health_checks:
description:
- The child health checks used for a calculated health check.
type: list of str
returned: When the health check exists and child health checks are configured.
sample: ['uuid1', 'uuid2']
health_threshold:
description:
- The minimum number of healthy child health checks for a calculated health check to be considered healthy.
type: int
returned: When a calculated health check is configured.
sample: 1
author:
- "zimbatm (@zimbatm)"
notes:
Expand Down

0 comments on commit 43ce225

Please sign in to comment.