Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

Expose an architecture variable to allow for arm64 AMIs. #40

Open
nick-kang opened this issue Dec 26, 2021 · 0 comments
Open

Expose an architecture variable to allow for arm64 AMIs. #40

nick-kang opened this issue Dec 26, 2021 · 0 comments

Comments

@nick-kang
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant