Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.72 KB

README.md

File metadata and controls

54 lines (37 loc) · 1.72 KB

Locust

Install

terraform init
export SCW_ACCESS_KEY="XXXXXXXXXXXXXXXXXXXX"
export SCW_SECRET_KEY="xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

Launch

terraform apply -var="tasks_url=https://gist.githubusercontent.com/guillaumepotier/fee14623614f64035cd53da92298e10d/raw/b49c688a13879a57535b6bfaebf5461eb7999f0e/loading_quotes_moods.py" -var="locust_username=guillaume" -var="locust_password=wisembly" -var="workers_nb=9"

Requirements

Name Version
terraform >= 0.13

Providers

Name Version
scaleway n/a

Modules

Name Source Version
master ./modules/master
worker ./modules/worker

Resources

Name Type
scaleway_instance_image.locust data source

Inputs

Name Description Type Default Required
locust_password Locust Password string n/a yes
locust_username Locust Username string n/a yes
tasks_url Where to download the tasks string n/a yes
workers_nb n/a number 5 no

Outputs

No outputs.