diff --git a/huaweicloud/services/cfw/resource_huaweicloud_cfw_domain_name_group.go b/huaweicloud/services/cfw/resource_huaweicloud_cfw_domain_name_group.go index c23bed2f93..fbbb00c287 100644 --- a/huaweicloud/services/cfw/resource_huaweicloud_cfw_domain_name_group.go +++ b/huaweicloud/services/cfw/resource_huaweicloud_cfw_domain_name_group.go @@ -144,6 +144,7 @@ func resourceDomainNameGroupCreate(ctx context.Context, d *schema.ResourceData, createDomainNameGroupPath := createDomainNameGroupClient.Endpoint + createDomainNameGroupHttpUrl createDomainNameGroupPath = strings.ReplaceAll(createDomainNameGroupPath, "{project_id}", createDomainNameGroupClient.ProjectID) + createDomainNameGroupPath += fmt.Sprintf("?fw_instance_id=%v", d.Get("fw_instance_id")) createDomainNameGroupOpt := golangsdk.RequestOpts{ KeepResponseBody: true,