From d48b9f20edec9693824c269161628d3b649db0b4 Mon Sep 17 00:00:00 2001 From: profoundwu Date: Mon, 30 Dec 2024 11:16:36 +0800 Subject: [PATCH] fix(cfw): add the fw_instance_id query parameter in the URL for the create domain name group request (#6106) --- .../services/cfw/resource_huaweicloud_cfw_domain_name_group.go | 1 + 1 file changed, 1 insertion(+) 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,