How to Use CDK Outputs in Your InSpec Tests
As a programmer, hard-coding values in my code, even test code, feels dirty and it's usually not a scalable practice. Instead of hard-coding resource IDs in your InSpec tests, you can add Outputs to a CDK app and push those values to a JSON file that your InSpec tests can use.
Tags: aws, iac, cdk, inspec