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