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
32a28356
Commit
32a28356
authored
Sep 27, 2017
by
Felipe Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Using `encrypted` to set the db_instance.storage_encrypted
parent
0e1f9c7a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
0 deletions
+12
-0
main.tf
main.tf
+1
-0
main.tf
modules/db_instance/main.tf
+1
-0
variables.tf
modules/db_instance/variables.tf
+5
-0
variables.tf
variables.tf
+5
-0
No files found.
main.tf
View file @
32a28356
...
...
@@ -39,6 +39,7 @@ module "db_instance" {
instance_class
=
"
${
var
.
instance_class
}
"
allocated_storage
=
"
${
var
.
allocated_storage
}
"
storage_type
=
"
${
var
.
storage_type
}
"
storage_encrypted
=
"
${
var
.
storage_encrypted
}
"
name
=
"
${
var
.
name
}
"
username
=
"
${
var
.
username
}
"
...
...
modules/db_instance/main.tf
View file @
32a28356
...
...
@@ -9,6 +9,7 @@ resource "aws_db_instance" "this" {
instance_class
=
"
${
var
.
instance_class
}
"
allocated_storage
=
"
${
var
.
allocated_storage
}
"
storage_type
=
"
${
var
.
storage_type
}
"
storage_encrypted
=
"
${
var
.
storage_encrypted
}
"
name
=
"
${
var
.
name
}
"
username
=
"
${
var
.
username
}
"
...
...
modules/db_instance/variables.tf
View file @
32a28356
...
...
@@ -11,6 +11,11 @@ variable "storage_type" {
default
=
"gp2"
}
variable
"storage_encrypted"
{
description
=
"Specifies whether the DB instance is encrypted"
default
=
false
}
variable
"engine"
{
description
=
"The database engine to use"
}
...
...
variables.tf
View file @
32a28356
...
...
@@ -11,6 +11,11 @@ variable "storage_type" {
default
=
"gp2"
}
variable
"storage_encrypted"
{
description
=
"Specifies whether the DB instance is encrypted"
default
=
false
}
variable
"engine"
{
description
=
"The database engine to use"
}
...
...
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