1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-04 08:01:49 +00:00

feat: use resources name or ID in server module arguments (#484)

##### SUMMARY

- Allow passing either the name or the ID of a resource to the different
arguments of the server module.
- Split the code into multiple smaller function and improve the code.
- Improve the module arguments documentation.
- Refactor and cleanups.
This commit is contained in:
Jonas L 2024-04-04 11:54:41 +02:00 committed by GitHub
parent 022cca4799
commit 7fdefcfa02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 280 additions and 257 deletions

View file

@ -0,0 +1,6 @@
minor_changes:
- server - Allow passing Datacenter name or ID to the `datacenter` argument.
- server - Allow passing Image name or ID to the `image` argument.
- server - Allow passing Location name or ID to the `location` argument.
- server - Allow passing SSH Keys names or IDs to the `ssh_keys` argument.
- server - Allow passing Volume names or IDs to the `volumes` argument.