39 lines
782 B
Plaintext
39 lines
782 B
Plaintext
![]() |
include::../description.adoc[]
|
||
|
|
||
|
include::../ask-yourself.adoc[]
|
||
|
|
||
|
include::../recommended.adoc[]
|
||
|
|
||
|
== Sensitive Code Example
|
||
|
|
||
|
For https://aws.amazon.com/rds/[Amazon Relational Database Service] clusters and instances:
|
||
|
|
||
|
----
|
||
|
resource "aws_db_instance" "relational_database" {
|
||
|
name = "non_compliant_db"
|
||
|
backup_retention_period = 2 # Sensitive
|
||
|
}
|
||
|
----
|
||
|
|
||
|
== Compliant Solution
|
||
|
|
||
|
For https://aws.amazon.com/rds/[Amazon Relational Database Service] clusters and instances:
|
||
|
|
||
|
----
|
||
|
resource "aws_db_instance" "relational_database" {
|
||
|
name = "compliant_db"
|
||
|
backup_retention_period = 5
|
||
|
}
|
||
|
----
|
||
|
|
||
|
ifdef::env-github,rspecator-view[]
|
||
|
|
||
|
'''
|
||
|
== Implementation Specification
|
||
|
(visible only on this page)
|
||
|
|
||
|
include::../message.adoc[]
|
||
|
|
||
|
endif::env-github,rspecator-view[]
|
||
|
|