Change equinix metal examples to be the new metro based setup
MODIFY
equinix-metal-py-webserver/__main__.py
equinix-metal-py-webserver/__main__.py
@@ -11,10 +11,10 @@ project = metal.get_project(
vm = metal.Device(
"vm",
billing_cycle="hourly",
- facilities=["ewr1"],
+ metro="da",
hostname=random_host_name.id,
operating_system="ubuntu_20_04",
- plan="baremetal_1",
+ plan="c3.small.x86",
project_id=project.id,
ip_addresses=[{
"type": "public_ipv4",

MODIFY
equinix-metal-ts-webserver/index.ts
equinix-metal-ts-webserver/index.ts
@@ -8,11 +8,11 @@ const randomHostName = new random.RandomPet("hostname");
const project = metal.getProject({name: "ci-project"});
const vm = new metal.Device("vm", {
- facilities: [metal.Facility.EWR1],
+ metro: "da",
billingCycle: metal.BillingCycle.Hourly,
hostname: randomHostName.id,
operatingSystem: metal.OperatingSystem.Ubuntu2004,
- plan: metal.Plan.C1SmallX86,
+ plan: metal.Plan.C3SmallX86,
projectId: project.then(p => p.id),
ipAddresses: [{
type: "public_ipv4",

Change equinix metal examples to be the new metro based setup (#1163)