Use this data source to get the ID of an elastic beanstalk hosted zone.
data "aws_elastic_beanstalk_hosted_zone" "current" {}
region
- (Optional) Region you'd like the zone for. By default, fetches the current region.This data source exports the following attributes in addition to the arguments above:
id
- ID of the hosted zone.
region
- Region of the hosted zone.