Skip to content

Error installed cfn-nag #214

@dannosaur

Description

@dannosaur

Describe the bug
The CodeBuild script install_stage_dependencies.sh installed cfn-nag as part of its normal operation, and this is currently failing in my Control Tower.

ERROR:  Error installing cfn-nag:
    The last version of aws-eventstream (~> 1, >= 1.3.0) to support your Ruby & RubyGems was 1.3.2. Try installing it with `gem install aws-eventstream -v 1.3.2` and then running the current command again
    aws-eventstream requires Ruby version >= 2.7. The current ruby version is 2.6.10.210.

To Reproduce
Steps to reproduce the behavior.

Expected behavior
I expect the script to install its dependencies correctly.

Please complete the following information about the solution:

  • Version: 2.7.0

To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "(SO0089) - customizations-for-aws-control-tower Solution. Version: v1.0.0". You can also find the version from releases

  • Region: us-gov-west-1
  • Was the solution modified from the version published on this repository? I don't think so
  • If the answer to the previous question was yes, are the changes available on GitHub?
  • Have you checked your service quotas for the sevices this solution uses?
  • Were there any errors in the CloudWatch Logs? Yes (see above)

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

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions