-
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
azurerm_signalr_service ignore unsupported features for plans #13688
Comments
Looks like this is covered in #11353 |
hey @drdamour Thanks for opening this issue. Taking a look through here this is unfortunate due to the design of the API - when this was first implemented we were under the impression these were only for Beta features in the API which would be GA'd to defaults - unfortunately these remain present even after these features had GA'd. As such unfortunately at this point in time the List syntax that's being used here isn't ideal, and in retrospect we likely should have used top-level fields for this (e.g. For the moment I'm going to assign this to the 3.0 milestone and we'll take a look at this when we get to that - as @FlipABit has mentioned support for EnableLiveTrace specifically is being tracked in #11353 - but we'll leave this open since it's tracking a different behavioural change to these resources. Thanks! |
@tombuildsstuff no doubt the underlying structure is pretty quirky. there's no way to support both with deprecated? there was something similar to this in azuread homepage_url and they supported both SxS for a while with a deprecation warning |
Hey @drdamour - we've changed updated how we handle features in #14360 by moving them to properly validated and named top level fields and I think this should help with any confusion around them. As such I'm going to close this for now but do let us know if it hasn't helped! (note I believe there was a bug in last weeks release wrt signal R so you may need tow air till this weeks release ons Thursday to give it a try) |
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 toggle some of the "boolean" features of azurerm_signalr_service like EnableConnectivityLogs, EnableMessagingLogs from in the portal or through api, then terraform thinks it needs to set them back to null. It tries, and then they are still just false.
Similar if you set them to "false".
Problem is only SOME features are "boolean" so how could you know which you should make null equivalent to false?
it's fine enough to set the supported features to "False" explicit to get outta the endless plans, but for unsupported by TF features like EnableLiveTrace if you toggle them on and off..TF always wants to set them to null.
Can we change the resource to just ignore unsupported by TF features instead of trying to null them out every time and failing?
the way the features are setup...i don't think there is a way to ignore specific features using lifecycle.ignore_changes so i have to ignore all the features to make this go away..which stinks. I'm sure the idea of making features a map block isn't a good one...but it'd make ignoring more specific. perhaps there's a trick to ignoring a specific sub block based on a key value of sub block..but i don't know it.
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
azurerm_signalr_service
Terraform Configuration Files
Debug Output
Panic Output
Expected Behaviour
Actual Behaviour
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: