Skip to content

Instantly share code, notes, and snippets.

@mlafeldt
Last active January 5, 2021 17:59
Show Gist options
  • Save mlafeldt/203a4aa45480d5dfa4fdb62fdf0a51a3 to your computer and use it in GitHub Desktop.
Save mlafeldt/203a4aa45480d5dfa4fdb62fdf0a51a3 to your computer and use it in GitHub Desktop.
AWS Landing Zone v2.4.1 broken after pykwalify update

Bug Report

AWS Landing Zone version 2.4.1 is currently broken. More specifically, validation of manifest.yaml has been broken since Dec 30 when version 1.8.0 of https://pypi.org/project/pykwalify was released. This release requires schemas to be written in YAML 1.2. However, Landing Zone's current schema and manifest file adhere to YAML 1.1 (where Yes|yes still means true). The result is that the Build step of AWS-Landing-Zone-CodePipeline currently fails during schema validation.

Hotfix

Update the buildspec of AWS-Landing-Zone-CodeBuild like this:

-      - pip install --upgrade pykwalify
+      - pip install --upgrade pykwalify==1.7.0 # HOTFIX for schema validation

AWS should apply that fix to the initiation template or, better yet, update all affected files to YAML 1.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment