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

[site24x7_schedule_maintenance] Use correct description / selection_type for argument monitor_groups #312

Open
dhoppe opened this issue Oct 11, 2024 · 0 comments · May be fixed by dhoppe/terraform-provider-site24x7#2

Comments

@dhoppe
Copy link
Contributor

dhoppe commented Oct 11, 2024

This argument needs to be specified if the selection_type is set to 1, not 3.
https://www.site24x7.com/help/api/#create-maintenance

The documentation mentions the argument maintenance_type, but it looks like the Terraform provider does not support it yet. Maybe you might want to mention that once ist the default and it would be really nice to be able to use this argument for real.

// As of now maintenance_type "3" is supported
// "maintenance_type": {
// Type: schema.TypeInt,
// Optional: true,
// Default: 3,
// ValidateFunc: validation.IntInSlice([]int{3}),
// Description: "Configuration for Once/Daily/Weekly/Monthly only maintenance. Default is 3 - Once. Refer https://www.site24x7.com/help/api/#schedule_maintenance_constants",
// },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant