Skip to content

Commit

Permalink
Fix alloydb_cluster permadiff (#7421) (#13948)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored Mar 8, 2023
1 parent 98228a7 commit 3a35888
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/7421.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
alloydb: fix permadiff on `automated_backup_policy.weekly_schedule` of `google_alloydb_cluster`
```
4 changes: 3 additions & 1 deletion google/resource_alloydb_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ func ResourceAlloydbCluster() *schema.Resource {
},
"automated_backup_policy": {
Type: schema.TypeList,
Computed: true,
Optional: true,
Description: `The automated backup policy for this cluster.
Expand All @@ -67,7 +68,8 @@ If no policy is provided then the default policy will be used. The default polic
Schema: map[string]*schema.Schema{
"weekly_schedule": {
Type: schema.TypeList,
Required: true,
Computed: true,
Optional: true,
ForceNew: true,
Description: `Weekly schedule for the Backup.`,
MaxItems: 1,
Expand Down

0 comments on commit 3a35888

Please sign in to comment.