diff --git a/VERSION b/VERSION index 084e244..77a069e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.6.0 \ No newline at end of file +3.6.2 \ No newline at end of file diff --git a/go.mod b/go.mod index 9660c6a..e6f49b1 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/bytebase/terraform-provider-bytebase go 1.24.2 require ( - github.com/bytebase/bytebase v0.0.0-20250519144720-22dc39c1fd08 + github.com/bytebase/bytebase v0.0.0-20250522054226-64d0687b8e11 github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 github.com/hashicorp/terraform-plugin-docs v0.13.0 github.com/hashicorp/terraform-plugin-log v0.7.0 diff --git a/go.sum b/go.sum index a2c5f0d..f45a012 100644 --- a/go.sum +++ b/go.sum @@ -30,8 +30,8 @@ github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgI github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= github.com/bgentry/speakeasy v0.1.0 h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQkY= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= -github.com/bytebase/bytebase v0.0.0-20250519144720-22dc39c1fd08 h1:CEU+1Waq1qiJFC2LJYT/VxN3XhFyXbS9DC2gUnqILd4= -github.com/bytebase/bytebase v0.0.0-20250519144720-22dc39c1fd08/go.mod h1:HHRGRkJYb2FKv2Iyl1feFzaadoXc14t2iMk4z+Xc/Kg= +github.com/bytebase/bytebase v0.0.0-20250522054226-64d0687b8e11 h1:ZJyRdi/yQtpAQVqTIWVW7NnIWSkoCs4VnSAQEFfT2YA= +github.com/bytebase/bytebase v0.0.0-20250522054226-64d0687b8e11/go.mod h1:HHRGRkJYb2FKv2Iyl1feFzaadoXc14t2iMk4z+Xc/Kg= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= diff --git a/provider/internal/utils.go b/provider/internal/utils.go index 9850783..c107871 100644 --- a/provider/internal/utils.go +++ b/provider/internal/utils.go @@ -76,7 +76,7 @@ func ResourceNameValidation(regexs ...*regexp.Regexp) schema.SchemaValidateDiagF diags = append(diags, diag.Diagnostic{ Severity: diag.Error, Summary: "Resource id not match", - Detail: fmt.Sprintf("resource id must matches %s pattern", ResourceIDPattern), + Detail: fmt.Sprintf(`resource id "%s" must matches "%s" pattern`, v, ResourceIDPattern), AttributePath: path, }) return diags