Skip to content

Instantly share code, notes, and snippets.

@jessedearing
Last active August 17, 2018 21:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jessedearing/64c1b409576004d1928c51dcff98b8bb to your computer and use it in GitHub Desktop.
Save jessedearing/64c1b409576004d1928c51dcff98b8bb to your computer and use it in GitHub Desktop.
resource "aws_db_instance" "main" {
allocated_storage = 10
storage_type = "gp2"
engine = "mysql"
engine_version = "5.7"
instance_class = "db.t2.micro"
name = "main"
username = "root"
password = "${data.external.something_in_one_password.result.password}"
parameter_group_name = "default.mysql5.7"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment