terraform-provider-mongodbatlas icon indicating copy to clipboard operation
terraform-provider-mongodbatlas copied to clipboard

Receiving invalid attribute error on terraform apply with MongoDB Atlas Maintenance Window resource

Open ammarasheikh opened this issue 1 year ago • 5 comments

Hi, I am receiving below error while trying to configure a maintenance window with number of deferrals. Error: error updating the MongoDB Atlas Maintenance Window (64820379c00d74100eafcd2e): PATCH https://cloud.mongodb.com/api/atlas/v1.0/groups/64820379c00d74100eafcd2e/maintenanceWindow: 400 (request "INVALID_ATTRIBUTE") Invalid attribute numberOfDeferrals specified.

Terraform CLI and Terraform MongoDB Atlas Provider Version

# Copy-paste your version info here

Terraform Configuration File

# Copy-paste your configuration info here

maintenance_window = { day_of_week = 3 hour_of_day = 4 number_of_deferrals = 1
#defer = true #auto_defer = true #auto_defer_once_enabled = true would be triggered. }

Steps to Reproduce

Expected Behavior

Actual Behavior

Debug Output

Crash Output

Additional Context

References

ammarasheikh avatar Jun 08 '23 17:06 ammarasheikh