We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79e8d85 commit 1146e9aCopy full SHA for 1146e9a
1 file changed
aws/main.tf
@@ -9,7 +9,7 @@ provider "aws" {
9
resource "aws_instance" "my_web_app" {
10
ami = "ami-005e54dee72cc1d00"
11
12
- instance_type = "m3.xlarge"
+ instance_type = "mm5.8xlarge"
13
14
tags = {
15
Environment = "production"
@@ -21,3 +21,15 @@ resource "aws_instance" "my_web_app" {
21
volume_size = 1000
22
}
23
24
+
25
+resource "aws_db_instance" "default" {
26
+ allocated_storage = 1000
27
+ db_name = "mydb"
28
+ engine = "mysql"
29
+ engine_version = "8.0"
30
+ instance_class = "db.t3.micro"
31
+ username = "foo"
32
+ password = "foobarbaz"
33
+ parameter_group_name = "default.mysql8.0"
34
+ skip_final_snapshot = true
35
+}
0 commit comments