Skip to content

Commit 9ee862e

Browse files
authored
feat: Simplify instrance_parameters (Terraform 0.13) (#206)
1 parent 24957b1 commit 9ee862e

File tree

15 files changed

+282
-278
lines changed

15 files changed

+282
-278
lines changed

README.md

Lines changed: 113 additions & 112 deletions
Large diffs are not rendered by default.

examples/autoscaling/README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -19,50 +19,50 @@ Note that this example may create resources which cost money. Run `terraform des
1919

2020
| Name | Version |
2121
|------|---------|
22-
| terraform | >= 0.12.26 |
23-
| aws | >= 3.8 |
22+
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13 |
23+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.8 |
2424

2525
## Providers
2626

2727
| Name | Version |
2828
|------|---------|
29-
| aws | >= 3.8 |
29+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.8 |
3030

3131
## Modules
3232

3333
| Name | Source | Version |
3434
|------|--------|---------|
35-
| aurora | ../../ | |
36-
| disabled_aurora | ../../ | |
37-
| vpc | terraform-aws-modules/vpc/aws | ~> 2 |
35+
| <a name="module_aurora"></a> [aurora](#module\_aurora) | ../../ | |
36+
| <a name="module_disabled_aurora"></a> [disabled\_aurora](#module\_disabled\_aurora) | ../../ | |
37+
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 2 |
3838

3939
## Resources
4040

41-
| Name |
42-
|------|
43-
| [aws_db_parameter_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_parameter_group) |
44-
| [aws_rds_cluster_parameter_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster_parameter_group) |
41+
| Name | Type |
42+
|------|------|
43+
| [aws_db_parameter_group.example](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_parameter_group) | resource |
44+
| [aws_rds_cluster_parameter_group.example](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster_parameter_group) | resource |
4545

4646
## Inputs
4747

48-
No input.
48+
No inputs.
4949

5050
## Outputs
5151

5252
| Name | Description |
5353
|------|-------------|
54-
| this\_enhanced\_monitoring\_iam\_role\_arn | The Amazon Resource Name (ARN) specifying the enhanced monitoring role |
55-
| this\_enhanced\_monitoring\_iam\_role\_name | The name of the enhanced monitoring role |
56-
| this\_enhanced\_monitoring\_iam\_role\_unique\_id | Stable and unique string identifying the enhanced monitoring role |
57-
| this\_rds\_cluster\_database\_name | Name for an automatically created database on cluster creation |
58-
| this\_rds\_cluster\_endpoint | The cluster endpoint |
59-
| this\_rds\_cluster\_id | The ID of the cluster |
60-
| this\_rds\_cluster\_instance\_endpoints | A list of all cluster instance endpoints |
61-
| this\_rds\_cluster\_instance\_ids | A list of all cluster instance ids |
62-
| this\_rds\_cluster\_master\_password | The master password |
63-
| this\_rds\_cluster\_master\_username | The master username |
64-
| this\_rds\_cluster\_port | The port |
65-
| this\_rds\_cluster\_reader\_endpoint | The cluster reader endpoint |
66-
| this\_rds\_cluster\_resource\_id | The Resource ID of the cluster |
67-
| this\_security\_group\_id | The security group ID of the cluster |
54+
| <a name="output_this_enhanced_monitoring_iam_role_arn"></a> [this\_enhanced\_monitoring\_iam\_role\_arn](#output\_this\_enhanced\_monitoring\_iam\_role\_arn) | The Amazon Resource Name (ARN) specifying the enhanced monitoring role |
55+
| <a name="output_this_enhanced_monitoring_iam_role_name"></a> [this\_enhanced\_monitoring\_iam\_role\_name](#output\_this\_enhanced\_monitoring\_iam\_role\_name) | The name of the enhanced monitoring role |
56+
| <a name="output_this_enhanced_monitoring_iam_role_unique_id"></a> [this\_enhanced\_monitoring\_iam\_role\_unique\_id](#output\_this\_enhanced\_monitoring\_iam\_role\_unique\_id) | Stable and unique string identifying the enhanced monitoring role |
57+
| <a name="output_this_rds_cluster_database_name"></a> [this\_rds\_cluster\_database\_name](#output\_this\_rds\_cluster\_database\_name) | Name for an automatically created database on cluster creation |
58+
| <a name="output_this_rds_cluster_endpoint"></a> [this\_rds\_cluster\_endpoint](#output\_this\_rds\_cluster\_endpoint) | The cluster endpoint |
59+
| <a name="output_this_rds_cluster_id"></a> [this\_rds\_cluster\_id](#output\_this\_rds\_cluster\_id) | The ID of the cluster |
60+
| <a name="output_this_rds_cluster_instance_endpoints"></a> [this\_rds\_cluster\_instance\_endpoints](#output\_this\_rds\_cluster\_instance\_endpoints) | A list of all cluster instance endpoints |
61+
| <a name="output_this_rds_cluster_instance_ids"></a> [this\_rds\_cluster\_instance\_ids](#output\_this\_rds\_cluster\_instance\_ids) | A list of all cluster instance ids |
62+
| <a name="output_this_rds_cluster_master_password"></a> [this\_rds\_cluster\_master\_password](#output\_this\_rds\_cluster\_master\_password) | The master password |
63+
| <a name="output_this_rds_cluster_master_username"></a> [this\_rds\_cluster\_master\_username](#output\_this\_rds\_cluster\_master\_username) | The master username |
64+
| <a name="output_this_rds_cluster_port"></a> [this\_rds\_cluster\_port](#output\_this\_rds\_cluster\_port) | The port |
65+
| <a name="output_this_rds_cluster_reader_endpoint"></a> [this\_rds\_cluster\_reader\_endpoint](#output\_this\_rds\_cluster\_reader\_endpoint) | The cluster reader endpoint |
66+
| <a name="output_this_rds_cluster_resource_id"></a> [this\_rds\_cluster\_resource\_id](#output\_this\_rds\_cluster\_resource\_id) | The Resource ID of the cluster |
67+
| <a name="output_this_security_group_id"></a> [this\_security\_group\_id](#output\_this\_security\_group\_id) | The security group ID of the cluster |
6868
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

examples/autoscaling/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
terraform {
2-
required_version = ">= 0.12.26"
2+
required_version = ">= 0.13"
33

44
required_providers {
55
aws = {

examples/custom_instance_settings/README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,45 +19,45 @@ Note that this example may create resources which cost money. Run `terraform des
1919

2020
| Name | Version |
2121
|------|---------|
22-
| terraform | >= 0.12.26 |
23-
| aws | >= 3.8 |
22+
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13 |
23+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.8 |
2424

2525
## Providers
2626

2727
| Name | Version |
2828
|------|---------|
29-
| aws | >= 3.8 |
29+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.8 |
3030

3131
## Modules
3232

3333
| Name | Source | Version |
3434
|------|--------|---------|
35-
| aurora | ../../ | |
36-
| vpc | terraform-aws-modules/vpc/aws | ~> 2 |
35+
| <a name="module_aurora"></a> [aurora](#module\_aurora) | ../../ | |
36+
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 2 |
3737

3838
## Resources
3939

40-
| Name |
41-
|------|
42-
| [aws_db_parameter_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_parameter_group) |
43-
| [aws_rds_cluster_parameter_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster_parameter_group) |
40+
| Name | Type |
41+
|------|------|
42+
| [aws_db_parameter_group.example](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_parameter_group) | resource |
43+
| [aws_rds_cluster_parameter_group.example](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster_parameter_group) | resource |
4444

4545
## Inputs
4646

47-
No input.
47+
No inputs.
4848

4949
## Outputs
5050

5151
| Name | Description |
5252
|------|-------------|
53-
| this\_rds\_cluster\_database\_name | Name for an automatically created database on cluster creation |
54-
| this\_rds\_cluster\_endpoint | The cluster endpoint |
55-
| this\_rds\_cluster\_id | The ID of the cluster |
56-
| this\_rds\_cluster\_instance\_endpoints | A list of all cluster instance endpoints |
57-
| this\_rds\_cluster\_master\_password | The master password |
58-
| this\_rds\_cluster\_master\_username | The master username |
59-
| this\_rds\_cluster\_port | The port |
60-
| this\_rds\_cluster\_reader\_endpoint | The cluster reader endpoint |
61-
| this\_rds\_cluster\_resource\_id | The Resource ID of the cluster |
62-
| this\_security\_group\_id | The security group ID of the cluster |
53+
| <a name="output_this_rds_cluster_database_name"></a> [this\_rds\_cluster\_database\_name](#output\_this\_rds\_cluster\_database\_name) | Name for an automatically created database on cluster creation |
54+
| <a name="output_this_rds_cluster_endpoint"></a> [this\_rds\_cluster\_endpoint](#output\_this\_rds\_cluster\_endpoint) | The cluster endpoint |
55+
| <a name="output_this_rds_cluster_id"></a> [this\_rds\_cluster\_id](#output\_this\_rds\_cluster\_id) | The ID of the cluster |
56+
| <a name="output_this_rds_cluster_instance_endpoints"></a> [this\_rds\_cluster\_instance\_endpoints](#output\_this\_rds\_cluster\_instance\_endpoints) | A list of all cluster instance endpoints |
57+
| <a name="output_this_rds_cluster_master_password"></a> [this\_rds\_cluster\_master\_password](#output\_this\_rds\_cluster\_master\_password) | The master password |
58+
| <a name="output_this_rds_cluster_master_username"></a> [this\_rds\_cluster\_master\_username](#output\_this\_rds\_cluster\_master\_username) | The master username |
59+
| <a name="output_this_rds_cluster_port"></a> [this\_rds\_cluster\_port](#output\_this\_rds\_cluster\_port) | The port |
60+
| <a name="output_this_rds_cluster_reader_endpoint"></a> [this\_rds\_cluster\_reader\_endpoint](#output\_this\_rds\_cluster\_reader\_endpoint) | The cluster reader endpoint |
61+
| <a name="output_this_rds_cluster_resource_id"></a> [this\_rds\_cluster\_resource\_id](#output\_this\_rds\_cluster\_resource\_id) | The Resource ID of the cluster |
62+
| <a name="output_this_security_group_id"></a> [this\_security\_group\_id](#output\_this\_security\_group\_id) | The security group ID of the cluster |
6363
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

examples/custom_instance_settings/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
terraform {
2-
required_version = ">= 0.12.26"
2+
required_version = ">= 0.13"
33

44
required_providers {
55
aws = {

examples/mysql/README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -19,49 +19,49 @@ Note that this example may create resources which cost money. Run `terraform des
1919

2020
| Name | Version |
2121
|------|---------|
22-
| terraform | >= 0.12.26 |
23-
| aws | >= 3.8 |
24-
| random | >= 2.2 |
22+
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13 |
23+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.8 |
24+
| <a name="requirement_random"></a> [random](#requirement\_random) | >= 2.2 |
2525

2626
## Providers
2727

2828
| Name | Version |
2929
|------|---------|
30-
| aws | >= 3.8 |
31-
| random | >= 2.2 |
30+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.8 |
31+
| <a name="provider_random"></a> [random](#provider\_random) | >= 2.2 |
3232

3333
## Modules
3434

3535
| Name | Source | Version |
3636
|------|--------|---------|
37-
| aurora | ../../ | |
38-
| vpc | terraform-aws-modules/vpc/aws | ~> 2 |
37+
| <a name="module_aurora"></a> [aurora](#module\_aurora) | ../../ | |
38+
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 2 |
3939

4040
## Resources
4141

42-
| Name |
43-
|------|
44-
| [aws_db_parameter_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_parameter_group) |
45-
| [aws_rds_cluster_parameter_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster_parameter_group) |
46-
| [random_password](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/password) |
42+
| Name | Type |
43+
|------|------|
44+
| [aws_db_parameter_group.example](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_parameter_group) | resource |
45+
| [aws_rds_cluster_parameter_group.example](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster_parameter_group) | resource |
46+
| [random_password.master](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/password) | resource |
4747

4848
## Inputs
4949

50-
No input.
50+
No inputs.
5151

5252
## Outputs
5353

5454
| Name | Description |
5555
|------|-------------|
56-
| this\_rds\_cluster\_database\_name | Name for an automatically created database on cluster creation |
57-
| this\_rds\_cluster\_endpoint | The cluster endpoint |
58-
| this\_rds\_cluster\_id | The ID of the cluster |
59-
| this\_rds\_cluster\_instance\_endpoints | A list of all cluster instance endpoints |
60-
| this\_rds\_cluster\_instance\_ids | A list of all cluster instance ids |
61-
| this\_rds\_cluster\_master\_password | The master password |
62-
| this\_rds\_cluster\_master\_username | The master username |
63-
| this\_rds\_cluster\_port | The port |
64-
| this\_rds\_cluster\_reader\_endpoint | The cluster reader endpoint |
65-
| this\_rds\_cluster\_resource\_id | The Resource ID of the cluster |
66-
| this\_security\_group\_id | The security group ID of the cluster |
56+
| <a name="output_this_rds_cluster_database_name"></a> [this\_rds\_cluster\_database\_name](#output\_this\_rds\_cluster\_database\_name) | Name for an automatically created database on cluster creation |
57+
| <a name="output_this_rds_cluster_endpoint"></a> [this\_rds\_cluster\_endpoint](#output\_this\_rds\_cluster\_endpoint) | The cluster endpoint |
58+
| <a name="output_this_rds_cluster_id"></a> [this\_rds\_cluster\_id](#output\_this\_rds\_cluster\_id) | The ID of the cluster |
59+
| <a name="output_this_rds_cluster_instance_endpoints"></a> [this\_rds\_cluster\_instance\_endpoints](#output\_this\_rds\_cluster\_instance\_endpoints) | A list of all cluster instance endpoints |
60+
| <a name="output_this_rds_cluster_instance_ids"></a> [this\_rds\_cluster\_instance\_ids](#output\_this\_rds\_cluster\_instance\_ids) | A list of all cluster instance ids |
61+
| <a name="output_this_rds_cluster_master_password"></a> [this\_rds\_cluster\_master\_password](#output\_this\_rds\_cluster\_master\_password) | The master password |
62+
| <a name="output_this_rds_cluster_master_username"></a> [this\_rds\_cluster\_master\_username](#output\_this\_rds\_cluster\_master\_username) | The master username |
63+
| <a name="output_this_rds_cluster_port"></a> [this\_rds\_cluster\_port](#output\_this\_rds\_cluster\_port) | The port |
64+
| <a name="output_this_rds_cluster_reader_endpoint"></a> [this\_rds\_cluster\_reader\_endpoint](#output\_this\_rds\_cluster\_reader\_endpoint) | The cluster reader endpoint |
65+
| <a name="output_this_rds_cluster_resource_id"></a> [this\_rds\_cluster\_resource\_id](#output\_this\_rds\_cluster\_resource\_id) | The Resource ID of the cluster |
66+
| <a name="output_this_security_group_id"></a> [this\_security\_group\_id](#output\_this\_security\_group\_id) | The security group ID of the cluster |
6767
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

examples/mysql/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
terraform {
2-
required_version = ">= 0.12.26"
2+
required_version = ">= 0.13"
33

44
required_providers {
55
aws = {

examples/postgresql/README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -19,49 +19,49 @@ Note that this example may create resources which cost money. Run `terraform des
1919

2020
| Name | Version |
2121
|------|---------|
22-
| terraform | >= 0.12.26 |
23-
| aws | >= 3.8 |
24-
| random | >= 2.2 |
22+
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13 |
23+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.8 |
24+
| <a name="requirement_random"></a> [random](#requirement\_random) | >= 2.2 |
2525

2626
## Providers
2727

2828
| Name | Version |
2929
|------|---------|
30-
| aws | >= 3.8 |
31-
| random | >= 2.2 |
30+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.8 |
31+
| <a name="provider_random"></a> [random](#provider\_random) | >= 2.2 |
3232

3333
## Modules
3434

3535
| Name | Source | Version |
3636
|------|--------|---------|
37-
| aurora | ../../ | |
38-
| vpc | terraform-aws-modules/vpc/aws | ~> 2 |
37+
| <a name="module_aurora"></a> [aurora](#module\_aurora) | ../../ | |
38+
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 2 |
3939

4040
## Resources
4141

42-
| Name |
43-
|------|
44-
| [aws_db_parameter_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_parameter_group) |
45-
| [aws_rds_cluster_parameter_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster_parameter_group) |
46-
| [random_password](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/password) |
42+
| Name | Type |
43+
|------|------|
44+
| [aws_db_parameter_group.example](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_parameter_group) | resource |
45+
| [aws_rds_cluster_parameter_group.example](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster_parameter_group) | resource |
46+
| [random_password.master](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/password) | resource |
4747

4848
## Inputs
4949

50-
No input.
50+
No inputs.
5151

5252
## Outputs
5353

5454
| Name | Description |
5555
|------|-------------|
56-
| this\_rds\_cluster\_database\_name | Name for an automatically created database on cluster creation |
57-
| this\_rds\_cluster\_endpoint | The cluster endpoint |
58-
| this\_rds\_cluster\_id | The ID of the cluster |
59-
| this\_rds\_cluster\_instance\_endpoints | A list of all cluster instance endpoints |
60-
| this\_rds\_cluster\_instance\_ids | A list of all cluster instance ids |
61-
| this\_rds\_cluster\_master\_password | The master password |
62-
| this\_rds\_cluster\_master\_username | The master username |
63-
| this\_rds\_cluster\_port | The port |
64-
| this\_rds\_cluster\_reader\_endpoint | The cluster reader endpoint |
65-
| this\_rds\_cluster\_resource\_id | The Resource ID of the cluster |
66-
| this\_security\_group\_id | The security group ID of the cluster |
56+
| <a name="output_this_rds_cluster_database_name"></a> [this\_rds\_cluster\_database\_name](#output\_this\_rds\_cluster\_database\_name) | Name for an automatically created database on cluster creation |
57+
| <a name="output_this_rds_cluster_endpoint"></a> [this\_rds\_cluster\_endpoint](#output\_this\_rds\_cluster\_endpoint) | The cluster endpoint |
58+
| <a name="output_this_rds_cluster_id"></a> [this\_rds\_cluster\_id](#output\_this\_rds\_cluster\_id) | The ID of the cluster |
59+
| <a name="output_this_rds_cluster_instance_endpoints"></a> [this\_rds\_cluster\_instance\_endpoints](#output\_this\_rds\_cluster\_instance\_endpoints) | A list of all cluster instance endpoints |
60+
| <a name="output_this_rds_cluster_instance_ids"></a> [this\_rds\_cluster\_instance\_ids](#output\_this\_rds\_cluster\_instance\_ids) | A list of all cluster instance ids |
61+
| <a name="output_this_rds_cluster_master_password"></a> [this\_rds\_cluster\_master\_password](#output\_this\_rds\_cluster\_master\_password) | The master password |
62+
| <a name="output_this_rds_cluster_master_username"></a> [this\_rds\_cluster\_master\_username](#output\_this\_rds\_cluster\_master\_username) | The master username |
63+
| <a name="output_this_rds_cluster_port"></a> [this\_rds\_cluster\_port](#output\_this\_rds\_cluster\_port) | The port |
64+
| <a name="output_this_rds_cluster_reader_endpoint"></a> [this\_rds\_cluster\_reader\_endpoint](#output\_this\_rds\_cluster\_reader\_endpoint) | The cluster reader endpoint |
65+
| <a name="output_this_rds_cluster_resource_id"></a> [this\_rds\_cluster\_resource\_id](#output\_this\_rds\_cluster\_resource\_id) | The Resource ID of the cluster |
66+
| <a name="output_this_security_group_id"></a> [this\_security\_group\_id](#output\_this\_security\_group\_id) | The security group ID of the cluster |
6767
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

examples/postgresql/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
terraform {
2-
required_version = ">= 0.12.26"
2+
required_version = ">= 0.13"
33

44
required_providers {
55
aws = {

0 commit comments

Comments
 (0)