diff --git a/tencentcloud/resource_tc_kubernetes_addon_attachment.go b/tencentcloud/resource_tc_kubernetes_addon_attachment.go index cda5aa9241..6aa7fca15d 100644 --- a/tencentcloud/resource_tc_kubernetes_addon_attachment.go +++ b/tencentcloud/resource_tc_kubernetes_addon_attachment.go @@ -48,7 +48,7 @@ resource "tencentcloud_kubernetes_addon_attachment" "addon_tcr" { "global.hosts[0].domain=${local.tcr_name}-vpc.tencentcloudcr.com", #Corresponds to the dockerServer in the imagePullSecretsCrs above "global.hosts[0].ip=${local.end_point}", #input InternalEndpoint of tcr instance, you can get it from data source `tencentcloud_tcr_instances` "global.hosts[0].disabled=false", #disabled this host config or not - "global.hosts[1].domain=${local.tcr_name}-tencentcloudcr.com", + "global.hosts[1].domain=${local.tcr_name}.tencentcloudcr.com", "global.hosts[1].ip=${local.end_point}", "global.hosts[1].disabled=false", ] diff --git a/website/docs/r/kubernetes_addon_attachment.html.markdown b/website/docs/r/kubernetes_addon_attachment.html.markdown index 1ad13484e3..6f345e03ed 100644 --- a/website/docs/r/kubernetes_addon_attachment.html.markdown +++ b/website/docs/r/kubernetes_addon_attachment.html.markdown @@ -57,7 +57,7 @@ resource "tencentcloud_kubernetes_addon_attachment" "addon_tcr" { "global.hosts[0].domain=${local.tcr_name}-vpc.tencentcloudcr.com", #Corresponds to the dockerServer in the imagePullSecretsCrs above "global.hosts[0].ip=${local.end_point}", #input InternalEndpoint of tcr instance, you can get it from data source `tencentcloud_tcr_instances` "global.hosts[0].disabled=false", #disabled this host config or not - "global.hosts[1].domain=${local.tcr_name}-tencentcloudcr.com", + "global.hosts[1].domain=${local.tcr_name}.tencentcloudcr.com", "global.hosts[1].ip=${local.end_point}", "global.hosts[1].disabled=false", ]