Skip to content

Commit

Permalink
Use ',' as resource ID separator.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Dec 4, 2024
1 parent 6a6d2e3 commit 6e3cbf9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/service/apigateway/domain_name.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
"github.com/hashicorp/terraform-provider-aws/internal/enum"
"github.com/hashicorp/terraform-provider-aws/internal/errs"
"github.com/hashicorp/terraform-provider-aws/internal/errs/sdkdiag"
"github.com/hashicorp/terraform-provider-aws/internal/flex"
tftags "github.com/hashicorp/terraform-provider-aws/internal/tags"
"github.com/hashicorp/terraform-provider-aws/internal/tfresource"
"github.com/hashicorp/terraform-provider-aws/internal/verify"
Expand Down Expand Up @@ -472,7 +473,7 @@ func resourceDomainNameDelete(ctx context.Context, d *schema.ResourceData, meta
return diags
}

const domainNameResourceIDSeparator = "/"
const domainNameResourceIDSeparator = flex.ResourceIdSeparator

func domainNameCreateResourceID(domainName, domainNameID string) string {
var id string
Expand Down

0 comments on commit 6e3cbf9

Please sign in to comment.