Skip to content

chore: Updates auto-generated internal resources - #4736

Open
svc-apix-Bot wants to merge 1 commit into
masterfrom
auto-generated-resources-update-internal
Open

svc-apix-Bot wants to merge 1 commit into
masterfrom
auto-generated-resources-update-internal

Conversation

@svc-apix-Bot

Copy link
Copy Markdown
Contributor

Automatic update of auto-generated resources which are not registered in our provider.
Safe to merge after checks pass.

@svc-apix-Bot
svc-apix-Bot requested a review from a team as a code owner September 16, 2026 08:46
@augmentcode

augmentcode Bot commented Sep 16, 2026

Copy link
Copy Markdown
🤖 Augment PR Summary

Summary: Regenerates internal, currently unregistered API resources from a newer Atlas API specification.

Changes:

  • Updates cluster and legacy-cluster disk IOPS and throughput descriptions for Gen 2 hardware.
  • Refreshes stream connection and stream instance S3 test-bucket descriptions.
  • Makes maintenance-window day_of_week optional.
  • Adds read-only effective_wave_assignment and configurable wave_assignment attributes.
  • Updates generated Terraform schemas and models to reflect those maintenance-window fields.
  • Advances the raw and flattened Atlas specification revision SHA.
Technical Notes:
  • Most changed Go files are generated from the codegen model definitions.
  • The PR does not register these generated resources with the provider.

🤖 Was this summary useful? React with 👍 or 👎

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. 2 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

- `6`: Friday.
- `7`: Saturday.
computed_optional_required: required
computed_optional_required: optional

@augmentcode augmentcode Bot Sep 16, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tools/codegen/models/maintenance_window_api.yaml:26: Making only day_of_week optional prevents the new wave-only maintenance-window use case: hour_of_day remains required, so Terraform cannot configure only group_id and wave_assignment. The existing mongodbatlas_maintenance_window deliberately treats both schedule fields as optional and covers wave-only configuration.

Severity: medium

Other Locations
  • internal/serviceapi/maintenancewindowapi/resource_schema.go:24

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

tf_schema_name: wave_assignment
tf_model_name: WaveAssignment
api_name: waveAssignment
req_body_usage: all_request_bodies

@augmentcode augmentcode Bot Sep 16, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tools/codegen/models/maintenance_window_api.yaml:151: waveAssignment is nullable and documented as cleared by sending null, but this request-body mode causes the generated marshaller to omit a null value on update. Removing wave_assignment will PATCH without that member, retain the remote assignment, and leave perpetual drift.

Severity: medium

Other Locations
  • internal/serviceapi/maintenancewindowapi/resource_schema.go:85

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants