-
Notifications
You must be signed in to change notification settings - Fork 4
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
Feature/18743 fix terraform modules warnings AB#18743 #385
Conversation
…gement_policy resource
…erty and will be removed in version 3.0 of the AzureAD provider
I will take a closer look at this next week. |
Sure, take your time and lets decide how do we approach to this. |
@@ -47,7 +47,7 @@ resource "azurerm_api_management_api" "api" { | |||
authorization_server_name = "${lower(replace(var.api_settings.name, " ", "-"))}-auth" | |||
} | |||
|
|||
soap_pass_through = var.soap_pass_through | |||
api_type = var.api_type |
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.
indeed this is a breaking change (anyone who uses this module, it will stop working.
Could you keep the variable named:
soap_pass_through but make it something as follow:
api = var. api_type == null && var.soap_pass_through? "soap": var.api_type !=null? var. api_type : "http"
This way: even if someone updates the repo, it will still work with the same interface ( input variables)
variable "api_type" { | ||
type = string | ||
description = "Type of API. Possible values are graphql, http, soap, and websocket. Defaults to http" | ||
default = "http" |
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.
based on my suggestion to not break other peoples code, I would put to null as default
That alone is not the only breaking change. Updating For this to work we need to change the version of
For versions 2.44.0 and 2.45.0 nether will work.
|
Multiple changes related with depricated warnings
see the screenshots within the ticket
-https://dev.azure.com/VolkerWesselsTelecom/Baanbrekend%20-%20Applicatie%20Integratie/_sprints/taskboard/Development/Baanbrekend%20-%20Applicatie%20Integratie/Q1%20(2024)/Sprint%2053?workitem=18303
probably best are the necessary changes described here - at least most of them :)
AzureAD creating an ID with applications/GUID instead just GUID with latest version v2.44.1 hashicorp/terraform-provider-azuread#1227