Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed May 26, 2023
1 parent 909c3fa commit 2cb4882
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions vpn-transit-gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
```
Expand Down Expand Up @@ -103,7 +103,7 @@ No modules.
| <a name="input_account_id"></a> [account\_id](#input\_account\_id) | AWS Account ID (default: will pull from current user) | `string` | `""` | no |
| <a name="input_cloudwatch_alarm_topic_arn"></a> [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 |
| <a name="input_create"></a> [create](#input\_create) | Flag to indicate whether to create the resources or not (default: true) | `bool` | `true` | no |
| <a name="input_create_cloudwatch_alarms"></a> [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 |
| <a name="input_enable_cloudwatch_alarms"></a> [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 |
| <a name="input_enable_cloudwatch_logging"></a> [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 |
| <a name="input_generate_json_files"></a> [generate\_json\_files](#input\_generate\_json\_files) | Flag to enable or disable generation of JSON file from VPN information | `bool` | `false` | no |
| <a name="input_generate_yaml_files"></a> [generate\_yaml\_files](#input\_generate\_yaml\_files) | Flag to enable or disable generation of YAML file from VPN information | `bool` | `true` | no |
Expand Down
2 changes: 1 addition & 1 deletion vpn-transit-gateway/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
* }
* ```
Expand Down
2 changes: 1 addition & 1 deletion vpn-transit-gateway/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2cb4882

Please sign in to comment.