Skip to main content
1 vote

Terraform get subnet id by it's CIDR block

It seems that you already know which CIDR ranges you wish to look up, and that you are trying to find the corresponding subnet id for each of them. You can achieve that by using the aws_subnet data ...
Martin Atkins's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible