Skip to content

Commit

Permalink
docs: Add ebs disk in complete example (#2773)
Browse files Browse the repository at this point in the history
📝 (complete) Add ebs disk in complete example

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
  • Loading branch information
knkcni and bryantbiggs authored Oct 31, 2023
1 parent bb8aae3 commit 69eb456
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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`
}
Expand Down

0 comments on commit 69eb456

Please sign in to comment.