Skip to content

Commit

Permalink
Fix sanity
Browse files Browse the repository at this point in the history
Signed-off-by: Alina Buzachis <[email protected]>
  • Loading branch information
alinabuzachis committed Dec 4, 2024
1 parent bb0d46d commit 01aaf1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions plugins/modules/route53_ksk.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
caller_reference:
description:
- A unique string that identifies the request.
required: true
type: str
hosted_zone_id:
description:
- The unique string (ID) used to identify a hosted zone.
type: str
required: true
aliases: ["zone_id"]
key_management_service_arn:
description:
Expand All @@ -49,6 +49,7 @@
You can set the value to V(ACTIVE) or V(INACTIVE).
type: str
default: "ACTIVE"
choices: ["ACTIVE", "INACTIVE"]
wait:
description:
- Wait until the changes have been replicated.
Expand Down Expand Up @@ -125,7 +126,7 @@
type: str
sample: "https://route53.amazonaws.com/2013-04-01/keysigningkey/xxx/ansible-test-ksk"
key_signing_key:
description:
description: The key-signing key (KSK) that the request creates.
returned: only when a new Key Signing Request is created
type: dict
contains:
Expand Down Expand Up @@ -312,9 +313,9 @@ def main() -> None:
argument_spec = dict(
caller_reference=dict(type="str"),
hosted_zone_id=dict(type="str", aliases=["zone_id"], required=True),
key_management_service_arn=dict(type="str", aliases=["kms_arn"]),
key_management_service_arn=dict(type="str", aliases=["kms_arn"], no_log=False),
name=dict(type="str", required=True),
status=dict(type="str", default=["ACTIVE"], choices=["ACTIVE", "INACTIVE"]),
status=dict(type="str", default="ACTIVE", choices=["ACTIVE", "INACTIVE"]),
state=dict(default="present", choices=["present", "absent"]),
wait=dict(type="bool", default=False),
wait_timeout=dict(type="int", default=300),
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/route53_zone.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
type: dict
contains:
key_signing_key:
description:
description: The key-signing key (KSK) that the request creates.
returned: when O(state=present)
type: list
elements: dict
Expand Down

0 comments on commit 01aaf1e

Please sign in to comment.