Back to articles

Tag archive

#inspec

How to Use CDK Outputs in Your InSpec Tests
Jul 29, 2021

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.

Jul 29, 20212 min read13 reactions0 comments