diff --git a/CHANGELOG.md b/CHANGELOG.md index 2157ee2..b7eb26f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 0.6.21 (Jun 22, 2023) + +BUG FIXES: + +* Fixed error message when autogen subdomain is unable to destroy. + ## 0.6.20 (May 15, 2023) BUG FIXES: diff --git a/internal/provider/resource_autogen_subdomain.go b/internal/provider/resource_autogen_subdomain.go index 54863d0..a524dfe 100644 --- a/internal/provider/resource_autogen_subdomain.go +++ b/internal/provider/resource_autogen_subdomain.go @@ -211,7 +211,7 @@ func (r *resourceAutogenSubdomain) Destroy(ctx context.Context, prior map[string } else if !found { diags = append(diags, &tfprotov5.Diagnostic{ Severity: tfprotov5.DiagnosticSeverityError, - Summary: fmt.Sprintf("The autogen_subdomain for the subdomain %d and env %q is missing.", subdomainId, envId), + Summary: fmt.Sprintf("The autogen_subdomain for the subdomain %d and env %d is missing.", subdomainId, envId), }) }