Skip to content

avidhara/terraform-azurerm-application-gateway

Repository files navigation

Terraform module for Azure Application Gateway

How to use it as a module

Requirements

Name Version
terraform >= 0.13.1
azurerm >= 3.0.0

Providers

Name Version
azurerm >= 3.0.0

Modules

No modules.

Resources

Name Type
azurerm_public_ip.this resource

Inputs

Name Description Type Default Required
allocation_method Required) Defines the allocation method for this IP address. Possible values are Static or Dynamic. string "Static" no
create_app_gateway description bool true no
ddos_protection_mode (Optional) The DDoS protection mode of the public IP. Possible values are Disabled, Enabled, and VirtualNetworkInherited. Defaults to VirtualNetworkInherited. string "VirtualNetworkInherited" no
ddos_protection_plan_id (Optional) The ID of DDoS protection plan associated with the public IP. string null no
domain_name_label (Optional) Label for the Domain Name. Will be used to make up the FQDN. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. string null no
edge_zone (Optional) Specifies the Edge Zone within the Azure Region where this Public IP should exist. Changing this forces a new Public IP to be created. string null no
idle_timeout_in_minutes (Optional) Specifies the timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. number 4 no
ip_tags (Optional) A mapping of IP tags to assign to the public IP. Changing this forces a new resource to be created. map(string) {} no
ip_version (Optional) The IP Version to use, IPv6 or IPv4. Changing this forces a new resource to be created. string "IPv4" no
location (Required) Specifies the supported Azure location where the Public IP should exist. Changing this forces a new resource to be created. string n/a yes
pip_name (Required) Specifies the name of the Public IP. Changing this forces a new Public IP to be created. string n/a yes
public_ip_prefix_id (Optional) If specified then public IP address allocated will be provided from the public IP prefix resource. Changing this forces a new resource to be created. string null no
resource_group_name (Required) The name of the Resource Group where this Public IP should exist. Changing this forces a new Public IP to be created. string n/a yes
reverse_fqdn (Optional) A fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. string null no
sku (Optional) The SKU of the Public IP. Accepted values are Basic and Standard. Defaults to Standard. Changing this forces a new resource to be created. string "Standard" no
sku_tier (Optional) The SKU Tier that should be used for the Public IP. Possible values are Regional and Global. Defaults to Regional. Changing this forces a new resource to be created. string "Regional" no
tags (Optional) A mapping of tags to assign to the resource. map(string) {} no
zones (Optional) A collection containing the availability zone to allocate the Public IP in. Changing this forces a new resource to be created. list(string) [] no

Outputs

Name Description
ip_address The IP address value that was allocated.
pip_id The ID of this Public IP.