diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml
index 3e88b85..8810fc4 100644
--- a/.github/workflows/changelog.yml
+++ b/.github/workflows/changelog.yml
@@ -10,4 +10,4 @@ jobs:
uses: clouddrove/github-shared-workflows/.github/workflows/changelog.yml@master
secrets: inherit
with:
- branch: 'master'
\ No newline at end of file
+ branch: 'master'
diff --git a/.github/workflows/tfsec.yml b/.github/workflows/tfsec.yml
index 9aaf588..c203751 100644
--- a/.github/workflows/tfsec.yml
+++ b/.github/workflows/tfsec.yml
@@ -8,4 +8,4 @@ jobs:
uses: clouddrove/github-shared-workflows/.github/workflows/tfsec.yml@master
secrets: inherit
with:
- working_directory: '.'
\ No newline at end of file
+ working_directory: '.'
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8f20fd5..0bfe737 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -27,4 +27,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[1.0.0]: https://github.com/clouddrove/terraform-azure-acr/compare/1.0.0...master
[1.0.1]: https://github.com/clouddrove/terraform-azure-vpn/compare/1.0.0...1.0.1
-[1.0.2]: https://github.com/clouddrove/terraform-azure-vpn/compare/1.0.1...1.0.2
\ No newline at end of file
+[1.0.2]: https://github.com/clouddrove/terraform-azure-vpn/compare/1.0.1...1.0.2
diff --git a/README.md b/README.md
index 31c87aa..7355758 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
Terraform AZURE VPN
-
+
Terraform module to create vpn resource on AZURE.
@@ -38,7 +38,7 @@
-We eat, drink, sleep and most importantly love **DevOps**. We are working towards strategies for standardizing architecture while ensuring security for the infrastructure. We are strong believer of the philosophy Bigger problems are always solved by breaking them into smaller manageable problems. Resonating with microservices architecture, it is considered best-practice to run database, cluster, storage in smaller connected yet manageable pieces within the infrastructure.
+We eat, drink, sleep and most importantly love **DevOps**. We are working towards strategies for standardizing architecture while ensuring security for the infrastructure. We are strong believer of the philosophy Bigger problems are always solved by breaking them into smaller manageable problems. Resonating with microservices architecture, it is considered best-practice to run database, cluster, storage in smaller connected yet manageable pieces within the infrastructure.
This module is basically combination of [Terraform open source](https://www.terraform.io/) and includes automatation tests and examples. It also helps to create and improve your infrastructure with minimalistic code instead of maintaining the whole infrastructure code yourself.
@@ -49,7 +49,7 @@ We have [*fifty plus terraform modules*][terraform_modules]. A few of them are c
## Prerequisites
-This module has a few dependencies:
+This module has a few dependencies:
- [Terraform 1.x.x](https://learn.hashicorp.com/terraform/getting-started/install.html)
- [Go](https://golang.org/doc/install)
@@ -232,7 +232,7 @@ Here are some examples of how you can use this module in your inventory structur
## Testing
-In this module testing is performed with [terratest](https://github.com/gruntwork-io/terratest) and it creates a small piece of infrastructure, matches the output like ARN, ID and Tags name etc and destroy infrastructure in your AWS account. This testing is written in GO, so you need a [GO environment](https://golang.org/doc/install) in your system.
+In this module testing is performed with [terratest](https://github.com/gruntwork-io/terratest) and it creates a small piece of infrastructure, matches the output like ARN, ID and Tags name etc and destroy infrastructure in your AWS account. This testing is written in GO, so you need a [GO environment](https://golang.org/doc/install) in your system.
You need to run the following command in the testing folder:
```hcl
@@ -241,7 +241,7 @@ You need to run the following command in the testing folder:
-## Feedback
+## Feedback
If you come accross a bug or have any feedback, please log it in our [issue tracker](https://github.com/clouddrove/terraform-azure-vpn/issues), or feel free to drop us an email at [hello@clouddrove.com](mailto:hello@clouddrove.com).
If you have found it worth your time, go ahead and give us a ★ on [our GitHub](https://github.com/clouddrove/terraform-azure-vpn)!
diff --git a/README.yaml b/README.yaml
index 4e9ac20..365ac27 100644
--- a/README.yaml
+++ b/README.yaml
@@ -124,6 +124,3 @@ usage: |-
]
}
```
-
-
-
diff --git a/example/point-to-site-with-ad/main.tf b/example/point-to-site-with-ad/main.tf
index e8fb5a3..9d8d649 100644
--- a/example/point-to-site-with-ad/main.tf
+++ b/example/point-to-site-with-ad/main.tf
@@ -8,7 +8,7 @@ locals {
environment = "test"
}
-##-----------------------------------------------------------------------------
+##-----------------------------------------------------------------------------
## Resource Group module call
## Resource group in which all resources will be deployed.
##-----------------------------------------------------------------------------
@@ -21,9 +21,9 @@ module "resource_group" {
location = "Canada Central"
}
-##-----------------------------------------------------------------------------
+##-----------------------------------------------------------------------------
## Virtual Network module call.
-## Virtual Network in which vpn subnet(Gateway Subnet) will be created.
+## Virtual Network in which vpn subnet(Gateway Subnet) will be created.
##-----------------------------------------------------------------------------
module "vnet" {
source = "clouddrove/vnet/azure"
@@ -35,9 +35,9 @@ module "vnet" {
address_space = "10.0.0.0/16"
}
-##-----------------------------------------------------------------------------
-## Subnet module call.
-## Name specific subnet for vpn will be created.
+##-----------------------------------------------------------------------------
+## Subnet module call.
+## Name specific subnet for vpn will be created.
##-----------------------------------------------------------------------------
module "subnet" {
source = "clouddrove/subnet/azure"
@@ -62,9 +62,9 @@ module "subnet" {
]
}
-##-----------------------------------------------------------------------------
-## VPN module call.
-## Following module will deploy point to site vpn in azure infratsructure.
+##-----------------------------------------------------------------------------
+## VPN module call.
+## Following module will deploy point to site vpn in azure infratsructure.
##-----------------------------------------------------------------------------
module "vpn" {
depends_on = [module.vnet]
diff --git a/example/point-to-site-with-ad/output.tf b/example/point-to-site-with-ad/output.tf
index f5cb2bd..837af62 100644
--- a/example/point-to-site-with-ad/output.tf
+++ b/example/point-to-site-with-ad/output.tf
@@ -2,4 +2,3 @@ output "vpn_gw_id" {
value = join("", module.vpn.*.vpn_gw_id)
description = "The ID of the Virtual Network Gateway."
}
-
diff --git a/example/point-to-site-with-certificate/main.tf b/example/point-to-site-with-certificate/main.tf
index 1088500..59bf9a3 100644
--- a/example/point-to-site-with-certificate/main.tf
+++ b/example/point-to-site-with-certificate/main.tf
@@ -8,7 +8,7 @@ locals {
environment = "test"
}
-##-----------------------------------------------------------------------------
+##-----------------------------------------------------------------------------
## Resource Group module call
## Resource group in which all resources will be deployed.
##-----------------------------------------------------------------------------
@@ -21,9 +21,9 @@ module "resource_group" {
location = "Canada Central"
}
-##-----------------------------------------------------------------------------
+##-----------------------------------------------------------------------------
## Virtual Network module call.
-## Virtual Network in which vpn subnet(Gateway Subnet) will be created.
+## Virtual Network in which vpn subnet(Gateway Subnet) will be created.
##-----------------------------------------------------------------------------
module "vnet" {
source = "clouddrove/vnet/azure"
@@ -35,9 +35,9 @@ module "vnet" {
address_space = "10.0.0.0/16"
}
-##-----------------------------------------------------------------------------
-## Subnet module call.
-## Name specific subnet for vpn will be created.
+##-----------------------------------------------------------------------------
+## Subnet module call.
+## Name specific subnet for vpn will be created.
##-----------------------------------------------------------------------------
module "subnet" {
source = "clouddrove/subnet/azure"
@@ -62,9 +62,9 @@ module "subnet" {
]
}
-##-----------------------------------------------------------------------------
-## VPN module call.
-## Following module will deploy point to site vpn with ssl certificate in azure infratsructure.
+##-----------------------------------------------------------------------------
+## VPN module call.
+## Following module will deploy point to site vpn with ssl certificate in azure infratsructure.
##-----------------------------------------------------------------------------
module "vpn" {
source = "../../"
diff --git a/example/point-to-site-with-certificate/output.tf b/example/point-to-site-with-certificate/output.tf
index 529228c..b8a5d1e 100644
--- a/example/point-to-site-with-certificate/output.tf
+++ b/example/point-to-site-with-certificate/output.tf
@@ -2,4 +2,3 @@ output "vpn_gw_id" {
value = join("", module.vpn.*.vpn_gw_id_certificate)
description = "The ID of the Virtual Network Gateway."
}
-
diff --git a/example/site-to-site/main.tf b/example/site-to-site/main.tf
index 1e3bf5c..a184b1d 100644
--- a/example/site-to-site/main.tf
+++ b/example/site-to-site/main.tf
@@ -8,7 +8,7 @@ locals {
environment = "test"
}
-##-----------------------------------------------------------------------------
+##-----------------------------------------------------------------------------
## Resource Group module call
## Resource group in which all resources will be deployed.
##-----------------------------------------------------------------------------
@@ -21,9 +21,9 @@ module "resource_group" {
location = "Canada Central"
}
-##-----------------------------------------------------------------------------
+##-----------------------------------------------------------------------------
## Virtual Network module call.
-## Virtual Network in which vpn subnet(Gateway Subnet) will be created.
+## Virtual Network in which vpn subnet(Gateway Subnet) will be created.
##-----------------------------------------------------------------------------
module "vnet" {
source = "clouddrove/vnet/azure"
@@ -35,9 +35,9 @@ module "vnet" {
address_space = "10.0.0.0/16"
}
-##-----------------------------------------------------------------------------
-## Subnet module call.
-## Name specific subnet for vpn will be created.
+##-----------------------------------------------------------------------------
+## Subnet module call.
+## Name specific subnet for vpn will be created.
##-----------------------------------------------------------------------------
module "subnet" {
source = "clouddrove/subnet/azure"
@@ -62,9 +62,9 @@ module "subnet" {
]
}
-##-----------------------------------------------------------------------------
-## VPN module call.
-## Following module will deploy site to site vpn with ssl certificate in azure infratsructure.
+##-----------------------------------------------------------------------------
+## VPN module call.
+## Following module will deploy site to site vpn with ssl certificate in azure infratsructure.
##-----------------------------------------------------------------------------
module "vpn" {
depends_on = [module.vnet]
diff --git a/main.tf b/main.tf
index 1bd13fb..1eb3e28 100644
--- a/main.tf
+++ b/main.tf
@@ -12,7 +12,7 @@ module "labels" {
}
##-----------------------------------------------------------------------------
-## data block called for resource group.
+## data block called for resource group.
##-----------------------------------------------------------------------------
data "azurerm_resource_group" "rg" {
name = var.resource_group_name
@@ -20,7 +20,7 @@ data "azurerm_resource_group" "rg" {
##-----------------------------------------------------------------------------
## Random string called
-## Will be used further in public ip resource in domain name label.
+## Will be used further in public ip resource in domain name label.
##-----------------------------------------------------------------------------
resource "random_string" "str" {
count = var.enable ? 1 : 0
@@ -100,7 +100,7 @@ resource "azurerm_virtual_network_gateway" "vpngw" {
##-----------------------------------------------------------------------------
## Virtual Network Gateway
-## Following resource will deploy virtual network gateway with certificate.
+## Following resource will deploy virtual network gateway with certificate.
##-----------------------------------------------------------------------------
resource "azurerm_virtual_network_gateway" "vpngw2" {
count = var.enable && var.vpn_with_certificate ? 1 : 0
@@ -202,7 +202,7 @@ resource "azurerm_virtual_network_gateway_connection" "az-hub-onprem" {
}
##-----------------------------------------------------------------------------
-## Following resource will deploy diagnostic setting for virtual network gateway.
+## Following resource will deploy diagnostic setting for virtual network gateway.
##-----------------------------------------------------------------------------
resource "azurerm_monitor_diagnostic_setting" "main" {
count = var.enable && var.diagnostic_setting_enable ? 1 : 0
@@ -246,7 +246,7 @@ resource "azurerm_monitor_diagnostic_setting" "main" {
}
##-----------------------------------------------------------------------------
-## Following resource will deploy diagnostic setting for public ip.
+## Following resource will deploy diagnostic setting for public ip.
##-----------------------------------------------------------------------------
resource "azurerm_monitor_diagnostic_setting" "pip_gw" {
count = var.enable && var.diagnostic_setting_enable ? 1 : 0