diff --git a/examples/terraform/aws/README.md b/examples/terraform/aws/README.md index c615424cc..e0129326e 100644 --- a/examples/terraform/aws/README.md +++ b/examples/terraform/aws/README.md @@ -56,7 +56,7 @@ No modules. | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | [ami](#input\_ami) | AMI ID, use it to fixate control-plane AMI in order to avoid force-recreation it at later times | `string` | `""` | no | -| [ami\_filters](#input\_ami\_filters) | map with AMI filters |
map(object({
owners = list(string)
image_name = list(string)
ssh_username = string
worker_os = string
}))
|
{
"amzn": {
"image_name": [
"amzn2-ami-hvm-2.0.*-x86_64-gp2"
],
"owners": [
"137112412989"
],
"ssh_username": "ec2-user",
"worker_os": "amzn2"
},
"centos": {
"image_name": [
"CentOS Linux 7 x86_64*"
],
"owners": [
"125523088429"
],
"ssh_username": "centos",
"worker_os": "centos"
},
"flatcar": {
"image_name": [
"Flatcar-stable-*-hvm"
],
"owners": [
"075585003325"
],
"ssh_username": "core",
"worker_os": "flatcar"
},
"rhel": {
"image_name": [
"RHEL-8*_HVM-*-x86_64-*"
],
"owners": [
"309956199498"
],
"ssh_username": "ec2-user",
"worker_os": "rhel"
},
"rockylinux": {
"image_name": [
"Rocky-8-ec2-*.x86_64"
],
"owners": [
"792107900819"
],
"ssh_username": "rocky",
"worker_os": "rockylinux"
},
"ubuntu": {
"image_name": [
"ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-*"
],
"owners": [
"099720109477"
],
"ssh_username": "ubuntu",
"worker_os": "ubuntu"
}
}
| no | +| [ami\_filters](#input\_ami\_filters) | map with AMI filters |
map(object({
owners = list(string)
image_name = list(string)
ssh_username = string
worker_os = string
}))
|
{
"amzn": {
"image_name": [
"amzn2-ami-hvm-2.0.*-x86_64-gp2"
],
"owners": [
"137112412989"
],
"ssh_username": "ec2-user",
"worker_os": "amzn2"
},
"centos": {
"image_name": [
"CentOS Linux 7 x86_64*"
],
"owners": [
"125523088429"
],
"ssh_username": "centos",
"worker_os": "centos"
},
"flatcar": {
"image_name": [
"Flatcar-stable-*-hvm"
],
"owners": [
"075585003325"
],
"ssh_username": "core",
"worker_os": "flatcar"
},
"rhel": {
"image_name": [
"RHEL-8*_HVM-*-x86_64-*"
],
"owners": [
"309956199498"
],
"ssh_username": "ec2-user",
"worker_os": "rhel"
},
"rockylinux": {
"image_name": [
"Rocky-8-EC2-*.x86_64"
],
"owners": [
"792107900819"
],
"ssh_username": "rocky",
"worker_os": "rockylinux"
},
"ubuntu": {
"image_name": [
"ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-*"
],
"owners": [
"099720109477"
],
"ssh_username": "ubuntu",
"worker_os": "ubuntu"
}
}
| no | | [apiserver\_alternative\_names](#input\_apiserver\_alternative\_names) | subject alternative names for the API Server signing cert. | `list(string)` | `[]` | no | | [aws\_region](#input\_aws\_region) | AWS region to speak to | `string` | `"eu-west-3"` | no | | [bastion\_host\_key](#input\_bastion\_host\_key) | Bastion SSH host public key | `string` | `null` | no | diff --git a/examples/terraform/aws/variables.tf b/examples/terraform/aws/variables.tf index 404c0e644..749cdad61 100644 --- a/examples/terraform/aws/variables.tf +++ b/examples/terraform/aws/variables.tf @@ -217,7 +217,7 @@ variable "ami_filters" { rockylinux = { owners = ["792107900819"] # RockyLinux - image_name = ["Rocky-8-ec2-*.x86_64"] + image_name = ["Rocky-8-EC2-*.x86_64"] ssh_username = "rocky" worker_os = "rockylinux" }