Skip to content

Commit

Permalink
Run terraform fmt and generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fridgepoet committed Sep 26, 2024
1 parent 2da414b commit d4b6b80
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
2 changes: 2 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ resource "grafana_oncall_escalation" "example_notify_step" {
- `ca_cert` (String) Certificate CA bundle (file path or literal value) to use to verify the Grafana server's certificate. May alternatively be set via the `GRAFANA_CA_CERT` environment variable.
- `cloud_access_policy_token` (String, Sensitive) Access Policy Token for Grafana Cloud. May alternatively be set via the `GRAFANA_CLOUD_ACCESS_POLICY_TOKEN` environment variable.
- `cloud_api_url` (String) Grafana Cloud's API URL. May alternatively be set via the `GRAFANA_CLOUD_API_URL` environment variable.
- `connections_access_token` (String, Sensitive) A Grafana Connections API access token. May alternatively be set via the `GRAFANA_CONNECTIONS_ACCESS_TOKEN` environment variable.
- `connections_url` (String) A Grafana Connections API backend address. May alternatively be set via the `GRAFANA_CONNECTIONS_URL` environment variable.
- `http_headers` (Map of String, Sensitive) Optional. HTTP headers mapping keys to values used for accessing the Grafana and Grafana Cloud APIs. May alternatively be set via the `GRAFANA_HTTP_HEADERS` environment variable in JSON format.
- `insecure_skip_verify` (Boolean) Skip TLS certificate verification. May alternatively be set via the `GRAFANA_INSECURE_SKIP_VERIFY` environment variable.
- `oncall_access_token` (String, Sensitive) A Grafana OnCall access token. May alternatively be set via the `GRAFANA_ONCALL_ACCESS_TOKEN` environment variable.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
resource "grafana_connections_metrics_endpoint_scrape_job" "test" {
stack_id = "test-stack-id"
name = "my-scrape-job"
authentication_method = "basic"
stack_id = "test-stack-id"
name = "my-scrape-job"
authentication_method = "basic"
authentication_basic_username = "my_username"
authentication_basic_password = "my_password"
url = "https://dev.my-metrics-endpoint-url.com:9000/metrics"
url = "https://dev.my-metrics-endpoint-url.com:9000/metrics"
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
resource "grafana_connections_metrics_endpoint_scrape_job" "test" {
stack_id = "test-stack-id"
name = "modified-scrape-job"
enabled = "false"
authentication_method = "bearer"
stack_id = "test-stack-id"
name = "modified-scrape-job"
enabled = "false"
authentication_method = "bearer"
authentication_bearer_token = "test-token"
url = "https://www.modified-url.com:9000/metrics"
scrape_interval_seconds = "120"
url = "https://www.modified-url.com:9000/metrics"
scrape_interval_seconds = "120"
}

0 comments on commit d4b6b80

Please sign in to comment.