Skip to content

Commit 273c824

Browse files
committed
singluar tag not plural
1 parent 432c065 commit 273c824

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ module "api_gateway" {
235235
| <a name="input_domain_name_ownership_verification_certificate_arn"></a> [domain\_name\_ownership\_verification\_certificate\_arn](#input\_domain\_name\_ownership\_verification\_certificate\_arn) | ARN of the AWS-issued certificate used to validate custom domain ownership (when certificate\_arn is issued via an ACM Private CA or mutual\_tls\_authentication is configured with an ACM-imported certificate.) | `string` | `null` | no |
236236
| <a name="input_fail_on_warnings"></a> [fail\_on\_warnings](#input\_fail\_on\_warnings) | Whether warnings should return an error while API Gateway is creating or updating the resource using an OpenAPI specification. Defaults to `false`. Applicable for HTTP APIs | `bool` | `null` | no |
237237
| <a name="input_hosted_zone_name"></a> [hosted\_zone\_name](#input\_hosted\_zone\_name) | Optional domain name of the Hosted Zone where the domain should be created | `string` | `null` | no |
238-
| <a name="input_include_default_tags"></a> [include\_default\_tags](#input\_include\_default\_tags) | Set to false to not include the default tag in the tags map. | `bool` | `true` | no |
238+
| <a name="input_include_default_tag"></a> [include\_default\_tag](#input\_include\_default\_tag) | Set to false to not include the default tag in the tags map. | `bool` | `true` | no |
239239
| <a name="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 |
240240
| <a name="input_mutual_tls_authentication"></a> [mutual\_tls\_authentication](#input\_mutual\_tls\_authentication) | The mutual TLS authentication configuration for the domain name | `map(string)` | `{}` | no |
241241
| <a name="input_name"></a> [name](#input\_name) | The name of the API. Must be less than or equal to 128 characters in length | `string` | `""` | no |

examples/complete-http/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ module "api_gateway_disabled" {
198198
module "api_gateway_without_default_tags" {
199199
source = "../../"
200200

201-
name = "${local.name}-no-default-tags"
202-
include_default_tags = false
201+
name = "${local.name}-no-default-tags"
202+
include_default_tag = false
203203

204204
tags = {
205205
CustomTag = "custom-value"

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ resource "aws_apigatewayv2_api" "this" {
4242
version = var.api_version
4343

4444
tags = merge(
45-
var.include_default_tags ? { terraform-aws-modules = "apigateway-v2" } : {},
45+
var.include_default_tag ? { terraform-aws-modules = "apigateway-v2" } : {},
4646
var.tags,
4747
)
4848
}

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ variable "create" {
44
default = true
55
}
66

7-
variable "include_default_tags" {
7+
variable "include_default_tag" {
88
description = "Set to false to not include the default tag in the tags map."
99
type = bool
1010
default = true

0 commit comments

Comments
 (0)