Terraform - EC2 - Agent에서 arm test를 위한 ec2 생성

This commit is contained in:
dsk-minchulahn
2024-01-25 14:26:26 +09:00
parent 75fcc67a4c
commit c8f14a323d
6 changed files with 130 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
variable "REGION" {
default = "ap-northeast-2"
}
variable "VPC_ID" {
# default VPC
# 172.31.0.0/16
default = "vpc-0507701f168dc33c7"
}
variable "Public_Subnet_2C" {
# 172.31.32.0/20
default = "subnet-076d5e6f5b07d33a5"
}
variable "Aavailability_Zone" {
default = "ap-northeast-2c"
}
variable "Instance_Type" {
# Architecture: arm64
# vCPUs: 2
# Memory: 4
default = "t4g.medium"
}
variable "AMI_ID" {
# Amazon Linux 2023 AMI 2023.3.20240122.0 arm64 HVM kernel-6.1
default = "ami-01f739e4a07abd6a9"
}
variable "Key_Pair" {
default = "devops"
}