Skip to content

Commit

Permalink
fix amazonlinux2 variable name (#1450)
Browse files Browse the repository at this point in the history
* revert emmiter instance to use AL2022

* fix amazonlinuz2 variable
  • Loading branch information
Kausik-A authored Oct 18, 2023
1 parent ec1182e commit 613ddcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/ec2/amis.tf
Original file line number Diff line number Diff line change
Expand Up @@ -440,14 +440,14 @@ data "aws_ami" "selected" {
}

# this ami is used to launch the emitter instance
data "aws_ami" "amazonlinux3" {
data "aws_ami" "amazonlinux2" {
most_recent = true

# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html#finding-quick-start-ami
filter {
name = "name"
values = [
"al2023-ami-2023*"]
"amzn2-ami-kernel-5*"]
}

filter {
Expand Down

0 comments on commit 613ddcc

Please sign in to comment.