opsgenie / terraform-provider-opsgenie

Terraform OpsGenie provider
https://registry.terraform.io/providers/opsgenie/opsgenie/latest/docs
Mozilla Public License 2.0
100 stars 136 forks source link

Docs: opsgenie_schedule resource docs missing 'rules' documentation. #243

Open bulebuk opened 3 years ago

bulebuk commented 3 years ago

Resource: opsgenie_schedule Version: 0.6.4

The documentation reads:

rules - (Required) A Member block as documented below.

There is no rules or member block documented below. I suspect it also meant rules block. The data source for the same resource type also has the same problem.

See: https://registry.terraform.io/providers/opsgenie/opsgenie/latest/docs/resources/schedule https://registry.terraform.io/providers/opsgenie/opsgenie/latest/docs/data-sources/schedule

kevinburke1 commented 3 years ago

I was not able to find any open source code snippets for this resource either https://github.com/search?l=HCL&q=opsgenie_schedule&type=Code

kevinburke1 commented 3 years ago

I don't see any reference to rules in opsgenie/resource_opsgenie_schedule.go which makes me think that the documentation is just wrong.