Add deprecation message to resource_google_project_iam_custom_role.deleted.

This commit is contained in:
Nathan McKinley 2018-12-07 17:27:29 -08:00
parent 68f4590aa7
commit de52ccdf3b

View File

@ -2,6 +2,7 @@ package google
import (
"fmt"
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform/helper/validation"
"google.golang.org/api/iam/v1"
@ -51,9 +52,10 @@ func resourceGoogleProjectIamCustomRole() *schema.Resource {
Optional: true,
},
"deleted": {
Type: schema.TypeBool,
Optional: true,
Default: false,
Type: schema.TypeBool,
Optional: true,
Default: false,
Deprecated: `deleted will be converted to a computed-only field soon - if you want to delete this role, please use destroy`,
},
},
}