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

Support for azurerm_consumption_budget_subscription notification locale #25619

Open
1 task done
AndreasAugustin opened this issue Apr 15, 2024 · 1 comment
Open
1 task done

Comments

@AndreasAugustin
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.

Description

Currently the notification block within consumption_budget_subscription does not support the locale.

https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/consumption_budget_subscription

The ARM template is supporting the notification locale

E.g.

"notifications": {
          "NotificationForExceededBudget90": {
            "enabled": true,
            "operator": "GreaterThan",
            "threshold": 90,
            "thresholdType": "Forecasted",
            "contactEmails": "[parameters('contactEmails')]",
            "locale": "en-us"
          }
        },

It would be awesome if the terraform module would also support the locale.

Workaround
Possible to be done with azurerm_subscription_template_deployment

New or Affected Resource(s)/Data Source(s)

azurerm_consumption_budget_subscription

Potential Terraform Configuration

notification {
     enabled        = true
     threshold      = 90.0
     operator       = "GreaterThan"
     threshold_type = "Forecasted"
     contact_emails = var.contact_emails
# addon
     locale         = "en-us"
   }

References

No response

AndreasAugustin added a commit to AndreasAugustin/terraform-provider-azurerm that referenced this issue Apr 15, 2024
Signed-off-by: Andy Augustin <dev@andreas-augustin.org>
AndreasAugustin added a commit to AndreasAugustin/terraform-provider-azurerm that referenced this issue Apr 15, 2024
Signed-off-by: Andy Augustin <dev@andreas-augustin.org>
AndreasAugustin added a commit to AndreasAugustin/terraform-provider-azurerm that referenced this issue Apr 15, 2024
Signed-off-by: Andy Augustin <dev@andreas-augustin.org>
@AndreasAugustin
Copy link
Author

will be solved with pull request #23509 (#22025 similar issue within resource_group scope)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants