terraform.tfvars
[aimless@dev 3tier]$ cat terraform.tfvars
#-------------------------------------$
# credential$
#-------------------------------------$
access_key = "YOUR_ACCESS_KEY"
secret_key = "YOUR_SECRET_KEY"
#-------------------------------------
# region
#-------------------------------------
#
region = "ap-northeast-1"
#-------------------------------------
# EC2
#-------------------------------------
ec2_ami = "ami-18869819"
ec2_instance_type = "t2.micro"
ec2_key_name = "20150303"
ec2_tag_name = "terraform"
ec2_subnet_id = "subnet-5b47651d"
ec2_private_ip = ""
ec2_associate_public_ip_address = "true"
ec2_count = "1"
#ec2_security_groups = ["sg-11baea10","sg-1fcc2d7a"]
#
#-------------------------------------
# EBS
#-------------------------------------
ebs_root_device_name = "/dev/xvda" # same value as the default value of the instance
ebs_root_volume_type = "gp2" # default is magnetic
ebs_root_volume_size = "10"
ebs_root_delete_on_termination = "true"
ebs_device_name = "/dev/xvdb"
ebs_volume_type = "gp2" # default is magnetic
ebs_volume_size = "20"
ebs_delete_on_termination = "true"