Skip to content

Commit

Permalink
Change equinix metal examples to be the new metro based setup (pulumi…
Browse files Browse the repository at this point in the history
  • Loading branch information
stack72 committed Feb 3, 2022
1 parent 82266e1 commit 15e2130
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions equinix-metal-py-webserver/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
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",
Expand Down
4 changes: 2 additions & 2 deletions equinix-metal-ts-webserver/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 15e2130

Please sign in to comment.