File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 33 is_websocket = var. protocol_type == " WEBSOCKET"
44
55 create_routes_and_integrations = var. create && var. create_routes_and_integrations
6+ disable_execute_api_endpoint = var. disable_execute_api_endpoint != null ? var. disable_execute_api_endpoint : local. is_http && local. create_domain_name
67}
78
89# ###############################################################################
@@ -31,7 +32,7 @@ resource "aws_apigatewayv2_api" "this" {
3132 credentials_arn = local. is_http ? var. credentials_arn : null
3233 description = var. description
3334 # https://docs.aws.amazon.com/apigateway/latest/developerguide/rest-api-disable-default-endpoint.html
34- disable_execute_api_endpoint = local. is_http && local . create_domain_name ? true : var . disable_execute_api_endpoint
35+ disable_execute_api_endpoint = local. disable_execute_api_endpoint
3536 fail_on_warnings = local. is_http ? var. fail_on_warnings : null
3637 name = var. name
3738 protocol_type = var. protocol_type
You can’t perform that action at this time.
0 commit comments