aws-solutions / aws-control-tower-customizations

The Customizations for AWS Control Tower solution combines AWS Control Tower and other highly-available, trusted AWS services to help customers more quickly set up a secure, multi-account AWS environment using AWS best practices.
https://docs.aws.amazon.com/controltower/latest/userguide/cfct-overview.html
Apache License 2.0
355 stars 205 forks source link

ERROR: Invalid manifest schema version #104

Closed sboonyakiatACR closed 2 years ago

sboonyakiatACR commented 2 years ago

Describe the bug Custom Control Tower version 2.0.0 failed at build phrase with message

Manifest file is a valid YAML -- 322 | ERROR: Invalid manifest schema version. 323 | ^^^ Caught an error: Setting exit status flag to 1 ^^^ 324 | Manifest file validated against the schema successfully

To Reproduce Steps to reproduce the behavior.

Expected behavior A clear and concise description of what you expected to happen.

Please complete the following information about the solution:

Screenshots If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).

Error From CodeBuild image

Subsequent Error from CodeBuild that mark the build as failed image

Top part of the manifest.yaml image

custom-control-tower-initiation.template that was used to provision this ControlTower image

Additional context Add any other context about the problem here.

sboonyakiatACR commented 2 years ago

Apparently, there was some phantom character lurking in my manifest file. None of the text editors including VS Code was able to detect it. I've rebuilt the the manifest file each component at a time and able to get pass the error