Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error applying Operational-Best-Practices-for-CMMC-Level-3 conformance pack #48

Open
george-mengelberg opened this issue Feb 3, 2022 · 0 comments
Labels
bug 🐛 An issue with the system

Comments

@george-mengelberg
Copy link

george-mengelberg commented Feb 3, 2022

Found a bug? Maybe our Slack Community can help.

Slack Community

Describe the Bug

Implemented the following module to apply the CMMC Level 3 best practices.

module "cmmc_3_conformance_pack" {
  source  = "cloudposse/config/aws//modules/conformance-pack"
  context = module.this.context
  name    = "operational-best-practices-for-CMMC-level-3"

  conformance_pack = "https://raw.githubusercontent.com/awslabs/aws-config-rules/master/aws-config-conformance-packs/Operational-Best-Practices-for-CMMC-Level-3.yaml"
  parameter_overrides = {}

  depends_on = [
    module.aws_config
  ]
}

Upon executing terraform apply -auto-approve the following error is thrown:
2022-02-03T09:38:58.821-0800 [TRACE] vertex "module.cmmc_3_conformance_pack.aws_config_conformance_pack.default": dynamic subgraph encountered errors: expected length of template_body to be in the range (1 - 51200)

Expected Behavior

I expected the conformance pack to be applied without error

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to a folder and unpack the attached archive
  2. Export TF_LOG=TRACE
  3. Run terraform init then terraform apply and provide your AWS credentials (e.g., profile)
  4. See error (or my error.log in the attached archive)

Screenshots

See attached files

Environment (please complete the following information):

Anything that will help us triage the bug will help. Here are some ideas:

  • OS Name: Microsoft Windows 10 Pro
  • OS Version: 10.0.19044 N/A Build 19044

Additional Context

No additional comments
conformance-pack-error
cmmc_3_conformance_pack.tar.gz

@george-mengelberg george-mengelberg added the bug 🐛 An issue with the system label Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system
Projects
None yet
Development

No branches or pull requests

1 participant