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[]