From 08d9d996bdfe603e7dbcd2de36a5f4e4f6845484 Mon Sep 17 00:00:00 2001 From: Tarashish Mishra Date: Thu, 19 Dec 2024 17:03:05 +0530 Subject: [PATCH] Update the docs to specify that terraform changes should be applied locally --- docs/howto/filesystem-management/increase-size-aws-ebs.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/howto/filesystem-management/increase-size-aws-ebs.md b/docs/howto/filesystem-management/increase-size-aws-ebs.md index 35697cd1a..c6b0a514e 100644 --- a/docs/howto/filesystem-management/increase-size-aws-ebs.md +++ b/docs/howto/filesystem-management/increase-size-aws-ebs.md @@ -5,7 +5,13 @@ To increase the size of an AWS EBS volume, we need to increase the size of the E For example, to increase the size of the EBS volume used by `jupyterhub-home-nfs` for the `staging` hub in the `nasa-veda` cluster, we would increase the `size` parameter in the `ebs_volumes` block for the `staging` hub in the [tfvars file for the `nasa-veda` cluster](https://github.com/2i2c-org/infrastructure/blob/main/terraform/aws/projects/nasa-veda.tfvars). -The EBS volume will be resized automatically when the hub is deployed. +After updating the tfvars file, we need to plan and apply the changes using terraform: + + ```bash + cd terraform/aws + terraform plan -var-file=projects/$CLUSTER_NAME.tfvars + terraform apply -var-file=projects/$CLUSTER_NAME.tfvars + ``` ```{note} The size of an EBS volume can only be increased, not decreased.