Skip to content

OT-terraform-azure-modules/terraform-azure-public-ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Public Ip Terraform module

Opstree Solutions

Opstree Solutions

  • Terraform module that manages an Azure Public IP Address.
  • We can create multiple Public IPs at the same time using this module.
  • There are two allocation method for public IP address. Possible values are Static or Dynamic.
  • Assign a static public IP address to virtual machines, rather than a dynamic address, to ensure that the address never changes.
  • Dynamic addresses can change if a resource such as a virtual machine is stopped (deallocated) and then restarted through Azure.

Note : For more information, you can check example folder.

Terraform versions

Terraform v0.15.4

Resources

Name Type
azurerm_public_ip resource

Inputs

Name Description Type Default Required
public_ip_name Name of the public ip list(string) yes
location location for public ip string yes
resource_group_name Name of the resource group string yes
allocation_method the allocation method for this IP address.Possible values are Static or Dynamic string Dynamic yes
sku The SKU of the Public IP. Accepted values are Basic and Standard. string Basic no
tags tags given to public ip map(string) no

Output

Name Description
public_ip_id The id's of the Public_ip

Tags

  • Tags are assigned to resources according requirement.
  • Additial tags can be assigned by tags variables as defined above.

Related Projects

Check out these related projects.

Usage

module "public-ip_module" {
  source            = "./modules/public-ip"
  allocation_method = ""
  public_ip_name    = ["", ""]
  sku               = ""
  location          = ""
  tags = {
    env : ""
    author : ""
  }
}

Contributors

Reena Nain
Reena Nain

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages