diff --git a/scaleway/resource_token.go b/scaleway/resource_token.go index d16626e24..568322ee8 100644 --- a/scaleway/resource_token.go +++ b/scaleway/resource_token.go @@ -7,6 +7,8 @@ import ( func resourceScalewayToken() *schema.Resource { return &schema.Resource{ + DeprecationMessage: "This resource is deprecated and will be removed in the next major version", + Create: resourceScalewayTokenCreate, Read: resourceScalewayTokenRead, Update: resourceScalewayTokenUpdate, diff --git a/website/docs/r/token.html.markdown b/website/docs/r/token.html.markdown index e5cb87cad..ad9b85841 100644 --- a/website/docs/r/token.html.markdown +++ b/website/docs/r/token.html.markdown @@ -8,6 +8,8 @@ description: |- # scaleway_token +**DEPRECATED**: This resource is deprecated and will be removed in `v2.0+`. + Provides Tokens for scaleway API access. For additional details please refer to [API documentation](https://developer.scaleway.com/#tokens-tokens-post). ## Example Usage