Get the organization's rules for a resource type
org_requirementsFetch approved regions, required tags, and mandatory settings for a resource type before writing Terraform, ensuring policy compliance on the first attempt.
Instructions
Get this organization's own infrastructure policy requirements for a resource type — approved regions, required tags, mandatory settings — BEFORE writing the Terraform. Call this first whenever you are about to create a resource, so the code satisfies company policy on the first attempt rather than being corrected afterwards. Returns an empty, explanatory result when no organization policy is configured, which is normal and not an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | ||
| resource_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||