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
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -229,7 +229,7 @@ module "api_gateway" {
229
229
| <aname="input_body"></a> [body](#input\_body)| An OpenAPI specification that defines the set of routes and integrations to create as part of the HTTP APIs. Supported only for HTTP APIs |`string`|`null`| no |
| <aname="input_create"></a> [create](#input\_create)| Controls if resources should be created |`bool`|`true`| no |
232
-
| <aname="input_create_certificate"></a> [create\_certificate](#input\_create\_certificate)| Whether to create a certificate for the domain |`bool`|`true`| no |
232
+
| <aname="input_create_certificate"></a> [create\_certificate](#input\_create\_certificate)| Whether to create a certificate for the domain. Since certificate validate only works on public domains, this will be ignore if `private_zone` is set to `true`|`bool`|`true`| no |
233
233
| <aname="input_create_domain_name"></a> [create\_domain\_name](#input\_create\_domain\_name)| Whether to create API domain name resource |`bool`|`true`| no |
234
234
| <aname="input_create_domain_records"></a> [create\_domain\_records](#input\_create\_domain\_records)| Whether to create Route53 records for the domain name |`bool`|`true`| no |
235
235
| <aname="input_create_routes_and_integrations"></a> [create\_routes\_and\_integrations](#input\_create\_routes\_and\_integrations)| Whether to create routes and integrations resources |`bool`|`true`| no |
@@ -246,6 +246,7 @@ module "api_gateway" {
246
246
| <aname="input_ip_address_type"></a> [ip\_address\_type](#input\_ip\_address\_type)| The IP address types that can invoke the API. Valid values: ipv4, dualstack. Use ipv4 to allow only IPv4 addresses to invoke your API, or use dualstack to allow both IPv4 and IPv6 addresses to invoke your API. Defaults to ipv4. |`string`|`null`| no |
247
247
| <aname="input_mutual_tls_authentication"></a> [mutual\_tls\_authentication](#input\_mutual\_tls\_authentication)| The mutual TLS authentication configuration for the domain name |`map(string)`|`{}`| no |
248
248
| <aname="input_name"></a> [name](#input\_name)| The name of the API. Must be less than or equal to 128 characters in length |`string`|`""`| no |
249
+
| <aname="input_private_zone"></a> [private\_zone](#input\_private\_zone)| Indicates the hosted zone being looked up is private. Certificate validation will fail if this is set to true. |`bool`|`false`| no |
249
250
| <aname="input_protocol_type"></a> [protocol\_type](#input\_protocol\_type)| The API protocol. Valid values: `HTTP`, `WEBSOCKET`|`string`|`"HTTP"`| no |
250
251
| <aname="input_route_key"></a> [route\_key](#input\_route\_key)| Part of quick create. Specifies any route key. Applicable for HTTP APIs |`string`|`null`| no |
251
252
| <aname="input_route_selection_expression"></a> [route\_selection\_expression](#input\_route\_selection\_expression)| The route selection expression for the API. Defaults to `$request.method $request.path`|`string`|`null`| no |
description="Indicates the hosted zone being looked up is private. Certificate validation will fail if this is set to true."
161
+
type=bool
162
+
default=false
163
+
}
164
+
159
165
variable"domain_name_certificate_arn" {
160
166
description="The ARN of an AWS-managed certificate that will be used by the endpoint for the domain name. AWS Certificate Manager is the only supported source"
description="Whether to create a certificate for the domain"
210
+
description="Whether to create a certificate for the domain. Since certificate validate only works on public domains, this will be ignore if `private_zone` is set to `true`"
0 commit comments