Im using terraform to get the official centos ami:
data "aws_ami" "centos" {
most_recent = true
owners = ["679593333241"] # Centos.org
filter {
name = "name"
values = ["CentOS Linux 7 x86_64 HVM EBS 1708_01-*"]
}
}
I need the owner ID and the way I found it in this case was to aimlessly google until some article had it (they didn't say how they got it).
I can't find the owner ID on the ami's market place page.
If I launch the ami through it's market place page the ec2 instance it creates actually has my personal id set for the instance's "owner" field- so I can't launch an ec2 instance, check the owner and get it that way either.
Why is this so impossible to get? I must be missing something obvious.
