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

feat(Cloud Databases): Deprecate auto_scaling cpu attribute #4599

Merged
merged 1 commit into from
Jun 6, 2023

Conversation

alexhemard
Copy link
Collaborator

@alexhemard alexhemard commented May 31, 2023

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates to: #4339

Deprecates auto_scaling cpu from the ibm_database resource and data source, as this is not supported by Cloud Databases. This attribute will be removed in the future.

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccIBMDatabaseInstance_Redis_Basic'
...
--- PASS: TestAccIBMDatabaseInstance_Redis_Basic (741.61s)

@alexhemard alexhemard changed the title docs(Cloud Databases): remove autoscaling cpu block feature(Cloud Databases): remove autoscaling cpu block May 31, 2023
@alexhemard alexhemard force-pushed the alexhemard/autoscaling-fixes branch from ef425b4 to e2898ba Compare May 31, 2023 20:23
@alexhemard alexhemard changed the title feature(Cloud Databases): remove autoscaling cpu block feat(Cloud Databases): remove autoscaling cpu block May 31, 2023
@alexhemard alexhemard force-pushed the alexhemard/autoscaling-fixes branch from e2898ba to 3d2e651 Compare June 2, 2023 15:59
@alexhemard alexhemard changed the title feat(Cloud Databases): remove autoscaling cpu block feat(Cloud Databases): Deprecate auto_scaling cpu attribute Jun 2, 2023
@alexhemard alexhemard force-pushed the alexhemard/autoscaling-fixes branch from 3d2e651 to 51908e3 Compare June 2, 2023 16:03
@@ -534,40 +534,6 @@ func DataSourceIBMDatabaseInstance() *schema.Resource {
},
},
},
"cpu": {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would this immediate removal cause any backward compatibility issues?
Better to add Deprecated in this block?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I will mark it as deprecated - to be removed when auto_scaling cpu is removed from the ibm_database resource. Although, deprecating a data source attribute doesn't seem to give any message or warning

@alexhemard alexhemard force-pushed the alexhemard/autoscaling-fixes branch from 51908e3 to 2d73262 Compare June 5, 2023 17:57
@obai-1 obai-1 merged commit 80d708a into IBM-Cloud:master Jun 6, 2023
2 checks passed
@alexhemard alexhemard deleted the alexhemard/autoscaling-fixes branch June 6, 2023 13:05
omaraibrahim pushed a commit to omaraibrahim/terraform-provider-ibm that referenced this pull request Jul 20, 2023
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.

None yet

2 participants