Skip to content

Commit

Permalink
SCALRCORE-18895 get rid of deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
penja committed Jun 23, 2021
1 parent 79bde03 commit 90554e7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions scalr/resource_scalr_variable.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ var errVariableMultiOnlyEnv = errors.New("Only environment variables should be m

func resourceScalrVariable() *schema.Resource {
return &schema.Resource{
Create: resourceScalrVariableCreate,
Read: resourceScalrVariableRead,
Update: resourceScalrVariableUpdate,
Delete: resourceScalrVariableDelete,
DeprecationMessage: "Category `env` will be deprecated. Please use `shell` instead.",
Create: resourceScalrVariableCreate,
Read: resourceScalrVariableRead,
Update: resourceScalrVariableUpdate,
Delete: resourceScalrVariableDelete,
CustomizeDiff: customdiff.All(
func(d *schema.ResourceDiff, meta interface{}) error {
// Reject change for key if variable is sensitive
Expand Down

0 comments on commit 90554e7

Please sign in to comment.