-
-
Save IronCore864/e5f4701b77f5325b52299e0c27a9fcdb 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 "password" { | |
type = string | |
default = "foobarbaz" | |
} | |
resource "aws_db_instance" "default" { | |
allocated_storage = 10 | |
engine = "mysql" | |
engine_version = "5.7" | |
instance_class = "db.t3.micro" | |
name = "mydb" | |
username = "foo" | |
password = var.password | |
parameter_group_name = "default.mysql5.7" | |
skip_final_snapshot = true | |
db_subnet_group_name = aws_db_subnet_group.default.name | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment