Skip to content

Commit

Permalink
fix(cfw): add the fw_instance_id query parameter in the URL for the c…
Browse files Browse the repository at this point in the history
…reate domain name group request (#6106)
  • Loading branch information
profoundwu authored Dec 30, 2024
1 parent 37b9428 commit d48b9f2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d48b9f2

Please sign in to comment.