Skip to content

INTMDB-874: [Terraform] Support transactionLifetimeLimitSeconds parameter in Cluster and Advanced Cluser #1252

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

Merged
merged 14 commits into from
Jun 22, 2023

Conversation

andreaangiolillo
Copy link
Collaborator

@andreaangiolillo andreaangiolillo commented Jun 19, 2023

Description

Ticket: INTMDB-874

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

Testing

TestAccClusterRSCluster_basic_Partial_AdvancedConf

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

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

TestAccClusterAdvancedCluster_advancedConf

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

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

@andreaangiolillo andreaangiolillo requested a review from a team as a code owner June 19, 2023 12:05
@@ -541,7 +541,10 @@ func clusterAdvancedConfigurationSchemaComputed() *schema.Schema {
},
"oplog_min_retention_hours": {
Type: schema.TypeInt,
Optional: true,
Computed: true,
Copy link
Collaborator

Choose a reason for hiding this comment

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

not optional any more?

Copy link
Collaborator Author

@andreaangiolillo andreaangiolillo Jun 19, 2023

Choose a reason for hiding this comment

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

Optional is not correct here because data sources cannot provide data but only store data coming from the endpoint. The same field for the resource has Optional

@andreaangiolillo andreaangiolillo requested a review from gssbzn June 19, 2023 12:12
@andreaangiolillo andreaangiolillo marked this pull request as draft June 19, 2023 12:12
@andreaangiolillo andreaangiolillo marked this pull request as ready for review June 19, 2023 12:18
@andreaangiolillo andreaangiolillo requested review from martinstibbe, Zuhairahmed and a team June 19, 2023 12:40
@andreaangiolillo andreaangiolillo marked this pull request as draft June 19, 2023 13:23
@andreaangiolillo andreaangiolillo marked this pull request as ready for review June 19, 2023 16:47
Copy link
Contributor

@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.

Minor doc comments, not-blocking. Otherwise LGTM

@andreaangiolillo andreaangiolillo merged commit fd37dd0 into master Jun 22, 2023
@andreaangiolillo andreaangiolillo deleted the INTMDB-874 branch June 22, 2023 12:27
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.

3 participants