The arguments of this data source act as filters for querying the available regions. The given filters must match exactly one region whose data will be exported as attributes.
In addition to all arguments above, the following attributes are exported:
data "aws_region" "current" {}
describe-regions
[--filters <value>]
[--region-names <value>]
[--dry-run | --no-dry-run]
[--all-regions | --no-all-regions]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
aws ec2 describe-regions \ --filters "Name=endpoint,Values=*us*"
--
Categorized by Availability, Security & Compliance and Cost