-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from ethpandaops/bbusa/bumptf
feat: bump tf, change hetzner format, fix teku
- Loading branch information
Showing
9 changed files
with
417 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
ansible-lint==6.17.2 | ||
ansible==8.2.0 | ||
netaddr==0.8.0 | ||
pip==23.2.1 | ||
pip==23.3.1 | ||
PyYAML==6.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
//////////////////////////////////////////////////////////////////////////////////////// | ||
// TERRAFORM PROVIDERS & BACKEND | ||
//////////////////////////////////////////////////////////////////////////////////////// | ||
terraform { | ||
required_providers { | ||
digitalocean = { | ||
source = "digitalocean/digitalocean" | ||
version = "~> 2.28" | ||
} | ||
cloudflare = { | ||
source = "cloudflare/cloudflare" | ||
version = "~> 3.0" | ||
} | ||
hcloud = { | ||
source = "hetznercloud/hcloud" | ||
version = "~> 1.42.1" | ||
} | ||
random = { | ||
source = "hashicorp/random" | ||
version = "3.5.1" | ||
} | ||
} | ||
} | ||
|
||
terraform { | ||
backend "s3" { | ||
skip_credentials_validation = true | ||
skip_metadata_api_check = true | ||
endpoints = { s3 = "https://fra1.digitaloceanspaces.com" } | ||
skip_requesting_account_id = true | ||
region = "us-east-1" | ||
bucket = "merge-testnets" | ||
key = "infrastructure/devnet-0/hetzner-terraform.tfstate" | ||
} | ||
} | ||
|
||
provider "digitalocean" { | ||
http_retry_max = 20 | ||
} | ||
|
||
provider "cloudflare" { | ||
api_token = var.cloudflare_api_token | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////////////// | ||
// VARIABLES | ||
//////////////////////////////////////////////////////////////////////////////////////// | ||
variable "cloudflare_api_token" { | ||
type = string | ||
sensitive = true | ||
description = "Cloudflare API Token" | ||
} | ||
|
||
variable "ethereum_network" { | ||
type = string | ||
default = "template-devnet-0" | ||
} | ||
|
||
variable "base_cidr_block" { | ||
default = "10.76.0.0/16" | ||
} | ||
//////////////////////////////////////////////////////////////////////////////////////// | ||
// LOCALS | ||
//////////////////////////////////////////////////////////////////////////////////////// | ||
locals { | ||
vm_groups = [ | ||
var.bootnode, | ||
var.lighthouse_geth, | ||
var.lighthouse_nethermind, | ||
var.lighthouse_erigon, | ||
var.lighthouse_besu, | ||
var.lighthouse_ethereumjs, | ||
var.lighthouse_reth, | ||
var.prysm_geth, | ||
var.prysm_nethermind, | ||
var.prysm_erigon, | ||
var.prysm_besu, | ||
var.prysm_ethereumjs, | ||
var.prysm_reth, | ||
var.lodestar_geth, | ||
var.lodestar_nethermind, | ||
var.lodestar_erigon, | ||
var.lodestar_besu, | ||
var.lodestar_ethereumjs, | ||
var.lodestar_reth, | ||
var.nimbus_geth, | ||
var.nimbus_nethermind, | ||
var.nimbus_erigon, | ||
var.nimbus_besu, | ||
var.nimbus_ethereumjs, | ||
var.nimbus_reth, | ||
var.teku_geth, | ||
var.teku_nethermind, | ||
var.teku_erigon, | ||
var.teku_besu, | ||
var.teku_ethereumjs, | ||
var.teku_reth | ||
] | ||
} |
Oops, something went wrong.