Created
March 18, 2018 18:49
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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