https://github.com/checkly/terraform-sample-advanced
https://github.com/checkly/terraform-sample-advanced
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/checkly/terraform-sample-advanced
- Owner: checkly
- Created: 2021-08-03T16:46:49.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-25T08:40:31.000Z (about 3 years ago)
- Last Synced: 2026-01-25T15:01:43.129Z (5 months ago)
- Language: HCL
- Size: 12.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Terraform Demo Advanced
A sample Terraform setup for Checkly. When applied, will provision:
- 7 browser checks
- 6 (placeholder) API checks
- 3 groups
- 2 alert channels
- 1 maintenance window
- 1 dashboard
Scripts are found in `/critical-user-flows`. With the current configuration, a browser check will be created for each spec in `/critical-user-flows`.
## Usage
1. [Create an account](https://app.checklyhq.com/signup) on Checkly.
2. Run `terraform init`.
3. Run `terraform apply`.
4. When prompted, enter your [Checkly API key](https://app.checklyhq.com/settings/user/api-keys)[account ID](https://app.checklyhq.com/settings/account/general) and a checkly_dashboard_url for your [Checkly Public dashboard](https://www.checklyhq.com/docs/terraform-provider/dashboards/).
5. The checkly_dashboard_url aids in our creation of a custom dashboard that will display the health of our checks.
You can export these values to environment variables, respectively `TF_VAR_checkly_api_key`, `TF_VAR_checkly_account_id` and `TF_VAR_checkly_dashboard_url` to skip this step.
## Resources
For more information, see the [Checkly Terraform Provider docs](https://www.checklyhq.com/docs/terraform-provider/).