github.com/weaveworks/common@v0.0.0-20230728070032-dd9e68f319d5/tools/provisioning/aws/variables.tf (about) 1 variable "client_ip" { 2 description = "IP address of the client machine" 3 } 4 5 variable "app" { 6 description = "Name of the application using the created EC2 instance(s)." 7 default = "default" 8 } 9 10 variable "name" { 11 description = "Name of the EC2 instance(s)." 12 default = "test" 13 } 14 15 variable "num_hosts" { 16 description = "Number of EC2 instance(s)." 17 default = 1 18 } 19 20 variable "aws_vpc_cidr_block" { 21 description = "AWS VPC CIDR block to use to attribute private IP addresses." 22 default = "172.31.0.0/16" 23 } 24 25 variable "aws_public_key_name" { 26 description = "Name of the SSH keypair to use in AWS." 27 } 28 29 variable "aws_private_key_path" { 30 description = "Path to file containing private key" 31 default = "~/.ssh/id_rsa" 32 } 33 34 variable "aws_dc" { 35 description = "The AWS region to create things in." 36 default = "us-east-1" 37 } 38 39 variable "aws_amis" { 40 default = { 41 # Ubuntu Server 16.04 LTS (HVM), SSD Volume Type: 42 "us-east-1" = "ami-40d28157" 43 "eu-west-2" = "ami-23d0da47" 44 45 # Red Hat Enterprise Linux 7.3 (HVM), SSD Volume Type: 46 47 #"us-east-1" = "ami-b63769a1" 48 49 # CentOS 7 (x86_64) - with Updates HVM 50 51 #"us-east-1" = "ami-6d1c2007" 52 } 53 } 54 55 variable "aws_usernames" { 56 description = "User to SSH as into the AWS instance." 57 58 default = { 59 "ami-40d28157" = "ubuntu" # Ubuntu Server 16.04 LTS (HVM) 60 "ami-b63769a1" = "ec2-user" # Red Hat Enterprise Linux 7.3 (HVM) 61 "ami-6d1c2007" = "centos" # CentOS 7 (x86_64) - with Updates HVM 62 } 63 } 64 65 variable "aws_size" { 66 description = "AWS' selected machine size" 67 default = "t2.medium" # Instance with 2 cores & 4 GB memory 68 }