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

Correct downtime.monitor_tags description #1252

Merged
merged 2 commits into from
Oct 28, 2021

Conversation

antonioalmeida
Copy link
Contributor

The description on how to make use of monitor_tags is incorrect.

From the Downtime docs:

Schedule a downtime based on one or more monitor tags. You must select at least one tag with a limit of 32 tags. Each tag can be at most 256 characters long. Only monitors that have ALL selected tags are silenced. You can also select scopes for additional constraints.

The corrected version matches the UI usage and I am also using the Terraform version in a production environment

The description on how to make use of `monitor_tags` is incorrect.

From the Downtime [docs](https://docs.datadoghq.com/monitors/notify/downtimes/?tab=bymonitortags):
>  Schedule a downtime based on one or more monitor tags. You must select at least one tag with a limit of 32 tags. Each tag can be at most 256 characters long. Only monitors that have ALL selected tags are silenced. You can also select scopes for additional constraints.

The corrected version matches the UI usage and I am also using the Terraform version in a production environment
@antonioalmeida antonioalmeida requested review from a team as code owners October 26, 2021 12:55
@antonioalmeida
Copy link
Contributor Author

If you accept this, mind adding the hacktoberfest-accepted label to the PR?

kayayarai
kayayarai previously approved these changes Oct 26, 2021
Copy link
Contributor

@kayayarai kayayarai left a comment

Choose a reason for hiding this comment

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

Much improved wording, thank you!

@skarimo
Copy link
Member

skarimo commented Oct 26, 2021

Hi, our docs are auto generated. Instead of updating the docs directly, could you update the description here https://github.com/DataDog/terraform-provider-datadog/blob/master/datadog/resource_datadog_downtime.go#L248 and run make docs

@antonioalmeida
Copy link
Contributor Author

@skarimo should be good now

@skarimo skarimo merged commit 0ad8c3f into DataDog:master Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants