Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
terraform-aws-rds
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Terraform Modules
terraform-aws-rds
Commits
657ec1e2
Commit
657ec1e2
authored
Dec 20, 2019
by
Anton Babenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added ca_cert_identifier to outputs
parent
85de0ce0
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
12 deletions
+23
-12
README.md
README.md
+1
-0
README.md
modules/db_instance/README.md
+1
-0
outputs.tf
modules/db_instance/outputs.tf
+16
-11
outputs.tf
outputs.tf
+5
-1
No files found.
README.md
View file @
657ec1e2
...
...
@@ -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 |
...
...
modules/db_instance/README.md
View file @
657ec1e2
...
...
@@ -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 |
...
...
modules/db_instance/outputs.tf
View file @
657ec1e2
...
...
@@ -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
}
outputs.tf
View file @
657ec1e2
...
...
@@ -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
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment