<- All Blueprints
Customizable templates for deploying cloud infrastructure

Azure Public IP

This blueprint creates an Azure Public IP with best practices in mind, such as defaulting to a 'Static' allocation method and using the 'Standard' SKU for enhanced security and features. It encourages the use of tags for better resource management and identification. Advanced settings like idle timeout can be customized if needed. The blueprint organizes variables into intuitive groups to assist users—including those who may not be cloud infrastructure experts—in configuring essential and advanced settings easily.

Define and customize Blueprints to set what infrastructure configuration options are available to developers.

---
constants:
  __name: "{{ name }}_{{ __guid }}"
variables:
  name:
    desc: "Name of the Public IP."
    required: true
    group: Public IP Details
  resource_group_name:
    desc: "Name of the resource group."
    required: true
    group: Public IP Details
    links_to: resource.azurerm_resource_group.name
  location:
    desc: "Azure region where the Public IP will be created."
    required: true
    group: Public IP Details
    default: "eastus"
  allocation_method:
    desc: "Defines how an IP address is assigned. Options are 'Static' or 'Dynamic'."
    required: false
    group: IP Configuration
    default: "Static"
    suggested: "Static"
  sku:
    desc: "The SKU of the Public IP. Options are 'Basic' or 'Standard'."
    required: false
    group: IP Configuration
    default: "Standard"
    suggested: "Standard"
  ip_version:
    desc: "The IP version to use. Options are 'IPv4' or 'IPv6'."
    required: false
    group: IP Configuration
    default: "IPv4"
  idle_timeout_in_minutes:
    desc: "Specifies the timeout for the TCP idle connection."
    required: false
    group: Advanced
    default: 4
    advanced: true
  tags:
    group: Tags
    required: false
groups:
  Public IP Details:
    order: 1
    desc: "Basic settings for the Public IP."
  IP Configuration:
    order: 2
    desc: "IP configuration settings."
  Advanced:
    order: 3
    desc: "Advanced settings for the Public IP."
  Tags:
    order: 4
    desc: "Tags to assign to the Public IP."
---

resource "azurerm_public_ip" "__name" {
  name                = {{ name }}
  resource_group_name = {{ resource_group_name }}
  location            = {{ location }}
  allocation_method   = {{ allocation_method }}
  sku                 = {{ sku }}
  ip_version          = {{ ip_version }}
  idle_timeout_in_minutes = {{ idle_timeout_in_minutes | advanced: true }}

  tags = {
    Name = {{ name }}
    {{# tags }}
      {{ tags.key | required: false }} = {{ tags.value | required: false }}
    {{/ tags }}
  }
}

// Defaults to 'Static' allocation method and 'Standard' SKU for enhanced features and security.
// Encourages tagging for resource identification and management.
// Advanced settings like idle timeout can be customized if needed.
//
A form is created automatically that accepts inputs that you defined in the Blueprint.
After filling out the Blueprint form, Terraform is generated and a PR is automatically submitted.
What am I looking at?

Talk to a Human

See Resourcely in action and learn how it can help you secure and manage your cloud infrastructure today!