diff --git a/tencentcloud/resource_tc_waf_clb_instance.go b/tencentcloud/resource_tc_waf_clb_instance.go index ebf2fc9276..d0c7ff4516 100644 --- a/tencentcloud/resource_tc_waf_clb_instance.go +++ b/tencentcloud/resource_tc_waf_clb_instance.go @@ -1,6 +1,8 @@ /* Provides a resource to create a waf clb instance +~> **NOTE:** Before creating, please ensure that the account region and `is_cn_mainland` are consistent. + Example Usage Create a basic waf premium clb instance @@ -367,7 +369,8 @@ func resourceTencentCloudWafClbInstanceRead(d *schema.ResourceData, meta interfa } if instanceInfo.QPS != nil { - _ = d.Set("qps_pkg_count", instanceInfo.QPS.Count) + qpsCount := *instanceInfo.QPS.Count / 1000 + _ = d.Set("qps_pkg_count", qpsCount) } if instanceInfo.Edition != nil { diff --git a/tencentcloud/resource_tc_waf_saas_instance.go b/tencentcloud/resource_tc_waf_saas_instance.go index d3e1bcd120..58c45ad946 100644 --- a/tencentcloud/resource_tc_waf_saas_instance.go +++ b/tencentcloud/resource_tc_waf_saas_instance.go @@ -1,6 +1,8 @@ /* Provides a resource to create a waf saas instance +~> **NOTE:** Before creating, please ensure that the account region and `is_cn_mainland` are consistent. + Example Usage Create a basic waf premium saas instance diff --git a/website/docs/r/waf_clb_instance.html.markdown b/website/docs/r/waf_clb_instance.html.markdown index e464611074..ad2120d35e 100644 --- a/website/docs/r/waf_clb_instance.html.markdown +++ b/website/docs/r/waf_clb_instance.html.markdown @@ -11,6 +11,8 @@ description: |- Provides a resource to create a waf clb instance +~> **NOTE:** Before creating, please ensure that the account region and `is_cn_mainland` are consistent. + ## Example Usage ### Create a basic waf premium clb instance diff --git a/website/docs/r/waf_saas_instance.html.markdown b/website/docs/r/waf_saas_instance.html.markdown index 77363c7435..7fff77a7ee 100644 --- a/website/docs/r/waf_saas_instance.html.markdown +++ b/website/docs/r/waf_saas_instance.html.markdown @@ -11,6 +11,8 @@ description: |- Provides a resource to create a waf saas instance +~> **NOTE:** Before creating, please ensure that the account region and `is_cn_mainland` are consistent. + ## Example Usage ### Create a basic waf premium saas instance