Skip to content

Commit

Permalink
Add AWS delete protection
Browse files Browse the repository at this point in the history
  • Loading branch information
blacksails committed Jan 7, 2020
1 parent e434241 commit 15b6aea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rds/rds_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ func convertSpecToInput(v *crd.Database, subnetName string, securityGroups []str
MultiAZ: aws.Bool(v.Spec.MultiAZ),
StorageEncrypted: aws.Bool(v.Spec.StorageEncrypted),
BackupRetentionPeriod: aws.Int64(v.Spec.BackupRetentionPeriod),
DeletionProtection: aws.Bool(v.Spec.DeleteProtection),
Tags: tags,
}
if v.Spec.StorageType != "" {
Expand Down

0 comments on commit 15b6aea

Please sign in to comment.