terraform-provider-uptimerobot
terraform-provider-uptimerobot copied to clipboard
add custom_http_statuses option
Fixes https://github.com/louy/terraform-provider-uptimerobot/issues/69
I'd tried to use TypeMap, but TypeMap doesn't allow to nest TypeList.
https://discuss.hashicorp.com/t/resource-schema-typelist-as-element-for-typemap/4809
So, I use TypeSet.
I investigate about how to test TypeSet, but I can't find the good method. I didn't add test code...
Someone to review this PR? I'm interested!
I thought it was a very good fix, so I created a PR based on it with additional tests at https://github.com/vexxhost/terraform-provider-uptimerobot/pull/21
PR has been merged with this provider. https://github.com/lapras-inc/terraform-provider-uptimerobot