» alicloud_api_gateway_apps
This data source provides the apps of the current Alibaba Cloud user.
» Example Usage
data "alicloud_api_gateway_apps" "data_apigatway"{
output_file = "outapps"
}
output "first_app_id" {
value = "${data.alicloud_api_gateway_apps.data_apigatway.apps.0.id}"
}
» Argument Reference
The following arguments are supported:
-
name_regex
- (Optional) A regex string to filter apps by name. -
output_file
- (Optional) File name where to save data source results (after runningterraform plan
).
» Attributes Reference
The following attributes are exported in addition to the arguments listed above:
-
apps
- A list of apps. Each element contains the following attributes:-
id
- App ID, which is generated by the system and globally unique. -
name
- App name. -
description
- App description. -
created_time
- Creation time (Greenwich mean time). -
modified_time
- Last modification time (Greenwich mean time).
-