Skip to content

Commit

Permalink
Merge pull request #5 from kumarvna/develop
Browse files Browse the repository at this point in the history
bug fixes and documentation updates
  • Loading branch information
kumarvna authored Oct 24, 2021
2 parents a81c1fc + 1d752dc commit 9a79eeb
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 7 deletions.
25 changes: 25 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Azure Application Gateway Terraform Module

Azure Application Gateway provides HTTP based load balancing that enables in creating routing rules for traffic based on HTTP. Traditional load balancers operate at the transport level and then route the traffic using source IP address and port to deliver data to a destination IP and port. Application Gateway using additional attributes such as URI (Uniform Resource Identifier) path and host headers to route the traffic.

Classic load balances operate at OSI layer 4 - TCP and UDP, while Application Gateway operates at application layer OSI layer 7 for load balancing.

This terraform module quickly creates a desired application gateway with additional options like WAF, Custom Error Configuration, SSL offloading with SSL policies, URL path mapping and many other options.

## Module Usage for

* [Application Gateway with SSL](application_gateway_with_ssl/)
* [Application Gateway with WAF](application_gateway_with_waf/)
* [A Simple HTTP Application Gateway](simple_http_application_gateway/)

## Terraform Usage

To run this example you need to execute following Terraform commands

```hcl
terraform init
terraform plan
terraform apply
```

Run `terraform destroy` when you don't need these resources.
2 changes: 1 addition & 1 deletion examples/application_gateway_with_ssl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Classic load balances operate at OSI layer 4 - TCP and UDP, while Application Ga

This terraform module quickly creates a desired application gateway with additional options like WAF, Custom Error Configuration, SSL offloading with SSL policies, URL path mapping and many other options.

## Module Usage
## Module Usage to create an Application Gateway with SSL

```hcl
# Azurerm Provider configuration
Expand Down
6 changes: 3 additions & 3 deletions examples/application_gateway_with_waf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Classic load balances operate at OSI layer 4 - TCP and UDP, while Application Ga

This terraform module quickly creates a desired application gateway with additional options like WAF, Custom Error Configuration, SSL offloading with SSL policies, URL path mapping and many other options.

## Module Usage
## Module Usage to create an Application Gateway with WAF

```hcl
# Azurerm Provider configuration
Expand Down Expand Up @@ -36,8 +36,8 @@ module "application-gateway" {
# SKU requires `name`, `tier` to use for this Application Gateway
# `Capacity` property is optional if `autoscale_configuration` is set
sku = {
name = "Standard_v2"
tier = "Standard_v2"
name = "WAF_v2"
tier = "WAF_v2"
}
autoscale_configuration = {
Expand Down
4 changes: 2 additions & 2 deletions examples/application_gateway_with_waf/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ module "application-gateway" {
# SKU requires `name`, `tier` to use for this Application Gateway
# `Capacity` property is optional if `autoscale_configuration` is set
sku = {
name = "Standard_v2"
tier = "Standard_v2"
name = "WAF_v2"
tier = "WAF_v2"
}

autoscale_configuration = {
Expand Down
2 changes: 1 addition & 1 deletion examples/simple_http_application_gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Classic load balances operate at OSI layer 4 - TCP and UDP, while Application Ga

This terraform module quickly creates a desired application gateway with additional options like WAF, Custom Error Configuration, SSL offloading with SSL policies, URL path mapping and many other options.

## Module Usage for simple http applicaton gateway
## Module Usage to create a simple http applicaton gateway

```hcl
# Azurerm Provider configuration
Expand Down

0 comments on commit 9a79eeb

Please sign in to comment.