Deploys and configures JMeter an EC2 instance running CentOS 7.
After instance startup, monitor the output of the following for cloud-init completion before running Jmeter:
sudo journalctl --no-pager -f | grep cloud-init
This work is licensed under the MIT license. See LICENSE file for details.
This project was started in 2019 by David Alger.
Name | Version |
---|---|
terraform | ~> 0.14 |
aws | ~> 3.4.0 |
Name | Version |
---|---|
aws | ~> 3.4.0 |
Name | Description | Type | Default | Required |
---|---|---|---|---|
authorized_keys | list of ssh pub key allowed to ssh | list(any) |
n/a | yes |
instance_filter | provide a map of filter to search Instance ID (see https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami) | list(object({ |
[ |
no |
instance_owner | List of AMI owners to limit search. At least 1 value must be specified. Valid values: an AWS account ID, self (the current account), or an AWS owner alias (e.g. amazon, aws-marketplace, microsoft). Default to centos public account | list(string) |
[ |
no |
instance_type | instance type to deploy | string |
"c5.2xlarge" |
no |
instance_user | service account to run jmeter | string |
"jmeter" |
no |
jmeter_scenario | a path to a jmeter jmx file tu upload to the ec2 it will be uploaded to /tmp/jmeter.jmx | string |
"../jmeter.jmx" |
no |
jmeter_version | jmeter version | string |
"5.1.1" |
no |
name | n/a | string |
n/a | yes |
security_groups | Additional security groups to attach to the jmeter instance. | list(string) |
[] |
no |
subnet_id | n/a | string |
n/a | yes |
tags | n/a | map(string) |
n/a | yes |
trusted_ip_ranges | List of IP ranges to whitelist for ICMP and SSH ingress. | list(string) |
[ |
no |
vpc_id | n/a | string |
n/a | yes |
Name | Description |
---|---|
instance_address | n/a |
instance_arn | n/a |
instance_id | n/a |
instance_name | n/a |
instance_user | n/a |