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

Feature/18743 v4 depricated modules warnings AB#18743 #391

Merged
merged 8 commits into from
Feb 19, 2024

Conversation

zjanura
Copy link
Contributor

@zjanura zjanura commented Feb 15, 2024

This is follow up for previous PR heading into develop branch but in this case it is addition into v4

Feel free to check your comments (@tom-reinders , @ArtiomMatiom ) in previous PR on this link bellow

Due to step validation failing on lack of disk space I did also introduced some small disk space cleaning based on link bellow
https://github.com/marketplace/actions/free-disk-space-ubuntu

#385

@zjanura zjanura requested review from tom-reinders and a team as code owners February 15, 2024 11:58
@zjanura zjanura merged commit 1fd84b1 into 4.x Feb 19, 2024
2 checks passed
@zjanura
Copy link
Contributor Author

zjanura commented Feb 19, 2024

Updated

variable "api_type" {
type = string
description = "Type of API. Possible values are graphql, http, soap, and websocket"
default = null
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
default = null
default = "http"

@@ -41,7 +41,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 == null && var.soap_pass_through ? "soap" : var.api_type != null ? var.api_type : "http"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
api_type = var.api_type == null && var.soap_pass_through ? "soap" : var.api_type != null ? var.api_type : "http"
api_type = var.api_type

Because we this is going to be in the v4 release breaking changes are not a problem, please remove soap_pass_through variable

@@ -172,6 +172,12 @@ variable "soap_pass_through" {
default = false
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

soap_pass_through can be removed

@@ -41,7 +41,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 == null && var.soap_pass_through) ? "soap" : var.api_type != null ? var.api_type : "http"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
api_type = (var.api_type == null && var.soap_pass_through) ? "soap" : var.api_type != null ? var.api_type : "http"
api_type = var.api_type

Because we this is going to be in the v4 release breaking changes are not a problem, please remove soap_pass_through variable

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version ~> 2.36 of hashicorp/azuread does not support client_id please update version

@zjanura zjanura deleted the feature/18743-v4-depricated-modules-warnings branch February 19, 2024 10:38
@tom-reinders tom-reinders added this to the v4.0.0 milestone Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants