Terraform - EC2 - Agent에서 arm test를 위한 ec2 생성
This commit is contained in:
18
terraform/ec2/dsk-agent-arm/ec2.tf
Normal file
18
terraform/ec2/dsk-agent-arm/ec2.tf
Normal file
@@ -0,0 +1,18 @@
|
||||
resource "aws_instance" "dsk-agent-arm-host" {
|
||||
ami = var.AMI_ID
|
||||
instance_type = var.Instance_Type
|
||||
key_name = var.Key_Pair
|
||||
vpc_security_group_ids = [aws_security_group.dsk-agent-allow-security.id]
|
||||
availability_zone = var.Aavailability_Zone
|
||||
subnet_id = var.Public_Subnet_2C
|
||||
|
||||
root_block_device {
|
||||
delete_on_termination = true
|
||||
volume_size = 30
|
||||
}
|
||||
|
||||
tags = {
|
||||
Name = "dsk-agent-arm-host"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user