Terraform Cloud Module Registry에 등록하여 관리 하는 VCS 입니다.
terraform-<PROVIDER>-<MODULENAME>
Name | Version |
---|---|
azurerm | ~> 3.0 |
Name | Version |
---|---|
azurerm | ~> 3.0 |
No modules.
provider "azurerm" {
features {}
}
resource "azurerm_resource_group" "public_ip" {
name = "tf-rg"
location = "koreacentral"
}
module "public_ip" {
source = "<TFC_REGISTRY>"
resource_group_name = azurerm_resource_group.public_ip.name
location = azurerm_resource_group.public_ip.location
public_ip_name = "tf-pubilc-ip-01"
sku = "Standard"
allocation_method = "Static"
availability_zone = "No-Zone"
depends_on = [azurerm_resource_group.public_ip]
}
Name | Type |
---|---|
azurerm_public_ip.pip | resource |
azurerm_resource_group.pip | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
allocation_method | Allocation Method, ex Dynamic, Static | string |
"Dynamic" |
no |
availability_zone | Availablilty zone, ex 1,2,3, No-Zone, Zone-Redundant | string |
"No-Zone" |
no |
location | Location | string |
n/a | yes |
public_ip_name | Public ip name | string |
n/a | yes |
resource_group_name | Resource Group Name | string |
n/a | yes |
sku | public ip sku ex Basic, Standard | string |
"Standard" |
no |
Name | Description |
---|---|
public_ip_address | The IP address value that was allocated. |
public_ip_fqdn | Fully qualified domain name of the A DNS record associated with the public IP. domain_name_label must be specified to get the fqdn. This is the concatenation of the domain_name_label and the regionalized DNS zone |
public_ip_id | The Public IP ID. |