diff --git a/tencentcloud/data_source_tc_pts_scenario_with_jobs.go b/tencentcloud/data_source_tc_pts_scenario_with_jobs.go index 0747482f28..4fb594cb64 100644 --- a/tencentcloud/data_source_tc_pts_scenario_with_jobs.go +++ b/tencentcloud/data_source_tc_pts_scenario_with_jobs.go @@ -643,7 +643,7 @@ func dataSourceTencentCloudPtsScenarioWithJobs() *schema.Resource { Computed: true, Description: "The notice ID bound with this alert channel.", }, - "a_m_p_consumer_id": { + "amp_consumer_id": { Type: schema.TypeString, Computed: true, Description: "AMP consumer ID.", @@ -2017,7 +2017,7 @@ func dataSourceTencentCloudPtsScenarioWithJobsRead(d *schema.ResourceData, meta } if scenario.SLAPolicy.AlertChannel.AMPConsumerId != nil { - alertChannelMap["a_m_p_consumer_id"] = scenario.SLAPolicy.AlertChannel.AMPConsumerId + alertChannelMap["amp_consumer_id"] = scenario.SLAPolicy.AlertChannel.AMPConsumerId } sLAPolicyMap["alert_channel"] = []interface{}{alertChannelMap} diff --git a/website/docs/d/pts_scenario_with_jobs.html.markdown b/website/docs/d/pts_scenario_with_jobs.html.markdown index f0295eb8e7..82db22c9bc 100644 --- a/website/docs/d/pts_scenario_with_jobs.html.markdown +++ b/website/docs/d/pts_scenario_with_jobs.html.markdown @@ -252,7 +252,7 @@ In addition to all arguments above, the following attributes are exported: * `sla_id` - The ID of the SLA policy. * `sla_policy` - The SLA policy. * `alert_channel` - The alert channel. - * `a_m_p_consumer_id` - AMP consumer ID. + * `amp_consumer_id` - AMP consumer ID. * `notice_id` - The notice ID bound with this alert channel. * `sla_rules` - The SLA rules. * `abort_flag` - Whether to abort the load test job.