Provides a Apsara Agile Live (IMP) App Template resource.
For information about Apsara Agile Live (IMP) App Template and how to use it, see What is App Template.
Basic Usage
resource "alicloud_imp_app_template" "example" {
app_template_name = "example_value"
component_list = ["component.live", "component.liveRecord"]
integration_mode = "paasSDK"
scene = "business"
}
The following arguments are supported:
app_template_name
- (Required) The name of the resource.component_list
- (Required, ForceNew) List of components. Its element valid values: ["component.live","component.liveRecord","component.liveBeauty","component.rtc","component.rtcRecord","component.im","component.whiteboard","component.liveSecurity","component.chatSecurity"].config_list
- (Optional, Computed) Configuration list. It have several default configs after the resource is created. See the following Block config_list
.integration_mode
- (Optional, ForceNew) Integration mode. Valid values:
scene
- (Optional, ForceNew) Application Template scenario. Valid values: ["business", "classroom"].
The config_list supports the following:
key
- (Optional) Configuration item key. Valid values: ["config.appCallbackAuthKey","config.appCallbackUrl","config.callbackClass.live","config.callbackClass.user","config.livePullDomain","config.livePushDomain","config.multipleClientsLogin","config.regionId","config.streamChangeCallbackUrl"].value
- (Optional) Configuration item content.The following attributes are exported:
id
- The resource ID in terraform of App Template.status
- Application template usage status.Apsara Agile Live (IMP) App Template can be imported using the id, e.g.
$ terraform import alicloud_imp_app_template.example <id>