CIS_conformance_pack.tf 512 B

12345678910111213141516
  1. # Installs the CIS Conformance Pack via cloudformation
  2. #
  3. # CFT Source: https://docs.aws.amazon.com/config/latest/developerguide/cis-conformance-pack.html
  4. #
  5. # This is easier in commercial, but can't do the pack method in govcloud, so we're just applying
  6. # the CFT itself.
  7. resource "aws_cloudformation_stack" "CIS-Conformance-Pack" {
  8. name = "CIS-Conformance-Pack"
  9. parameters = {
  10. }
  11. template_body = file("files/CIS_conformance_pack.${var.aws_partition}.cft")
  12. tags = merge(var.standard_tags, var.tags)
  13. }