https://github.com/checkly/checkly-terraform-getting-started
https://github.com/checkly/checkly-terraform-getting-started
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/checkly/checkly-terraform-getting-started
- Owner: checkly
- Created: 2022-03-24T16:58:16.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-01T11:50:05.000Z (over 1 year ago)
- Last Synced: 2025-06-22T02:09:03.492Z (6 months ago)
- Language: HCL
- Size: 5.86 KB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# checkly-terraform-getting-started
A sample repository showing a minimal Terraform Checkly setup.
## Prerequisites
You will need:
1. A recent version of [HashiCorp Terraform](https://terraform.io) installed.
2. An account on [Checkly](https://checklyhq.com)
## Setup
First, you will need an API Key for your Checkly user. Go to the [API keys tab](https://app.checklyhq.com/settings/user/api-keys) in your user settings and click `Create API key`.
Get your User API key and add it to your env using your terminal:
```bash
$ export TF_VAR_checkly_api_key=cu_xxx
```
You also need to set your target account ID, which you can find under your [account settings](https://app.checklyhq.com/settings/account/general).
If you don't have access to account settings, please contact your account owner/admin.
```bash
$ export TF_VAR_checkly_account_id=xxx
```
Running `terraform init` will install the Checkly Terraform provider for you, as well as initialising your project.
## Usage
Running `terraform apply` will have Terraform draft a plan and ask you to confirm by typing `yes`. Once that is done, Terraform will go ahead and create the resources for you.
## Links
See Checkly's Terraform [Getting Started](https://checklyhq.com/docs/terraform-provider/getting-started/) docs for more information.