-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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 Resource: azurerm_consumption_budget_management_group
#14411
New Resource: azurerm_consumption_budget_management_group
#14411
Conversation
azurerm_consumption_budget_management_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.
Thanks for this PR @josh-barker. Overall this looks good, once the docs have been fixed up and the comment on the schema addressed this should be good to go!
website/docs/r/consumption_budget_management_group.html.markdown
Outdated
Show resolved
Hide resolved
website/docs/r/consumption_budget_management_group.html.markdown
Outdated
Show resolved
Hide resolved
|
||
--- | ||
|
||
A `filter` block supports the following: |
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.
A `filter` block supports the following: | |
A `filter` block exports the following: |
website/docs/r/consumption_budget_management_group.html.markdown
Outdated
Show resolved
Hide resolved
website/docs/r/consumption_budget_management_group.html.markdown
Outdated
Show resolved
Hide resolved
website/docs/r/consumption_budget_management_group.html.markdown
Outdated
Show resolved
Hide resolved
website/docs/r/consumption_budget_management_group.html.markdown
Outdated
Show resolved
Hide resolved
website/docs/r/consumption_budget_management_group.html.markdown
Outdated
Show resolved
Hide resolved
Hey @stephybun, Thanks for all your feedback. In the other consumption resources, the reference object is not consistent. The Are you asking the implementation to be changed to this?
|
Hey @josh-barker, Apologies I should have clarified further, the implementation should be changed to use the management group resource ID, so this form: |
Thank you @josh-barker really need this! Can't wait for this to be merged. Please do reach out if you need any help! |
Hey @stephybun, I've implemented all of your requested changes except for the request to change |
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 @josh-barker, LGTM 👍🏼
This functionality has been released in v2.89.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. |
This PR creates a new resources for the managing a consumption budget for management groups.
Whilst developing this I found that the schema is slightly different to resource groups and subscriptions.
contact_roles
are not supportedcontact_groups
are not supportedThis then changes the requirements for
contact_emails
making them mandatory and a minimum of 1 element.I used go-generate to help create the initial outline for the ID resources, but as management group IDs do not have a subscription, I had to use
ParseAzureResourceIDWithoutSubscription
.Addresses #13112