-
Notifications
You must be signed in to change notification settings - Fork 666
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
Add fix for storage capacity & system pool output #4074
Add fix for storage capacity & system pool output #4074
Conversation
An internal IBM terraform user found some issues with the output function of a couple of the data sources: ibm_pi_system_pools and ibm_pi_storage_type_capacity. Some output was wrong or missing. I was able to reproduce. and output.tf output "storage_tier3" {
Those changes result in the this new output that show missing the data
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
thanks @rmoralesjr
Just now realized we need changes in data_source_ibm_pi_storage_types_capacity.go as well
e40aa61
to
2cb1243
Compare
I added the changes to storage types capacity as well === RUN TestAccIBMPIStorageTypesCapacityDataSourceBasic I tested the output for it by adding this to a output.tf file The output for storage types capacity is this now . . .
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rmoralesjr could you please verify and fix similar changes in ibm_pi_storage_pools_capacity
and ibm_pi_storage_pool_capacity
please?
Add fix for storage capacity & system pool output
2cb1243
to
4be5d83
Compare
ibm_pi_storage_pools_capacity and ibm_pi_storage_pool_capacity data objects have been addressed . . . === RUN TestAccIBMPIStoragePoolCapacityDataSourceBasic === RUN TestAccIBMPIStoragePoolsCapacityDataSourceBasic The output for these data sources are now . . . storage_pool_cap = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@hkantare Could you please review. Thank you. |
Add fix for storage capacity & system pool output
Community Note
Relates OR Closes #0000
Output from acceptance testing:
=== RUN TestAccIBMPIStorageTypeCapacityDataSourceBasic
--- PASS: TestAccIBMPIStorageTypeCapacityDataSourceBasic (20.74s)
PASS
=== RUN TestAccIBMPISystemPoolsDataSourceBasic
--- PASS: TestAccIBMPISystemPoolsDataSourceBasic (11.97s)
PASS