Skip to content

Commit 6d2288c

Browse files
authored
Merge pull request #78 from sourcefuse/version-update
updating provide, Tf versions and db_parameter_group
2 parents 8e0252b + 1195d7a commit 6d2288c

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

example/.terraform.lock.hcl

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
## defaults
33
################################################################################
44
terraform {
5-
required_version = ">= 1.3, < 2.0.0"
5+
required_version = "~> 1.3, < 2.0.0"
66

77
required_providers {
88
aws = {
99
source = "hashicorp/aws"
10-
version = ">= 4.0"
10+
version = ">= 4.0, < 6.0"
1111
}
1212
}
1313
}
@@ -74,7 +74,7 @@ module "rds_sql_server" {
7474
rds_instance_engine = "sqlserver-ex" // express edition.
7575
rds_instance_engine_version = "16.00.4105.2.v1"
7676
rds_instance_major_engine_version = "16.00"
77-
rds_instance_db_parameter_group = "default.sqlserver-ex-16.0"
77+
rds_instance_db_parameter_group = "sqlserver-ex-16.0"
7878
rds_instance_db_parameter = []
7979
rds_instance_db_options = []
8080
rds_enable_custom_option_group = true
@@ -83,7 +83,7 @@ module "rds_sql_server" {
8383
rds_instance_multi_az = false
8484
rds_instance_storage_type = "gp3"
8585
rds_instance_instance_class = "db.t3.small"
86-
rds_instance_allocated_storage = 25
86+
rds_instance_allocated_storage = 400
8787
rds_instance_storage_encrypted = false // sql server express doesn't support encryption at rest
8888
rds_instance_snapshot_identifier = null
8989
rds_instance_auto_minor_version_upgrade = true

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ variable "rds_instance_database_port" {
319319
variable "rds_instance_engine" {
320320
type = string
321321
description = "Database engine type. Required unless a snapshot_identifier or replicate_source_db is provided. For supported values, see the Engine parameter in API action CreateDBInstance."
322-
default = "postgres"
322+
default = "sqlserver-*"
323323
}
324324

325325
variable "rds_instance_engine_version" {

versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
terraform {
2-
required_version = ">= 1.3, < 2.0.0"
2+
required_version = "~> 1.3, < 2.0.0"
33

44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 4.0"
7+
version = ">= 4.0, < 6.0"
88
}
99

1010
null = {

0 commit comments

Comments
 (0)