-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
New data source: azurerm_consumption_budget_resource_group #12538
New data source: azurerm_consumption_budget_resource_group #12538
Conversation
azurerm_consumption_budget_resource_group
D/azurerm_consumption_budget_resource_group
D/azurerm_consumption_budget_resource_group
D
/azurerm_consumption_budget_resource_group
D
/azurerm_consumption_budget_resource_group
azurerm_consumption_budget_resource_group
azurerm_consumption_budget_resource_group
D/azurerm_consumption_budget_resource_group
D/azurerm_consumption_budget_resource_group
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.
Hi @gro1m - Thanks for this and apologies for the delay in review. I've left some comments below on changes required. I've only reviewed the resource so far, as the changes will mean the the tests and docs need updating, so I'll continue once those are addressed.
Thanks again.
azurerm/internal/services/consumption/consumption_budget_resource_group_data_source.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/consumption/consumption_budget_resource_group_data_source.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/consumption/consumption_budget_resource_group_data_source.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/consumption/consumption_budget_resource_group_data_source.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/consumption/consumption_budget_resource_group_data_source.go
Outdated
Show resolved
Hide resolved
… on its owninstead of taking it from schema.go file
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.
Hi @gro1m, thanks for your patience. I hope you don't mind that I jumped in at this point to fix up the acceptance test and part of the data source. Feel free to reach out to me if you have any questions about the changes I made. The test runs now and I left a TODO in there for adding the remaining checks, also there are a few comments regarding the schema that need to be addressed before we can merge this. I'm also happy to finish this up if you'd like, thought you might like to have another crack at it though.
internal/services/consumption/consumption_budget_resource_group_data_source.go
Outdated
Show resolved
Hide resolved
internal/services/consumption/consumption_budget_resource_group_data_source.go
Outdated
Show resolved
Hide resolved
internal/services/consumption/consumption_budget_resource_group_data_source.go
Outdated
Show resolved
Hide resolved
internal/services/consumption/consumption_budget_resource_group_data_source.go
Outdated
Show resolved
Hide resolved
internal/services/consumption/consumption_budget_resource_group_data_source.go
Outdated
Show resolved
Hide resolved
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.
There's a suggestion on how the schema should look like for those Elem
blocks. It would need to be applied to all the other ones too.
internal/services/consumption/consumption_budget_resource_group_data_source.go
Outdated
Show resolved
Hide resolved
internal/services/consumption/consumption_budget_resource_group_data_source_test.go
Show resolved
Hide resolved
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.
Thanks @gro1m for setting those properties to Computed
. I finished up the test and docs. Since I made a few adjustments i've asked @jackofallops to do a final review before we merge this 🙂.
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.
Thanks @gro1m and @stephybun - This LGTM 🚀
This functionality has been released in v2.81.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Base off #12150.