Skip to content

Commit

Permalink
Update content/docs/iac/adopting-pulumi/migrating-to-pulumi/from-cdk.md
Browse files Browse the repository at this point in the history
Co-authored-by: Florian Stadler <[email protected]>
  • Loading branch information
corymhall and flostadler authored Jan 2, 2025
1 parent 8b506a0 commit 621aa45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If your team has already provisioned infrastructure using AWS CDK, and you'd lik

## Referencing Stack Outputs

It is possible to reference existing AWS CDK stacks from your program. It doesn't matter how these stacks were created. This lets you read properties of that CloudFormation stack for use within your Pulumi program. This includes output values computed from resources provisioned that stack.
It is possible to reference existing AWS CDK stacks from your program. It doesn't matter how these stacks were created. This lets you read properties of that CloudFormation stack for use within your Pulumi program. This includes output values computed from resources provisioned by that stack.

For instance, let's say your infrastructure team has provisioned your network infrastructure using CDK and you need to use the Subnet ID to provision something new from your Pulumi program. One approach is to hardcode that ID but this is brittle and, if it ever changes, you'd need to go and manually update the hardcoded value.

Expand Down

0 comments on commit 621aa45

Please sign in to comment.