https://github.com/catchpoint/terraform-provider-catchpoint
https://github.com/catchpoint/terraform-provider-catchpoint
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/catchpoint/terraform-provider-catchpoint
- Owner: catchpoint
- Created: 2023-09-22T14:13:50.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-02-12T15:57:40.000Z (over 1 year ago)
- Last Synced: 2025-04-11T17:28:41.909Z (about 1 year ago)
- Language: Go
- Size: 503 KB
- Stars: 1
- Watchers: 4
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
Awesome Lists containing this project
README
# Catchpoint Provider
With the Catchpoint Terraform provider, users can manage Web, API, Transaction, DNS, SSL, BGP, Traceroute, and Ping tests with minimum configurations. To inherit sections such as Scheduling, Advanced Settings, Insights, and Alerts, simply omit the corresponding blocks.
## How to run
- Create the main.tf file with the Catchpoint API v2 Key
`provider "catchpoint" {api_token="8D7E2B17C339AD3EDCDD0761D29AXXXXXXXXXXXXX"}`
- Define your resource e.g.
`resource "web_test" "test" {
provider=catchpoint
division_id=1000
product_id=15330
test_name="catchpointTf"
test_url="https://www.catchpoint.com"
enable_test_data_webhook=true
end_time="2023-09-05T04:59:00Z"
}`
- In the terminal, run terraform init to initialize the provider.
- Run terraform plan to see the changes to be applied.
- Run terraform apply to apply the plan. If Terraform Debug logs are enabled, the API response can be seen from the Catchpoint provider. The logs will indicate whether the test was created successfully.