You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,6 @@
2
2
### <palign="center">Spin up ETH clients. On AWS. In a minute.</p>
3
3
4
4
- The deployment takes no more than a minute
5
-
- The default OS is `debian12`
6
5
- All clients are managed through systemd
7
6
8
7
- The module takes care of the:
@@ -12,7 +11,7 @@
12
11
- Full examples can be found in the [examples](./examples/) directory.
13
12
> :warning: Be mindful with the security group's configuration. All the examples are simplified to allow all external traffic, which in most cases isn't recommended.
14
13
15
-
## Example with Reth & Lighthouse running sepolia
14
+
## Example with Reth & Lighthouse
16
15
```hcl
17
16
module "nodes" {
18
17
source = "../../"
@@ -92,13 +91,16 @@ MIT Licensed. See [LICENSE](./LICENSE) for full details.
| <aname="input_ami"></a> [ami](#input\_ami)| The base AMI to use for the EC2 | <pre>object({<br> name = string<br> })</pre> | <pre>{<br> "name": "debian-12-amd64-20230711-1438"<br>}</pre> | no |
123
-
| <aname="input_clients"></a> [clients](#input\_clients)| The ETH clients to deploy on the EC2 | <pre>list(<br> object({<br> name = string<br> package_url = string<br> cmd = string<br><br> ebs = optional(object({<br> device_name = string<br> mountpoint = string<br><br> // Required if we're attaching an external EBS, rather than creation one here<br> attach_external_ebs = optional(bool)<br> external_volume_id = optional(string)<br><br> // Required if we're creating an EBS, rather than attaching an external one<br> ebs_name = optional(string)<br> type = optional(string)<br> size = optional(number)<br> }))<br> }))</pre> | n/a | yes |
124
-
| <aname="input_ec2"></a> [ec2](#input\_ec2)| The EC2 configuration | <pre>object({<br> type = optional(string)<br> associate_public_ip_address = bool<br>key_name = string<br> security_group_ids = optional(list(string)) // optional external SGs; ones created outside of this module.<br> disable_api_stop = optional(bool)<br> disable_api_termination = optional(bool)<br> ebs_optimized = optional(bool)<br> get_password_data = optional(bool)<br> hibernation = optional(bool)<br> key_name = optional(string)<br> })</pre> |n/a|yes|
125
-
| <aname="input_name"></a> [name](#input\_name)| The generic name to apply across the different resources |`string`| n/a | yes |
126
+
| <aname="input_clients"></a> [clients](#input\_clients)| The nodes to deploy on the EC2 | <pre>list(<br> object({<br> name = string # name of the ethereum client<br> package_url = string # link to the url of the binary to download<br> cmd = string # the startup command of the client<br><br> ebs = optional(object({<br> device_name = string<br> mountpoint = string<br><br> # Required if we're attaching an external EBS, rather than creation one here<br> attach_external_ebs = optional(bool)<br> external_volume_id = optional(string)<br><br> # Required if we're creating an EBS, rather than attaching an external one<br> ebs_name = optional(string)<br> type = optional(string)<br> size = optional(number)<br> }))<br> }))</pre> | n/a | yes |
| <aname="input_name"></a> [name](#input\_name)| The generic name to apply across the different resources created in AWS |`string`| n/a | yes |
126
129
| <aname="input_security_group"></a> [security\_group](#input\_security\_group)| The security group rules to apply to the EC2 | <pre>list(object({<br> type = string<br> description = optional(string)<br> from = number<br> to = number<br> protocol = string<br> cidr_blocks = list(string)<br> }))</pre> |`[]`| no |
127
130
| <aname="input_subnet_id"></a> [subnet\_id](#input\_subnet\_id)| The subnet to deploy the EC2 in. Defaults to the first subnet returned by the data resource |`string`| n/a | yes |
0 commit comments