Skip to content

Commit c251ff1

Browse files
modular-magicianEdward Sun
andauthored
deletion_policy (#6914) (#4954)
Co-authored-by: Edward Sun <[email protected]> Signed-off-by: Modular Magician <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Edward Sun <[email protected]>
1 parent 20e477c commit c251ff1

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.changelog/6914.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
firebase: fixed permadiff on the field `deletion_policy` of `google_firebase_apple_app`
3+
```

google-beta/resource_firebase_apple_app.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,10 @@ func resourceFirebaseAppleApp() *schema.Resource {
5858
Description: `The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.`,
5959
},
6060
"deletion_policy": {
61-
Type: schema.TypeString,
62-
Optional: true,
63-
ForceNew: true,
61+
Type: schema.TypeString,
62+
Optional: true,
63+
ForceNew: true,
64+
DiffSuppressFunc: emptyOrDefaultStringSuppress("DELETE"),
6465
Description: `(Optional) Set to 'ABANDON' to allow the AppleApp to be untracked from terraform state
6566
rather than deleted upon 'terraform destroy'. This is useful because the AppleApp may be
6667
serving traffic. Set to 'DELETE' to delete the AppleApp. Default to 'DELETE'.`,

0 commit comments

Comments
 (0)