Skip to content

Commit 81bd9ee

Browse files
committed
added default values for instance_class and region
1 parent 4f014c5 commit 81bd9ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

variables.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ variable "db_admin" {
1616
variable "region" {
1717
description = "AWS Region"
1818
type = string
19+
default = "us-east-2"
1920
validation {
2021
condition = contains(["us-east-1", "us-east-2", "us-west-1", "us-west-2"], var.region)
2122
error_message = "Supported regions: us-east-1, us-east-2, us-west-1, us-west-2"
@@ -25,6 +26,7 @@ variable "region" {
2526
variable "instance_class" {
2627
description = "Instance Size"
2728
type = string
29+
default = "db.t3.micro"
2830
validation {
2931
condition = contains(["db.t3.micro"], var.instance_class)
3032
error_message = "Supported sizes: db.t3.micro"

0 commit comments

Comments
 (0)