@@ -19,17 +19,17 @@ Copy the ``terraform-inventory`` binary that works for your platform to the ``bi
1919
2020### Quickstart EC2
2121
22- 1 . Edit the terraform.tfvars file and insert AWS credentials and sshkey
23- 2 . Run `` ./deploy aws-ec2 `` to run start instances, provision and run tests
24- 3 . Run `` terraform destroy aws-ec2`` to remove all AWS resources created by `` deploy ``
22+ 1 . Edit the terraform.tfvars file and insert AWS credentials and sshkey, or add them to a separate terraform.tfvars.mine file.
23+ 2 . Run `` ./deploy aws-ec2 [terraform.tfvars.mine] `` to run start instances, provision and run tests
24+ 3 . Run `` ./ destroy aws-ec2 [terraform.tfvars.mine] `` to remove all AWS resources created by `` deploy ``
2525
2626### Manual EC2 run
2727
28281 . Edit the terraform.tfvars file and insert AWS credentials and sshkey
29- 2 . Run `` terraform plan aws-ec2 `` to verify the plan
30- 3 . Run `` terraform apply aws-ec2 `` to spin up instances
29+ 2 . Run `` terraform plan aws-ec2 [-var-file=terraform.tfvars.mine] `` to verify the plan
30+ 3 . Run `` terraform apply aws-ec2 [-var-file=terraform.tfvars.mine] `` to spin up instances
31314 . Run `` ansible-playbook --inventory-file=bin/terraform-inventory playbook.yml ``
32- 5 . Run `` terraform destroy aws-ec2 `` to remove all resources
32+ 5 . Run `` terraform destroy aws-ec2 [-var-file=terraform.tfvars.mine] `` to remove all resources
3333
3434### Nodes
3535
@@ -41,12 +41,12 @@ The setup consists of three nodes:
4141
4242### Custom setups
4343
44- The ec2 regiom, instance types and ami to use is configured in `` aws-ec2/vars.tf `` , default is ** m3.medium** and the official Centos7 AMI.
44+ The ec2 regiom, instance types and ami to use is configured with variables , default is ** m3.medium** and the official Centos7 AMI.
4545
4646::
4747
4848 aws_ec2_region = "us-east-1"
49- aws_ec2_ami = "ami-61bbf104 " (Centos7 64bit)
49+ aws_ec2_ami = "ami-6d1c2007 " (Centos7 64bit)
5050 instance_types = "m3.medium" (Can be configured per node)
5151
5252## DigitalOcean
0 commit comments