Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INTMDB-828: [Terraform] Missing Schedule Parameter in Resource mongodbatlas_online_archive #1272

Merged
merged 15 commits into from
Jul 7, 2023

Conversation

andreaangiolillo
Copy link
Collaborator

@andreaangiolillo andreaangiolillo commented Jun 23, 2023

Description

Ticket: INTMDB-828

This PR adds the schedule field to the mongodbatlas_online_archive resource and data source

Type of change:

  • Bug fix (non-breaking change which fixes an issue). Please, add the "bug" label to the PR.
  • New feature (non-breaking change which adds functionality). Please, add the "enhancement" label to the PR.
  • Breaking change (fix or feature that would cause existing functionality to not work as expected). Please, add the "breaking change" label to the PR.
  • This change requires a documentation update
  • Documentation fix/enhancement

Required Checklist:

  • I have signed the MongoDB CLA
  • I have read the contribution guidelines
  • I have added tests that prove my fix is effective or that my feature works per HashiCorp requirements
  • I have added any necessary documentation (if appropriate)
  • I have run make fmt and formatted my code

Further comments

Running tool: /Users/andrea.angiolillo/.asdf/shims/go test -timeout 300000s -run ^TestAccBackupRSOnlineArchive$ github.com/mongodb/terraform-provider-mongodbatlas/mongodbatlas

ok  	github.com/mongodb/terraform-provider-mongodbatlas/mongodbatlas	1060.933s

@andreaangiolillo andreaangiolillo changed the title INTMDB-828: [Terraform] Missing Schedule Parameter in Resource mongod… INTMDB-828: [Terraform] Missing Schedule Parameter in Resource mongodbatlas_online_archive Jun 23, 2023
@andreaangiolillo andreaangiolillo marked this pull request as ready for review July 3, 2023 10:06
@andreaangiolillo andreaangiolillo requested a review from a team as a code owner July 3, 2023 10:06
Copy link
Contributor

@martinstibbe martinstibbe left a comment

Choose a reason for hiding this comment

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

LGTM

Co-authored-by: Gustavo Bazan <gssbzn@gmail.com>
website/docs/d/online_archive.html.markdown Outdated Show resolved Hide resolved
website/docs/d/online_archive.html.markdown Outdated Show resolved Hide resolved
website/docs/d/online_archive.html.markdown Outdated Show resolved Hide resolved
website/docs/d/online_archive.html.markdown Outdated Show resolved Hide resolved
website/docs/d/online_archive.html.markdown Outdated Show resolved Hide resolved
website/docs/d/online_archive.html.markdown Outdated Show resolved Hide resolved
website/docs/d/online_archive.html.markdown Outdated Show resolved Hide resolved
website/docs/d/online_archive.html.markdown Outdated Show resolved Hide resolved
website/docs/d/online_archives.html.markdown Show resolved Hide resolved
website/docs/r/online_archive.html.markdown Show resolved Hide resolved
Copy link
Collaborator

@Zuhairahmed Zuhairahmed left a comment

Choose a reason for hiding this comment

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

LGTM pending doc update suggestions from @jwilliams-mongo, thanks @andreaangiolillo!

@andreaangiolillo
Copy link
Collaborator Author

Hi @jwilliams-mongo, merging this PR as I addressed all your comments. I will open a follow-up PR to address any other comments if any. Thanks!

@andreaangiolillo andreaangiolillo merged commit 9e580ec into master Jul 7, 2023
17 checks passed
@andreaangiolillo andreaangiolillo deleted the INTMDB-828 branch July 7, 2023 06:56
* `criteria.query` - JSON query to use to select documents for archiving. Atlas uses the specified query with the db.collection.find(query) command. The empty document {} to return all documents is not supported.
* `query` - JSON query to use to select documents for archiving. Atlas uses the specified query with the db.collection.find(query) command. The empty document {} to return all documents is not supported.

### Schedule

Choose a reason for hiding this comment

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

schedule should have also been added to the Argument Reference section above.

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

Successfully merging this pull request may close these issues.

6 participants