IBM-Cloud / terraform-provider-ibm

https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs
Mozilla Public License 2.0
336 stars 646 forks source link

Update Usage Reports terraform code to support new error handling #5365

Closed manukm-ibm closed 1 month ago

manukm-ibm commented 1 month ago

Community Note

Relates https://github.ibm.com/BSS/metering-deliverables/issues/2243

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccIBMBillingReportSnapshot'

=== RUN   TestAccIBMBillingReportSnapshotBasic
--- PASS: TestAccIBMBillingReportSnapshotBasic (29.62s)
PASS
ok      github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/usagereports    35.628s

=== RUN   TestAccIBMBillingReportSnapshotAllArgs
--- PASS: TestAccIBMBillingReportSnapshotAllArgs (19.33s)
PASS
ok      github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/usagereports    25.633s

$make testacc TESTARGS="-run=TestAccIBMBillingSnapshotListDataSourceBasic"

=== RUN   TestAccIBMBillingSnapshotListDataSourceBasic
--- PASS: TestAccIBMBillingSnapshotListDataSourceBasic (12.57s)
PASS
ok      github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/usagereports    24.533s
...
dpopp07 commented 1 month ago

@manukm-ibm confirmed that these changes include the new patterns needed for the error toolchain 👍