Skip to content

Commit

Permalink
chore: Change efs volumes to use bursting throughput (#8370)
Browse files Browse the repository at this point in the history
This PR changes our EFS volumes to use the default (burst) throughput
mode
  • Loading branch information
PhilWindle authored Sep 4, 2024
1 parent 8fe045c commit d6ebe3e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
4 changes: 1 addition & 3 deletions yarn-project/aztec/terraform/node/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,7 @@ resource "aws_service_discovery_service" "aztec-node" {

# Configure an EFS filesystem.
resource "aws_efs_file_system" "node_data_store" {
creation_token = "${var.DEPLOY_TAG}-node-data"
throughput_mode = "provisioned"
provisioned_throughput_in_mibps = 20
creation_token = "${var.DEPLOY_TAG}-node-data"

tags = {
Name = "${var.DEPLOY_TAG}-node-data"
Expand Down
2 changes: 0 additions & 2 deletions yarn-project/aztec/terraform/prover-node/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ resource "aws_service_discovery_service" "aztec-prover-node" {
# Configure an EFS filesystem.
resource "aws_efs_file_system" "prover_node_data_store" {
creation_token = "${var.DEPLOY_TAG}-prover-node-data"
throughput_mode = "provisioned"
provisioned_throughput_in_mibps = 20

tags = {
Name = "${var.DEPLOY_TAG}-prover-node-data"
Expand Down
4 changes: 1 addition & 3 deletions yarn-project/aztec/terraform/pxe/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ resource "aws_service_discovery_service" "aztec-pxe" {
}

resource "aws_efs_file_system" "pxe_data_store" {
creation_token = "${var.DEPLOY_TAG}-pxe-data"
throughput_mode = "provisioned"
provisioned_throughput_in_mibps = 20
creation_token = "${var.DEPLOY_TAG}-pxe-data"

tags = {
Name = "${var.DEPLOY_TAG}-pxe-data"
Expand Down

0 comments on commit d6ebe3e

Please sign in to comment.