mirror of
https://github.com/status-im/libp2p-test-plans.git
synced 2025-02-22 03:28:16 +00:00
Previously only the maximum udp **receive** buffer size was increased to `2500000` bytes. With this commit both the send and the receive buffer size is increase.
31 lines
478 B
HCL
31 lines
478 B
HCL
terraform {
|
|
required_providers {
|
|
aws = {
|
|
source = "hashicorp/aws"
|
|
version = "4.67.0"
|
|
}
|
|
}
|
|
}
|
|
|
|
resource "aws_key_pair" "perf" {
|
|
key_name_prefix = "perf-"
|
|
public_key = file("${path.module}/files/perf.pub")
|
|
}
|
|
|
|
resource "aws_instance" "perf" {
|
|
tags = {
|
|
Name = "perf-node"
|
|
}
|
|
|
|
launch_template {
|
|
name = "perf-node"
|
|
version = "4"
|
|
}
|
|
|
|
key_name = aws_key_pair.perf.key_name
|
|
}
|
|
|
|
output "public_ip" {
|
|
value = aws_instance.perf.public_ip
|
|
}
|