You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Terraform resource azurerm_security_center_contact does not support multiple emails to be set currently, whereas Azure Portal does. Terraform provider uses old, 2017-08-01-preview API version which only has access to set single email, but newer 2020-01-01-preview API allows for multiple, semicolon separated emails to be provided.
It sounds like the Azure API was revised in ~2020 to support semi-colon delimeted lists of email addresses. Presumably this is now possible and the provider needs to be updated to match the API abilities.
Community Note
Description
Terraform resource
azurerm_security_center_contact
does not support multiple emails to be set currently, whereas Azure Portal does. Terraform provider uses old,2017-08-01-preview
API version which only has access to set single email, but newer2020-01-01-preview
API allows for multiple, semicolon separated emails to be provided.New or Affected Resource(s)
Potential Terraform Configuration
The
2020-01-01-preview
API supports following payload:PUT https://management.azure.com/subscriptions//providers/Microsoft.Security/securityContacts/default?api-version=2020-01-01-preview
References
The text was updated successfully, but these errors were encountered: