diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5b0ff65..95db0a5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -314,5 +314,5 @@
* 2.9.0 -- 2023-05-26
- vpn-transit-gateway
- new variables for creating cloudwatch alarms
- - create_cloudwatch_alarms
+ - enable_cloudwatch_alarms
- cloudwatch_alarm_topic_arn
diff --git a/vpn-transit-gateway/README.md b/vpn-transit-gateway/README.md
index 38d14e8..dd9e338 100644
--- a/vpn-transit-gateway/README.md
+++ b/vpn-transit-gateway/README.md
@@ -37,7 +37,7 @@ module "vpn_transit-gateway" {
# optional
# use_tgw_prefixes = true
- # create_cloudwatch_alarms = true
+ # enable_cloudwatch_alarms = true
# cloudwatch_alarm_topic_arn = data.aws_sns_topic.mytopic.arn
}
```
@@ -103,7 +103,7 @@ No modules.
| [account\_id](#input\_account\_id) | AWS Account ID (default: will pull from current user) | `string` | `""` | no |
| [cloudwatch\_alarm\_topic\_arn](#input\_cloudwatch\_alarm\_topic\_arn) | SNS ARN for Cloudwtch Metric Alarms for VPN tunnels. If null, no alarms will be created. | `string` | `null` | no |
| [create](#input\_create) | Flag to indicate whether to create the resources or not (default: true) | `bool` | `true` | no |
-| [create\_cloudwatch\_alarms](#input\_create\_cloudwatch\_alarms) | Flag to enable or disable creation of Cloudwatch Metric Alarms for VPN tunnels (requires cloudwatch\_alarm\_topic\_arn to be defined). | `bool` | n/a | yes |
+| [enable\_cloudwatch\_alarms](#input\_enable\_cloudwatch\_alarms) | Flag to enable or disable creation of Cloudwatch Metric Alarms for VPN tunnels (requires cloudwatch\_alarm\_topic\_arn to be defined). | `bool` | n/a | yes |
| [enable\_cloudwatch\_logging](#input\_enable\_cloudwatch\_logging) | Flag to enable or disable VPN tunnel logging to CloudWatch. If Enabled, it will create the cloudwatch log groups | `bool` | `false` | no |
| [generate\_json\_files](#input\_generate\_json\_files) | Flag to enable or disable generation of JSON file from VPN information | `bool` | `false` | no |
| [generate\_yaml\_files](#input\_generate\_yaml\_files) | Flag to enable or disable generation of YAML file from VPN information | `bool` | `true` | no |
diff --git a/vpn-transit-gateway/main.tf b/vpn-transit-gateway/main.tf
index 73b73a6..abcebe9 100644
--- a/vpn-transit-gateway/main.tf
+++ b/vpn-transit-gateway/main.tf
@@ -38,7 +38,7 @@
*
* # optional
* # use_tgw_prefixes = true
-* # create_cloudwatch_alarms = true
+* # enable_cloudwatch_alarms = true
* # cloudwatch_alarm_topic_arn = data.aws_sns_topic.mytopic.arn
* }
* ```
diff --git a/vpn-transit-gateway/variables.tf b/vpn-transit-gateway/variables.tf
index ec8033d..bebdb0c 100644
--- a/vpn-transit-gateway/variables.tf
+++ b/vpn-transit-gateway/variables.tf
@@ -87,7 +87,7 @@ variable "use_single_cgw" {
default = false
}
-variable "create_cloudwatch_alarms" {
+variable "enable_cloudwatch_alarms" {
description = "Flag to enable or disable creation of Cloudwatch Metric Alarms for VPN tunnels (requires cloudwatch_alarm_topic_arn to be defined)."
type = bool
defualt = true