groundcover Terraform Provider
Last updated
Last updated
Terraform is an infrastructure-as-code (IaC) tool for managing cloud and SaaS resources using declarative configuration. The groundcover Terraform provider enables you to manage observability resources such as policies, service accounts, API keys, and monitors as code—making them consistent, versioned, and automated.
Check out our provider Github repository:
groundcover_policy
– Defines RBAC policies (roles and optional data scope filters) Role-Based Access Control (RBAC)
groundcover_serviceaccount
– Creates service accounts using attaches policies. Service Accounts
groundcover_apikey
– Issues API keys for service accounts. API Keys
groundcover_monitor
– Defines alerting rules and monitors. Monitors
groundcover_logspipeline
- Defines Logs Pipeline configurations Log Parsing with OpenTelemetry Pipelines
≥ 1.0 (Check required_version
if specified in main.tf
)
>= 1.21 (to build the provider plugin)
groundcover Account and API Key.
Run terraform init
to install the provider.
api_key
(String, Required, Sensitive): Your groundcover API key. It is strongly recommended to configure this using the TF_VAR_groundcover_api_key
environment variable rather than hardcoding it.
base_url
(String, Optional): The base URL for the groundcover API. Defaults to api.groundcover.com
if not specified.
For full examples of all existing resources, see: