Fred Tingaud 16f6c0aecf
Inline adoc when include has no additional value (#1940)
Inline adoc files when they are included exactly once.

Also fix language tags because this inlining gives us better information
on what language the code is written in.
2023-05-25 14:18:12 +02:00

43 lines
917 B
Plaintext

include::../description.adoc[]
include::../ask-yourself.adoc[]
include::../recommended.adoc[]
== Sensitive Code Example
For https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/efs_file_system[aws_efs_file_system]:
[source,terraform]
----
resource "aws_efs_file_system" "fs" { # Sensitive, encryption disabled by default
}
----
== Compliant Solution
For https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/efs_file_system[aws_efs_file_system]:
[source,terraform]
----
resource "aws_efs_file_system" "fs" {
encrypted = true
}
----
include::../see.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
=== Message
* Make sure that using unencrypted EFS file system is safe here.
* Omitting "encrypted" disables EFS file system encryption. Make sure it is safe here.
endif::env-github,rspecator-view[]