Skip to content

Commit

Permalink
fix issue with rds basic example 🐛 (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
tungbq authored Dec 3, 2023
2 parents 02dc645 + 61110dd commit e656f36
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 7 deletions.
25 changes: 25 additions & 0 deletions getting-started/rds/create-simple-rds/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions getting-started/rds/create-simple-rds/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
source = "hashicorp/aws"
version = "~> 4.16"
}
}
Expand All @@ -14,11 +14,11 @@ provider "aws" {
}

resource "aws_db_instance" "basic_rds_instance" {
engine = "mysql"
engine = "mysql"
allocated_storage = 20
instance_class = "db.t2.micro"
engine_version = "latest"
name = "my-rds-instance"
username = "root"
password = "password"
instance_class = "db.t2.micro"
engine_version = "5.7"
db_name = "my_rds_instance"
username = "root"
password = "password"
}

0 comments on commit e656f36

Please sign in to comment.