On this page
alicloud_dns_groups
The Dns Domain Groups data source provides a list of Alicloud Dns Domain Groups in an Alicloud account according to the specified filters.
Example Usage
data "alicloud_dns_groups" "group" {
name_regex = "^y[A-Za-z]+"
output_file = "groups.txt"
}
Argument Reference
The following arguments are supported:
name_regex
- (Optional) A regex string to apply to the group list returned by Alicloud.output_file
- (Optional) The name of file that can save groups data source after runningterraform plan
.
Attributes Reference
A list of groups will be exported and its every element contains the following attributes:
group_id
- Id of the group .group_name
- Name of the group .
© 2018 HashiCorp
Licensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/alicloud/d/dns_groups.html