tf/asg: Update to Fedora 40
Upstream changed the naming convention for Fedora AMIs. It also seems they've stopped publishing "release" artifacts; all the AMIs are now date-stamped. We should probably consider running `terraform apply` periodically to keep up-to-date.master
parent
c63c4d9e8c
commit
0ec109b088
|
@ -33,7 +33,7 @@ data "aws_ami" "latest-fedora" {
|
||||||
|
|
||||||
filter {
|
filter {
|
||||||
name = "name"
|
name = "name"
|
||||||
values = ["Fedora-Cloud-Base-38-1.*"]
|
values = ["Fedora-Cloud-Base-AmazonEC2.aarch64-40-*"]
|
||||||
}
|
}
|
||||||
|
|
||||||
filter {
|
filter {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"version": 4,
|
"version": 4,
|
||||||
"terraform_version": "1.6.2",
|
"terraform_version": "1.6.2",
|
||||||
"serial": 108,
|
"serial": 110,
|
||||||
"lineage": "a100be74-c98e-0769-2d6a-bf6a2c5f3ebf",
|
"lineage": "a100be74-c98e-0769-2d6a-bf6a2c5f3ebf",
|
||||||
"outputs": {},
|
"outputs": {},
|
||||||
"resources": [
|
"resources": [
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
"schema_version": 0,
|
"schema_version": 0,
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"architecture": "arm64",
|
"architecture": "arm64",
|
||||||
"arn": "arn:aws:ec2:us-east-2::image/ami-0dcd72048e69236de",
|
"arn": "arn:aws:ec2:us-east-2::image/ami-025edd5571c20d10e",
|
||||||
"block_device_mappings": [
|
"block_device_mappings": [
|
||||||
{
|
{
|
||||||
"device_name": "/dev/sda1",
|
"device_name": "/dev/sda1",
|
||||||
|
@ -23,19 +23,19 @@
|
||||||
"delete_on_termination": "true",
|
"delete_on_termination": "true",
|
||||||
"encrypted": "false",
|
"encrypted": "false",
|
||||||
"iops": "0",
|
"iops": "0",
|
||||||
"snapshot_id": "snap-01034e15b97a1b584",
|
"snapshot_id": "snap-07538e4a365fd3b50",
|
||||||
"throughput": "0",
|
"throughput": "0",
|
||||||
"volume_size": "6",
|
"volume_size": "5",
|
||||||
"volume_type": "gp2"
|
"volume_type": "gp3"
|
||||||
},
|
},
|
||||||
"no_device": "",
|
"no_device": "",
|
||||||
"virtual_name": ""
|
"virtual_name": ""
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"boot_mode": "",
|
"boot_mode": "uefi-preferred",
|
||||||
"creation_date": "2023-04-14T00:16:49.000Z",
|
"creation_date": "2024-11-03T09:43:10.000Z",
|
||||||
"deprecation_time": "2025-04-14T00:16:49.000Z",
|
"deprecation_time": "2026-11-03T09:43:10.000Z",
|
||||||
"description": "Fedora AMI Description",
|
"description": "Fedora-Cloud-40.20241103.0 (aarch64) for HVM Instances",
|
||||||
"ena_support": true,
|
"ena_support": true,
|
||||||
"executable_users": null,
|
"executable_users": null,
|
||||||
"filter": [
|
"filter": [
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
{
|
{
|
||||||
"name": "name",
|
"name": "name",
|
||||||
"values": [
|
"values": [
|
||||||
"Fedora-Cloud-Base-38-1.*"
|
"Fedora-Cloud-Base-AmazonEC2.aarch64-40-*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -59,15 +59,15 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"hypervisor": "xen",
|
"hypervisor": "xen",
|
||||||
"id": "ami-0dcd72048e69236de",
|
"id": "ami-025edd5571c20d10e",
|
||||||
"image_id": "ami-0dcd72048e69236de",
|
"image_id": "ami-025edd5571c20d10e",
|
||||||
"image_location": "125523088429/Fedora-Cloud-Base-38-1.6.aarch64-hvm-us-east-2-gp2-0",
|
"image_location": "125523088429/Fedora-Cloud-Base-AmazonEC2.aarch64-40-20241103.0",
|
||||||
"image_owner_alias": "",
|
"image_owner_alias": "",
|
||||||
"image_type": "machine",
|
"image_type": "machine",
|
||||||
"include_deprecated": false,
|
"include_deprecated": false,
|
||||||
"kernel_id": "",
|
"kernel_id": "",
|
||||||
"most_recent": true,
|
"most_recent": true,
|
||||||
"name": "Fedora-Cloud-Base-38-1.6.aarch64-hvm-us-east-2-gp2-0",
|
"name": "Fedora-Cloud-Base-AmazonEC2.aarch64-40-20241103.0",
|
||||||
"name_regex": null,
|
"name_regex": null,
|
||||||
"owner_id": "125523088429",
|
"owner_id": "125523088429",
|
||||||
"owners": [
|
"owners": [
|
||||||
|
@ -80,8 +80,8 @@
|
||||||
"ramdisk_id": "",
|
"ramdisk_id": "",
|
||||||
"root_device_name": "/dev/sda1",
|
"root_device_name": "/dev/sda1",
|
||||||
"root_device_type": "ebs",
|
"root_device_type": "ebs",
|
||||||
"root_snapshot_id": "snap-01034e15b97a1b584",
|
"root_snapshot_id": "snap-07538e4a365fd3b50",
|
||||||
"sriov_net_support": "",
|
"sriov_net_support": "simple",
|
||||||
"state": "available",
|
"state": "available",
|
||||||
"state_reason": {
|
"state_reason": {
|
||||||
"code": "UNSET",
|
"code": "UNSET",
|
||||||
|
@ -107,9 +107,9 @@
|
||||||
"schema_version": 0,
|
"schema_version": 0,
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"account_id": "566967686773",
|
"account_id": "566967686773",
|
||||||
"arn": "arn:aws:sts::566967686773:assumed-role/dynk8s-terraform/aws-go-sdk-1707258546409158274",
|
"arn": "arn:aws:sts::566967686773:assumed-role/dynk8s-terraform/aws-go-sdk-1730658663754942671",
|
||||||
"id": "566967686773",
|
"id": "566967686773",
|
||||||
"user_id": "AROAYIAPIKZ25DFDOYZHT:aws-go-sdk-1707258546409158274"
|
"user_id": "AROAYIAPIKZ25DFDOYZHT:aws-go-sdk-1730658663754942671"
|
||||||
},
|
},
|
||||||
"sensitive_attributes": []
|
"sensitive_attributes": []
|
||||||
}
|
}
|
||||||
|
@ -380,7 +380,7 @@
|
||||||
"capacity_reservation_specification": [],
|
"capacity_reservation_specification": [],
|
||||||
"cpu_options": [],
|
"cpu_options": [],
|
||||||
"credit_specification": [],
|
"credit_specification": [],
|
||||||
"default_version": 27,
|
"default_version": 30,
|
||||||
"description": "",
|
"description": "",
|
||||||
"disable_api_stop": false,
|
"disable_api_stop": false,
|
||||||
"disable_api_termination": false,
|
"disable_api_termination": false,
|
||||||
|
@ -391,7 +391,7 @@
|
||||||
"hibernation_options": [],
|
"hibernation_options": [],
|
||||||
"iam_instance_profile": [],
|
"iam_instance_profile": [],
|
||||||
"id": "lt-0789a3800bdaec215",
|
"id": "lt-0789a3800bdaec215",
|
||||||
"image_id": "ami-0dcd72048e69236de",
|
"image_id": "ami-025edd5571c20d10e",
|
||||||
"instance_initiated_shutdown_behavior": "",
|
"instance_initiated_shutdown_behavior": "",
|
||||||
"instance_market_options": [
|
"instance_market_options": [
|
||||||
{
|
{
|
||||||
|
@ -403,7 +403,7 @@
|
||||||
"instance_type": "c7gd.xlarge",
|
"instance_type": "c7gd.xlarge",
|
||||||
"kernel_id": "",
|
"kernel_id": "",
|
||||||
"key_name": "dustin@rosalina",
|
"key_name": "dustin@rosalina",
|
||||||
"latest_version": 27,
|
"latest_version": 30,
|
||||||
"license_specification": [],
|
"license_specification": [],
|
||||||
"maintenance_options": [],
|
"maintenance_options": [],
|
||||||
"metadata_options": [],
|
"metadata_options": [],
|
||||||
|
@ -501,7 +501,7 @@
|
||||||
"ingress": [
|
"ingress": [
|
||||||
{
|
{
|
||||||
"cidr_blocks": [
|
"cidr_blocks": [
|
||||||
"108.75.85.159/32"
|
"23.29.47.79/32"
|
||||||
],
|
],
|
||||||
"description": "",
|
"description": "",
|
||||||
"from_port": 22,
|
"from_port": 22,
|
||||||
|
|
Loading…
Reference in New Issue