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
9bd4d7ee
Commit
9bd4d7ee
authored
Dec 08, 2017
by
Anton Babenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed warning in output (fixes #32 and #31)
parent
7d1ad362
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
README.md
README.md
+1
-1
main.tf
examples/complete/mysql/main.tf
+2
-1
outputs.tf
modules/db_parameter_group/outputs.tf
+2
-2
No files found.
README.md
View file @
9bd4d7ee
...
...
@@ -25,7 +25,7 @@ module "db" {
identifier
=
"demodb"
engine
=
"mysql"
engine_version
=
"5.7.1
1
"
engine_version
=
"5.7.1
9
"
instance_class
=
"db.t2.large"
allocated_storage
=
5
...
...
examples/complete/mysql/main.tf
View file @
9bd4d7ee
...
...
@@ -26,8 +26,9 @@ module "db" {
identifier
=
"demodb"
# All available versions: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt
engine
=
"mysql"
engine_version
=
"5.7.1
1
"
engine_version
=
"5.7.1
9
"
instance_class
=
"db.t2.large"
allocated_storage
=
5
storage_encrypted
=
false
...
...
modules/db_parameter_group/outputs.tf
View file @
9bd4d7ee
# DB parameter group
output
"this_db_parameter_group_id"
{
description
=
"The db parameter group id"
value
=
"
${
aws_db_parameter_group
.
this
.
id
}
"
value
=
"
${
element
(
split
(
","
,
join
(
","
,
aws_db_parameter_group
.
this
.
*
.
id
)),
0
)
}
"
}
output
"this_db_parameter_group_arn"
{
description
=
"The ARN of the db parameter group"
value
=
"
${
aws_db_parameter_group
.
this
.
arn
}
"
value
=
"
${
element
(
split
(
","
,
join
(
","
,
aws_db_parameter_group
.
this
.
*
.
arn
)),
0
)
}
"
}
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