Skip to content

Commit

Permalink
doc: deprecate scaleway_token
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinBrosse authored Jun 7, 2019
1 parent 533f167 commit 99b4cae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scaleway/resource_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 2 additions & 0 deletions website/docs/r/token.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 99b4cae

Please sign in to comment.