Skip to content

Commit

Permalink
add macOS sonoma (aws#395)
Browse files Browse the repository at this point in the history
* add macOS sonoma
  • Loading branch information
ymtaye authored Mar 5, 2024
1 parent 2e403f6 commit 3c62d6b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions generator/resources/ec2_mac_test_matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,17 @@
"instanceType":"mac1.metal",
"ami": "cloudwatch-agent-integration-test-mac-monterey-x86",
"arc": "amd64"
},
{
"os": "macOS Sonoma Arm64",
"instanceType":"mac2.metal",
"ami": "cloudwatch-agent-integration-test-mac-sonoma-arm64",
"arc": "arm64"
},
{
"os": "macOS Sonoma Amd64",
"instanceType":"mac1.metal",
"ami": "cloudwatch-agent-integration-test-mac-sonoma-x86",
"arc": "amd64"
}
]
2 changes: 2 additions & 0 deletions terraform/setup/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,11 @@ resource "aws_ec2_host" "dedicated_host" {
## and upper bound for the newest version of Mac we support MacOS Ventura)
for_each = {
"Ventura_x86_64" : "mac1.metal"
"Sonoma_x86_64" : "mac1.metal"
"Big_Sur_x86_64" : "mac1.metal"
"Ventura_arm64" : "mac2.metal"
"Big_Sur_arm64" : "mac2.metal"
"Sonoma_arm64" : "mac2.metal"
}

## Map 4x1 for avoid claimng resources
Expand Down

0 comments on commit 3c62d6b

Please sign in to comment.