» alicloud_fc_functions

This data source provides the Function Compute functions of the current Alibaba Cloud user.

» Example Usage

data "alicloud_fc_functions" "functions_ds" {
  service_name = "sample_service"
  name_regex = "sample_fc_function"
}

output "first_fc_function_name" {
  value = "${data.alicloud_fc_functions.functions_ds.functions.0.name}"
}

» Argument Reference

The following arguments are supported:

  • service_name - Name of the service that contains the functions to find.
  • name_regex - (Optional) A regex string to filter results by function name.
  • output_file - (Optional) File name where to save data source results (after running terraform plan).

» Attributes Reference

The following attributes are exported in addition to the arguments listed above: