Skip to content

Commit

Permalink
Upgrade the base AMI to Fedora 40
Browse files Browse the repository at this point in the history
  • Loading branch information
jsf9k committed May 15, 2024
1 parent dc10f39 commit 013791c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/packer.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ variable "skip_create_ami" {
type = bool
}

data "amazon-ami" "fedora_39" {
data "amazon-ami" "fedora_40" {
filters = {
name = "Fedora-Cloud-Base-39-*x86_64-hvm-*-gp3-*"
name = "Fedora-Cloud-Base-AmazonEC2.x86_64-40-*"
root-device-type = "ebs"
virtualization-type = "hvm"
}
Expand Down Expand Up @@ -103,7 +103,7 @@ source "amazon-ebs" "freeipa" {
region = var.build_region
region_kms_key_ids = var.region_kms_keys
skip_create_ami = var.skip_create_ami
source_ami = data.amazon-ami.fedora_39.id
source_ami = data.amazon-ami.fedora_40.id
ssh_username = "fedora"
subnet_filter {
filters = {
Expand All @@ -112,9 +112,9 @@ source "amazon-ebs" "freeipa" {
}
tags = {
Application = "FreeIPA server"
Base_AMI_Name = data.amazon-ami.fedora_39.name
Base_AMI_Name = data.amazon-ami.fedora_40.name
GitHub_Release_URL = var.release_url
OS_Version = "Fedora 39"
OS_Version = "Fedora 40"
Pre_Release = var.is_prerelease
Release = var.release_tag
Team = "VM Fusion - Development"
Expand Down

0 comments on commit 013791c

Please sign in to comment.