https://github.com/zmoog/cloud-resources-testing-kit
Cloud Testing Construction Kit
https://github.com/zmoog/cloud-resources-testing-kit
Last synced: 5 months ago
JSON representation
Cloud Testing Construction Kit
- Host: GitHub
- URL: https://github.com/zmoog/cloud-resources-testing-kit
- Owner: zmoog
- License: apache-2.0
- Created: 2023-06-05T10:51:05.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-12T14:00:30.000Z (about 3 years ago)
- Last Synced: 2025-07-02T10:52:50.175Z (about 1 year ago)
- Language: HCL
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cloud-testing-construction-kit
Cloud Testing Construction Kit is a collection of Terraform files and related instruction that allow integration developers to:
1. Create cloud resources needed for development or testing the integrations.
2. Use the resources to created metrics and/or logs.
3. Tear down everything when you are done.
## Requirements
- Terraform 1.4.x
- AWS CLI
## Getting Started
In this getting started guide, we will use a simple recipe at `aes/sqs/simple` to collect metrics from a SQS queue.
### 1. Create cloud resources needed for development or testing the integrations
First, walk into the recipe folder:
```shell
cd aws/sqs/simple
```
Set up your credentials to access AWS; in this example, we will use the credentials stored in a profile called `testing`:
```shell
export AWS_PROFILE="testing"
```
Every cloud resource must have an owner!
```shell
export TF_VAR_owner="mbranca"
```
Initialize Terraform and and get a preview of the resources that Terraform will create for you, if you decide to apply them:
```shell
terraform init
terraform plan
```
After a careful review, you decide to move forward and create the resources:
```shell
terraform apply
```
### 2. Use the resources to created metrics and/or logs
Now you can use the instructions at `aws/sqs/simple/README.md` to send, receive, and delete SQS messages to generate metrics.
### 3. Tear down everything when you are done
You're not done yet!
Don't forget to tear down everything you created to avoid accidental expenses:
```shell
terraform destroy
```