Skip to content

Commit

Permalink
add tags
Browse files Browse the repository at this point in the history
  • Loading branch information
yec-akamai committed Jan 3, 2024
1 parent 1eab546 commit 1020992
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/modules/instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ Manage Linode Instances, Configs, and Disks.
| `wait_timeout` | <center>`int`</center> | <center>Optional</center> | The amount of time, in seconds, to wait for an instance to have status "running". **(Default: `240`)** |
| [`additional_ipv4` (sub-options)](#additional_ipv4) | <center>`list`</center> | <center>Optional</center> | Additional ipv4 addresses to allocate. |
| `rebooted` | <center>`bool`</center> | <center>Optional</center> | If true, the Linode Instance will be rebooted. NOTE: The instance will only be rebooted if it was previously in a running state. To ensure your Linode will always be rebooted, consider also setting the `booted` field. **(Default: `False`)** |
| `tags` | <center>`list`</center> | <center>Optional</center> | An array of tags applied to this object. Tags are for organizational purposes only. **(Updatable)** |

### configs

Expand Down
9 changes: 9 additions & 0 deletions plugins/modules/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,15 @@
],
default=False,
),
"tags": SpecField(
type=FieldType.list,
element_type=FieldType.string,
description=[
"An array of tags applied to this object.",
"Tags are for organizational purposes only."
],
editable=True,
)
}

SPECDOC_META = SpecDocMeta(
Expand Down

0 comments on commit 1020992

Please sign in to comment.