File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,11 @@ func updateLabels(out *atlas.Cluster) {
110
110
111
111
func (opts * atlasClustersCreateOpts ) applyOpts (out * atlas.Cluster ) {
112
112
replicationSpec := opts .newReplicationSpec ()
113
- out .ProviderBackupEnabled = & opts .backup
113
+ if opts .backup {
114
+ out .ProviderBackupEnabled = & opts .backup
115
+ out .PitEnabled = & opts .backup
116
+ }
117
+
114
118
out .DiskSizeGB = & opts .diskSizeGB
115
119
out .MongoDBMajorVersion = opts .mdbVersion
116
120
out .ProviderSettings = opts .newProviderSettings ()
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const (
21
21
Members = "Number of members in the replica set."
22
22
Tier = "Tier for each data-bearing server in the cluster."
23
23
DiskSizeGB = "Capacity, in gigabytes, of the host’s root volume."
24
- Backup = "If true, enables Cloud Continuous Backup for your cluster."
24
+ Backup = "If true, enables Continuous Cloud Backup for your cluster."
25
25
MDBVersion = "MongoDB version of the cluster to deploy."
26
26
AuthDB = "Authentication database name."
27
27
Granularity = "Duration in ISO 8601 notation that specifies the interval between measurement data points."
You can’t perform that action at this time.
0 commit comments