Skip to content

Commit 2b5eb99

Browse files
authored
Merge pull request #7 from rileykarson/deprecate-restore-policy
Deprecate restore_policy in code
2 parents d4bb4c1 + 070af93 commit 2b5eb99

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

google-beta/resource_google_project_iam_policy.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ func resourceGoogleProjectIamPolicy() *schema.Resource {
4343
Computed: true,
4444
},
4545
"restore_policy": &schema.Schema{
46-
Type: schema.TypeString,
47-
Computed: true,
46+
Deprecated: "This field will be removed alongside the authoritative field. To ignore changes not managed by Terraform, use google_project_iam_binding and google_project_iam_member instead. See https://www.terraform.io/docs/providers/google/r/google_project_iam.html for more information.",
47+
Type: schema.TypeString,
48+
Computed: true,
4849
},
4950
"disable_project": &schema.Schema{
5051
Deprecated: "This will be removed with the authoritative field. Use lifecycle.prevent_destroy instead.",

0 commit comments

Comments
 (0)