Skip to content

Commit

Permalink
fix ip_share
Browse files Browse the repository at this point in the history
  • Loading branch information
yec-akamai committed Sep 4, 2024
1 parent 690a955 commit fce2e27
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/modules/ip_share.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ WARNING! This module makes use of beta endpoints and requires the C(api_version)
|-----------|------|----------|------------------------------------------------------------------------------|
| `ips` | <center>`list`</center> | <center>**Required**</center> | A list of secondary Linode IPs to share with the primary Linode. |
| `linode_id` | <center>`int`</center> | <center>**Required**</center> | The ID of the primary Linode that the addresses will be shared with. |
| `state` | <center>`str`</center> | <center>**Required**</center> | The desired state of the target. **(Choices: `present`, `absent`)** |

## Return Values

Expand Down
6 changes: 6 additions & 0 deletions plugins/modules/ip_share.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
"The ID of the primary Linode that the addresses will be shared with."
],
),
"state": SpecField(
type=FieldType.string,
description=["The desired state of the target."],
choices=["present", "absent"],
required=True,
),
}

SPECDOC_META = SpecDocMeta(
Expand Down

0 comments on commit fce2e27

Please sign in to comment.