From 69eb4569b971c236682a79be9dd7f0db326bac1e Mon Sep 17 00:00:00 2001 From: knkcni <33808993+knkcni@users.noreply.github.com> Date: Tue, 31 Oct 2023 21:01:34 +0100 Subject: [PATCH] docs: Add ebs disk in complete example (#2773) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 📝 (complete) Add ebs disk in complete example Co-authored-by: Bryant Biggs --- examples/complete/main.tf | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/examples/complete/main.tf b/examples/complete/main.tf index e946906..184dba2 100644 --- a/examples/complete/main.tf +++ b/examples/complete/main.tf @@ -189,6 +189,19 @@ module "eks" { } } + block_device_mappings = { + xvda = { + device_name = "/dev/xvda" + ebs = { + volume_size = 100 + volume_type = "gp3" + iops = 3000 + throughput = 150 + delete_on_termination = true + } + } + } + update_config = { max_unavailable_percentage = 33 # or set `max_unavailable` }