Created
May 1, 2020 09:01
-
-
Save valery-zhurbenko/dee89913e18a7ed1cbf47d3dd0ab9199 to your computer and use it in GitHub Desktop.
This file contains 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
variable volume_size { | |
default = "20" | |
} | |
resource "aws_instance" "web" { | |
ami = "AL2_x86_64" | |
instance_type = "t2.micro" | |
root_block_device { | |
volume_size = var.volume_size | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment