terraform-aws-nat-instance icon indicating copy to clipboard operation
terraform-aws-nat-instance copied to clipboard

Expose an `architecture` variable to allow for `arm64` AMIs.

Open nick-kang opened this issue 3 years ago • 0 comments

Exposing an architecture variable will allow you to specify arm64 AMIs.

In data "aws_ami"...

  filter {
    name   = "architecture"
    values = [var.architecture]
  }

In variables.tf...

variable "architecture" {
  type = string
  default = "x86_64"
}

Happy to submit a PR if you think this will be additive to the project.

nick-kang avatar Dec 26 '21 22:12 nick-kang