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

Incompatible slugs for digitalocean_uptime_alert #1099

Open
MauriceArikoglu opened this issue Dec 29, 2023 · 0 comments
Open

Incompatible slugs for digitalocean_uptime_alert #1099

MauriceArikoglu opened this issue Dec 29, 2023 · 0 comments
Labels

Comments

@MauriceArikoglu
Copy link

Terraform suggests valid slug values for the period property of an uptime alert as follows:

Error: expected period to be one of [2m 3m 5m 10m 15m 30m 1hr], got 1h

Switching to 1hr causes the terraform apply to fail with this error:

Error: Error creating Uptime Alert: POST https://api.digitalocean.com/v2/uptime/checks/$id/alerts: 400 (request "request_id") invalid value for field 'period': unsupported period value '1hr'

According to the documentation the correct value is 1h

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

No branches or pull requests

1 participant