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

[chore] remove TODOs and add cluster spec validators #20

Merged
merged 1 commit into from
Jan 31, 2024
Merged

Conversation

r-vasquez
Copy link
Contributor

This removes TODOs that are now issues in GH and also adds error checks when either the cluster type or cloud provider is invalid.

I tried sending requests to the control plane API and they fail if we don't specify a valid type/provider:

- network.cloud_provider: value must not be in list [0] [enum.not_in]
- network.cluster_type: network.cluster_type must be either TYPE_DEDICATED or TYPE_BYOC [field=network.cluster_type network.cluster_type.allowed_values]

So we better fail early here.

This removes TODOs that are now issues in GH and
also add error checks when either the cluster type
or cloud provider are invalid.
Copy link
Contributor

@gene-redpanda gene-redpanda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Appreciate you making issues for the TODOs 🙏

@r-vasquez r-vasquez merged commit bbb6bc9 into main Jan 31, 2024
2 checks passed
@gene-redpanda gene-redpanda deleted the remove-todo branch February 6, 2024 14:31
andrewstucki pushed a commit to andrewstucki/terraform-provider-redpanda that referenced this pull request Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants