Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add validation conditions on input variables #12

Open
benoit-garcia opened this issue Feb 6, 2023 · 0 comments
Open

Feature: Add validation conditions on input variables #12

benoit-garcia opened this issue Feb 6, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@benoit-garcia
Copy link
Member

To make the module more reliable, we should set validation condition on input variables:

  • Ensure instance_type is correct (would require to maintain the list of available types)
  • hostname and domainname respect RFC regarding DNS.
  • additional_volume_ids, bootscript_id, placement_group_id, private_networks, project_id and security_group_id are UUIDs (with or without a zone prefix)
  • zone match a known zone (would require to maintain the list of available zones)
  • ...
@benoit-garcia benoit-garcia converted this from a draft issue Feb 6, 2023
@benoit-garcia benoit-garcia added enhancement New feature or request good first issue Good for newcomers labels Feb 6, 2023
@benoit-garcia benoit-garcia changed the title Draft: Add validation conditions on input variables Feature: Add validation conditions on input variables Feb 6, 2023
@benoit-garcia benoit-garcia moved this from 🆕 New to 🔖 Ready in Instance Roadmap Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Development

No branches or pull requests

1 participant