Quantcast
Channel: Terraform - HashiCorp Discuss
Viewing all articles
Browse latest Browse all 11359

Referencing existing resources

$
0
0

Hi!

I’m just getting started and was wondering if it’s possible to reference existing AWS resources with cdktf.

I’m using Python and could easily lookup resources with boto3, but I think it would be helpful if cdktf supported lookups of existing resources itself. For instance, let’s say I’m creating an RDS cluster - I need to pass in subnets, security groups, etc - most of which I already have created. It would be nice to look those up dynamically using cdktf itself - I think it would also help learn the API.

But perhaps terraform outputs are the intended pattern.

3 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 11359

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>