Closed pbobov closed 4 months ago
I found a better solution - use "amazon" instead of AWS account id for windows2022 image.
See https://registry.terraform.io/providers/hashicorp/aws/3.75.1/docs/data-sources/ami#owners
Can\Should we use it for the Linux AMI's as well or is it only for Windows?
It's a good question. I'm not sure. We should find out if RedHat and Canonical have AWS account aliases.
I found a better solution - use "amazon" instead of AWS account id for windows2022 image.
See https://registry.terraform.io/providers/hashicorp/aws/3.75.1/docs/data-sources/ami#owners