Skip to content

Commit

Permalink
[FIX] all fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ohksj77 committed Mar 16, 2024
1 parent 207a473 commit 5e92864
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions terraform/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ resource "aws_elasticache_cluster" "elasticache_cluster" {
num_cache_nodes = 1
}

resource "aws_launch_template" "asg" {
name = "asg"
resource "aws_launch_template" "asg_template" {
name_prefix = "lt-twtw-"
image_id = var.ami
instance_type = "t3a.medium"
}
Expand All @@ -216,7 +216,7 @@ resource "aws_autoscaling_group" "autoscaling_group" {
force_delete = true

launch_template {
id = var.ami
id = aws_launch_template.asg_template.id
version = "$Latest"
}

Expand Down

0 comments on commit 5e92864

Please sign in to comment.