Skip to content

Commit

Permalink
Set AMI in launch template
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwgillespie committed Jul 3, 2022
1 parent a7d5667 commit 0e41c2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ resource "aws_launch_template" "x86" {
name = "depot-builder-${var.name}-x86"
description = "Launch template for Depot builder instances"
ebs_optimized = true
image_id = var.ami.x86
instance_type = var.instance-types.x86
tags = var.tags

Expand Down Expand Up @@ -206,6 +207,7 @@ resource "aws_launch_template" "arm" {
name = "depot-builder-${var.name}-arm"
description = "Launch template for Depot builder instances"
ebs_optimized = true
image_id = var.ami.arm
instance_type = var.instance-types.arm
tags = var.tags

Expand Down

0 comments on commit 0e41c2c

Please sign in to comment.