aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'jinwei.me/infra/main.tf')
-rw-r--r--jinwei.me/infra/main.tf3
1 files changed, 3 insertions, 0 deletions
diff --git a/jinwei.me/infra/main.tf b/jinwei.me/infra/main.tf
index 235aba0..670b288 100644
--- a/jinwei.me/infra/main.tf
+++ b/jinwei.me/infra/main.tf
@@ -24,6 +24,9 @@ resource "aws_instance" "jinwei_me" {
24 24
25 root_block_device { 25 root_block_device {
26 volume_type = "gp3" 26 volume_type = "gp3"
27 // how to resize partition and file system after resizing ebs volume
28 // https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recognize-expanded-volume-linux.html
29 volume_size = "30"
27 tags = { 30 tags = {
28 Name = "${local.name}-root" 31 Name = "${local.name}-root"
29 } 32 }
Powered by cgit v1.2.3 (git 2.41.0)