Skip to content

Commit

Permalink
update default AMIs to Ubuntu 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaqiluo committed Jul 25, 2024
1 parent 62bec00 commit cd45fab
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions drivers/amazonec2/region.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,40 +8,40 @@ type region struct {
AmiId string
}

// Ubuntu 20.04 LTS hvm:ebs-ssd (amd64)
// Ubuntu 22.04 LTS hvm:ebs-ssd (amd64)
// See https://cloud-images.ubuntu.com/locator/ec2/
var regionDetails map[string]*region = map[string]*region{
"af-south-1": {"ami-0f974a103be1a32cc"},
"ap-northeast-1": {"ami-09ff2b6ef00accc2e"},
"ap-northeast-2": {"ami-0b329fb1f17558744"},
"ap-northeast-3": {"ami-0fa06c85437a220f5"},
"ap-southeast-1": {"ami-048b4b1ddefe6759f"},
"ap-southeast-2": {"ami-052a251c7ca533c26"},
"ap-southeast-4": {"ami-01b54c470a1da561d"},
"ap-south-1": {"ami-01957c76cce45de38"},
"ap-south-2": {"ami-0eaa3ccae04723740"},
"ap-east-1": {"ami-0a7893426ebe74a8c"},
"ca-central-1": {"ami-095509bf36d02a8e0"},
"ca-west-1": {"ami-07ce2430f97a1fad1"},
"cn-north-1": {"ami-0592ccadb56e65f8d"},
"cn-northwest-1": {"ami-007d0f254ea0f8588"},
"eu-central-1": {"ami-0d3905203a039e3b0"},
"eu-central-2": {"ami-0e5cf0e302a738bde"},
"eu-north-1": {"ami-0803bdfa576dd60c2"},
"eu-south-1": {"ami-08a4feb1e48d2f9d8"},
"eu-south-2": {"ami-048cc74e15ef972b1"},
"eu-west-1": {"ami-0b7fd7bc9c6fb1c78"},
"eu-west-2": {"ami-02ead6ecbd926d792"},
"eu-west-3": {"ami-0d7b738ade930e24a"},
"me-south-1": {"ami-0e53ffff39fa7b5c1"},
"me-central-1": {"ami-0bcb1a83b40b4f666"},
"sa-east-1": {"ami-03f2389c2526e67bd"},
"us-east-1": {"ami-04cc2b0ad9e30a9c8"},
"us-east-2": {"ami-02fc6052104add5ae"},
"us-west-1": {"ami-07be40433001d2433"},
"us-west-2": {"ami-0a62a78cfedc09d76"},
"us-gov-west-1": {"ami-0c39aacd1cc8a1ccf"},
"us-gov-east-1": {"ami-0dec4096f1af85e9b"},
"af-south-1": {"ami-041bbaef049568980"},
"ap-northeast-1": {"ami-08cc96be4321e5b1f"},
"ap-northeast-2": {"ami-01e69ea1a3e0010f9"},
"ap-northeast-3": {"ami-0f14d4518c5e11193"},
"ap-southeast-1": {"ami-0ee022cdf4828fb72"},
"ap-southeast-2": {"ami-0df7505ae337f9e56"},
"ap-southeast-4": {"ami-0961cde071a13cfcf"},
"ap-south-1": {"ami-0114b36a18ddfaa28"},
"ap-south-2": {"ami-066d98478cd8e4c77"},
"ap-east-1": {"ami-0da677a59bd878935"},
"ca-central-1": {"ami-0c28f754c18c566ea"},
"ca-west-1": {"ami-050e498a568657807"},
"cn-north-1": {"ami-0cee61fcc2abc6536"},
"cn-northwest-1": {"ami-063dbdfa885edce48"},
"eu-central-1": {"ami-0a43b9fc420cabb27"},
"eu-central-2": {"ami-0ba82ef40306fcb2f"},
"eu-north-1": {"ami-0d4a39b59c9b7a755"},
"eu-south-1": {"ami-0470471c569217367"},
"eu-south-2": {"ami-00ccf59845b355398"},
"eu-west-1": {"ami-0c6d91e4a58c413a9"},
"eu-west-2": {"ami-065908f87471c0a91"},
"eu-west-3": {"ami-03339502479ac056b"},
"me-south-1": {"ami-0d637f6739f30a48c"},
"me-central-1": {"ami-05ab10873f5acc36e"},
"sa-east-1": {"ami-050efed1b88ba70b4"},
"us-east-1": {"ami-013b3de8a8fa9b39f"},
"us-east-2": {"ami-024adb4f8af4c9df2"},
"us-west-1": {"ami-0b03b9afed756bb4b"},
"us-west-2": {"ami-09a13b25443518b29"},
"us-gov-west-1": {"ami-040a15d01bb152ac0"},
"us-gov-east-1": {"ami-093d375659859241e"},
"custom-endpoint": {""},
}

Expand Down

0 comments on commit cd45fab

Please sign in to comment.