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 "mail" attribut in "azurerm_dev_test_global_vm_shutdown_schedule" #7221

Closed
rapster83 opened this issue Jun 5, 2020 · 4 comments · Fixed by #13074
Closed

Support for "mail" attribut in "azurerm_dev_test_global_vm_shutdown_schedule" #7221

rapster83 opened this issue Jun 5, 2020 · 4 comments · Fixed by #13074
Labels
enhancement sdk/requires-newer-api-version This requires upgrading the version of the API being used service/devtestlabs
Milestone

Comments

@rapster83
Copy link

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

Description

According to the the Terraform Provider Definition, there is no parameter for "mail" or "email". Only webhook_url is possible! Could the resource please be extended with a "mail" parameter to add mail addresses for notification purposes, as the following screenshot illustrates?

Auto_Shutdown

New or Affected Resource(s)

  • azurerm_dev_test_global_vm_shutdown_schedule

Potential Terraform Configuration

resource "azurerm_dev_test_global_vm_shutdown_schedule" "example" {
  virtual_machine_id = azurerm_virtual_machine.example.id
  location           = azurerm_resource_group.example.location
  enabled            = true

  daily_recurrence_time = "1100"
  time_zone             = "Pacific Standard Time"

  notification_settings {
    enabled         = true
    time_in_minutes = "60"
    webhook_url     = "https://sample-webhook-url.example.com"

    mail            = "test@test.com"
  }
}

References

@tombuildsstuff tombuildsstuff added enhancement sdk/requires-newer-api-version This requires upgrading the version of the API being used service/devtestlabs labels Jun 5, 2020
@tombuildsstuff
Copy link
Member

@brunoscota
Copy link

hi all, any news regarding this feature, it is very important to my. As workaround, i'm using azcli to set the e-mail after terraform execution, but, every new run I need to reapply it.

Thank you.

@github-actions
Copy link

This functionality has been released in v2.74.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!

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement sdk/requires-newer-api-version This requires upgrading the version of the API being used service/devtestlabs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants