diff --git a/README.md b/README.md index 29d498f..0cc93a1 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ More details about supported version in followed link https://registry.terraform ```hcl module "rds" { source = "FlexibleEngineCloud/rds/flexibleengine" - version = "1.0.0" + version = "2.1.5" vpc_name = "vpc-main" subnet_name = "subnet-cce" db_type = "MySQL" @@ -44,8 +44,8 @@ module "rds" { ### Terragrunt Configuration ### ################################ terraform { - source = "terraform-flexibleengine-modules/rds/flexibleengine" - version = "1.0.0" + source = "FlexibleEngineCloud/rds/flexibleengine" + version = "2.1.5" } include { path = find_in_parent_folders() @@ -100,7 +100,7 @@ Refer to [the FE RDS Documentation](https://docs.prod-cloud-ocb.orange-business. | rds\_instance\_volume\_encryption\_id | KMS Key id for encryption | `string` | `null` | no | | rds\_instance\_volume\_size | Volume size of instances | `number` | `0` | no | | rds\_instance\_volume\_type | Volume type of instances | `string` | `"COMMON"` | no | -| rds\_param\_group\_id | Parameters Group ID | `string` | `null` | no | +| rds\_parametergroup\_values | Map of the values of the parameter group | `map(string)` | `{}` | no | | rds\_read\_replicat\_list | n/a |
list(object({
name = string
flavor = string
availability_zone = string
volume_type = string
disk_encryption_id = string
}))
| n/a | yes | | subnet\_id | ID of the subnet | `string` | `""` | no | | vpc\_id | ID of the VPC | `string` | `null` | no | diff --git a/examples/parameter-group/main.tf b/examples/parameter-group/main.tf index bcaa94d..bd9c4a0 100644 --- a/examples/parameter-group/main.tf +++ b/examples/parameter-group/main.tf @@ -16,22 +16,9 @@ module "rds_sg" { ] } -resource "flexibleengine_rds_parametergroup_v3" "rds_parametergroup" { - name = "mysql-rds-test-pg" - description = "Set time_zone parameter of RDS" - values = { - time_zone = "Europe/Paris" - lower_case_table_names = "0" - } - datastore { - type = "mysql" - version = "5.6" - } -} - module "rds" { - source = "terraform-flexibleengine-modules/rds/flexibleengine" - version = "1.0.0" + source = "FlexibleEngineCloud/rds/flexibleengine" + version = "2.1.5" vpc_name = "vpc-main" subnet_name = "subnet-cce" @@ -53,8 +40,11 @@ module "rds" { rds_instance_volume_size = 100 rds_instance_az = ["eu-west-0a"] - rds_param_group_id = flexibleengine_rds_parametergroup_v3.rds_parametergroup.id + rds_parametergroup_values = { + time_zone = "Europe/Paris" + lower_case_table_names = "0" + } - depends_on = [module.rds_sg, flexibleengine_rds_parametergroup_v3.rds_parametergroup] + depends_on = [module.rds_sg] } \ No newline at end of file diff --git a/variables.tf b/variables.tf index 841eae3..d006e9b 100644 --- a/variables.tf +++ b/variables.tf @@ -106,7 +106,7 @@ variable "rds_read_replicat_list" { } variable "rds_parametergroup_values" { - description = "Map of the values of the paramter group" + description = "Map of the values of the parameter group" type = map(string) default = {} }