---
title: "Discussion on \"How to Use CDK Outputs in Your InSpec Tests\" | Hashnode"
description: "Discussion on \"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"
url: "https://hashnode.com/posts/how-to-use-cdk-outputs-in-your-inspec-tests/6102fbff805a765b08875399"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Use CDK Outputs in Your InSpec Tests](https://jennapederson.hashnode.dev/how-to-use-cdk-outputs-in-your-inspec-tests?utm_source=hashnode&utm_medium=feed)

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

Jul 29, 2021 · 3 min read · jennapederson.hashnode.dev  
Read the article

-   [#aws](https://hashnode.com/tag/aws)
-   [#aws-cdk](https://hashnode.com/tag/aws-cdk)
-   [#infrastructure](https://hashnode.com/tag/infrastructure)
-   [#testing](https://hashnode.com/tag/testing)

## Written by

[Jenna Pederson](https://hashnode.com/@jennapederson)

@jennapederson · Minnesota

  
[View profile](https://hashnode.com/@jennapederson)

staff developer advocate @ pinecone / she/her

staff developer advocate @ pinecone / she/her

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
