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

[Bug] Templates containing non-US-ASCII characters fail to deploy in v2.3.1 #121

Closed
stumins opened this issue Jun 2, 2022 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@stumins
Copy link

stumins commented Jun 2, 2022

Describe the bug
Templates containing non-US-ASCII characters (e.g. ©) cause the CFCT pipeline to fail at the Build stage due to fatal cfn-nag errors:

| FAIL FATAL|

| #<ArgumentError: invalid byte sequence in US-ASCII>
Failures count: 1
Warnings count: 0

WORKAROUNDS:

  • Remove the special characters from your template.
  • If this is not possible, update the buildspec for the Build stage of the CFCT pipeline and add the following flag to the dpkg-reconfigure
dpkg-reconfigure --frontend noninteractive
  • Downgrade to CFCT v2.3.0

To Reproduce

  • Commit a template with a non-US-ASCII character to your CFCT source repo/bucket

Expected behavior

  • CFCT to handle all characters that are considered valid CloudFormation

Please complete the following information about the solution:

  • This bug was introduced in CFCT v2.3.1
  • This bug impacts deployments in all regions
@stumins stumins added the bug Something isn't working label Jun 2, 2022
@stumins stumins pinned this issue Jun 2, 2022
@balltrev
Copy link

balltrev commented Jun 8, 2022

Release v2.4.0 addresses this regression.

@balltrev balltrev closed this as completed Jun 8, 2022
@stumins stumins unpinned this issue Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants