Skip to content

Instantly share code, notes, and snippets.

@miry
Created March 18, 2018 18:49
Show Gist options
  • Save miry/acc89e8257184e040c88c1d5aed65e90 to your computer and use it in GitHub Desktop.
Save miry/acc89e8257184e040c88c1d5aed65e90 to your computer and use it in GitHub Desktop.
REsize Amazon EBS volumes without a reboot: Step 1 Create a terraform resource
// volumes.tf
resource "aws_ebs_volume" "mysql" {
availability_zone = "us-east-1a"
size = 1000
type = "gp2"
tags {
Name = "mysql"
Role = "db"
Terraform = "true"
FS = "xfs"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment