Skip to content

Commit 5c958f3

Browse files
Make deletion_policy a virtual_field for AndroidApp and AppleApp (#6911) (#13643)
* Make deletion_policy a virtual_field for AndroidApp and AppleApp similar to #6738 * Accomodate upstream comments and inconsistent patches Signed-off-by: Modular Magician <[email protected]>
1 parent ae54361 commit 5c958f3

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

.changelog/6911.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
firebase: marked `deletion_policy` as updatable without recreation on `google_firebase_android_app` and `google_firebase_apple_app`
3+
```

website/docs/r/firebase_android_app.html.markdown

+4-6
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,13 @@ The following arguments are supported:
7070
(Optional)
7171
The SHA256 certificate hashes for the AndroidApp.
7272

73-
* `deletion_policy` -
74-
(Optional)
75-
(Optional) Set to `ABANDON` to allow the AndroidApp to be untracked from terraform state
76-
rather than deleted upon `terraform destroy`. This is useful because the AndroidApp may be
77-
serving traffic. Set to `DELETE` to delete the AndroidApp. Default to `DELETE`.
78-
7973
* `project` - (Optional) The ID of the project in which the resource belongs.
8074
If it is not provided, the provider project is used.
8175

76+
* `deletion_policy` - (Optional) (Optional) Set to `ABANDON` to allow the AndroidApp to be untracked from terraform state
77+
rather than deleted upon `terraform destroy`. This is useful because the AndroidApp may be
78+
serving traffic. Set to `DELETE` to delete the AndroidApp. Defaults to `DELETE`.
79+
8280

8381
## Attributes Reference
8482

website/docs/r/firebase_apple_app.html.markdown

+4-6
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,13 @@ The following arguments are supported:
8080
(Optional)
8181
The Apple Developer Team ID associated with the App in the App Store.
8282

83-
* `deletion_policy` -
84-
(Optional)
85-
(Optional) Set to `ABANDON` to allow the AppleApp to be untracked from terraform state
86-
rather than deleted upon `terraform destroy`. This is useful because the AppleApp may be
87-
serving traffic. Set to `DELETE` to delete the AppleApp. Default to `DELETE`.
88-
8983
* `project` - (Optional) The ID of the project in which the resource belongs.
9084
If it is not provided, the provider project is used.
9185

86+
* `deletion_policy` - (Optional) (Optional) Set to `ABANDON` to allow the Apple to be untracked from terraform state
87+
rather than deleted upon `terraform destroy`. This is useful because the Apple may be
88+
serving traffic. Set to `DELETE` to delete the Apple. Defaults to `DELETE`.
89+
9290

9391
## Attributes Reference
9492

0 commit comments

Comments
 (0)