Skip to content

Commit

Permalink
fix: Fedora ami name regex is no longer valid. Fix redhat-developer#321.
Browse files Browse the repository at this point in the history
This commit update the regex expresison used to get the official Fedora AMIs on AWS

Signed-off-by: Adrian Riobo <[email protected]>
  • Loading branch information
adrianriobo committed Oct 29, 2024
1 parent 8d5f496 commit ec0bf1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/provider/aws/action/fedora/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ var (

// Official AMIs from Fedora use aarch64 format for arm64
amiRegex = map[string]string{
"x86_64": "Fedora-Cloud-Base-%s*x86_64*",
"arm64": "Fedora-Cloud-Base-%s*aarch64*",
"x86_64": "Fedora-Cloud-Base-AmazonEC2.x86_64-%s*",
"arm64": "Fedora-Cloud-Base-AmazonEC2.aarch64-%s*",
}
// This is the ID for AMIS from https://fedoraproject.org/cloud
amiOwner = "125523088429"
Expand Down

0 comments on commit ec0bf1e

Please sign in to comment.