From 94d26f22a7459a6412078cfdf9af38fe80a28c3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=98=84=EC=88=98?= Date: Thu, 10 Oct 2024 16:07:42 +0900 Subject: [PATCH] Delete ec2.tf --- ec2.tf | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 ec2.tf diff --git a/ec2.tf b/ec2.tf deleted file mode 100644 index a60c3cf..0000000 --- a/ec2.tf +++ /dev/null @@ -1,20 +0,0 @@ -resource "aws_spot_instance_request" "example" { - ami = "ami-0a7729c3ba73eb243" - instance_type = "t3a.large" # 2 vCPU, 7 GiB Memory - - spot_price = "0.037" - spot_type = "one-time" - wait_for_fulfillment = true - - tags = { - Name = "TerraformSpotInstance" - } - - subnet_id = module.vpc.public_subnet_ids[0] - - user_data = <<-EOF - #!/bin/bash - sudo systemctl restart go-agent - EOF -} -