Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 945 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 945 Bytes

Provision

The purpose of this tool is to easily deploy EC2 instances and run an Ansible playbook to prepare them for further tests.

Deployment parameters like the EC2 AMIs and the Ansible playbook can be customized in the Terraform file ./terraform/caos.auto.tfvars.dist. Note that already has some defaults of our environment.

Run provisioning:

// You must have valid AWS credentials at this point
TAG_OR_UNIQUE_NAME=release_1.0 make test/provision

// export Windows password to provision Windows hosts
TF_VAR_windows_password=******* TAG_OR_UNIQUE_NAME=release_1.0 make test/provision

In the background, it automates the deployment of the Otel-ec2 Terraform module.

Destroy the provisioned instances:

// You must have valid AWS credentials at this point
make -C test/provision