aws_list_subnets
List VPC subnets in a given AWS region to discover subnet IDs for EC2 launches. Pass those IDs to aws_run_instances.
Instructions
List VPC subnets in the given region. Use the subnet_id values as the subnet_id argument to aws_run_instances.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | Yes | AWS region (e.g. us-east-1). | |
| account | No | AWS account label to act in; omit for the default account. |