Commit 657ec1e2 authored by Anton Babenko's avatar Anton Babenko

Added ca_cert_identifier to outputs

parent 85de0ce0
......@@ -206,6 +206,7 @@ module "db" {
| this\_db\_instance\_address | The address of the RDS instance |
| this\_db\_instance\_arn | The ARN of the RDS instance |
| this\_db\_instance\_availability\_zone | The availability zone of the RDS instance |
| this\_db\_instance\_ca\_cert\_identifier | Specifies the identifier of the CA certificate for the DB instance |
| this\_db\_instance\_endpoint | The connection endpoint |
| this\_db\_instance\_hosted\_zone\_id | The canonical hosted zone ID of the DB instance \(to be used in a Route 53 Alias record\) |
| this\_db\_instance\_id | The RDS instance ID |
......
......@@ -61,6 +61,7 @@
| this\_db\_instance\_address | The address of the RDS instance |
| this\_db\_instance\_arn | The ARN of the RDS instance |
| this\_db\_instance\_availability\_zone | The availability zone of the RDS instance |
| this\_db\_instance\_ca\_cert\_identifier | Specifies the identifier of the CA certificate for the DB instance |
| this\_db\_instance\_endpoint | The connection endpoint |
| this\_db\_instance\_hosted\_zone\_id | The canonical hosted zone ID of the DB instance \(to be used in a Route 53 Alias record\) |
| this\_db\_instance\_id | The RDS instance ID |
......
......@@ -10,6 +10,7 @@ locals {
this_db_instance_name = element(concat(aws_db_instance.this_mssql.*.name, aws_db_instance.this.*.name, [""]), 0)
this_db_instance_username = element(concat(aws_db_instance.this_mssql.*.username, aws_db_instance.this.*.username, [""]), 0)
this_db_instance_port = element(concat(aws_db_instance.this_mssql.*.port, aws_db_instance.this.*.port, [""]), 0)
this_db_instance_ca_cert_identifier = element(concat(aws_db_instance.this_mssql.*.ca_cert_identifier, aws_db_instance.this.*.ca_cert_identifier, [""]), 0)
}
output "this_db_instance_address" {
......@@ -67,3 +68,7 @@ output "this_db_instance_port" {
value = local.this_db_instance_port
}
output "this_db_instance_ca_cert_identifier" {
description = "Specifies the identifier of the CA certificate for the DB instance"
value = local.this_db_instance_ca_cert_identifier
}
......@@ -58,6 +58,11 @@ output "this_db_instance_port" {
value = module.db_instance.this_db_instance_port
}
output "this_db_instance_ca_cert_identifier" {
description = "Specifies the identifier of the CA certificate for the DB instance"
value = module.db_instance.this_db_instance_ca_cert_identifier
}
output "this_db_subnet_group_id" {
description = "The db subnet group name"
value = module.db_subnet_group.this_db_subnet_group_id
......@@ -88,4 +93,3 @@ output "this_db_option_group_arn" {
description = "The ARN of the db option group"
value = module.db_option_group.this_db_option_group_arn
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment