<- All Blueprints
Customizable templates for deploying cloud infrastructure

GCP Compute Address

This Blueprint sets up a Google Compute Address with customizable options, emphasizing best practices by defaulting to an external address in the "us-central1" region using the "PREMIUM" network tier. Variables are organized into "Basic Settings" for essential configurations and "Advanced Settings" for additional customization, aiding software engineers in deploying cloud resources securely and efficiently without deep expertise in cloud infrastructure.l offering flexibility for advanced users.

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

---
constants:
  __name: "{{ name }}_{{ __guid }}"
variables:
  name:
    desc: "The name of the address resource."
    required: true
    default: "my-address"
    group: Basic Settings
  address_type:
    desc: "Specifies the type of address to reserve (EXTERNAL or INTERNAL)."
    required: false
    default: "EXTERNAL"
    group: Basic Settings
  region:
    desc: "The region where the address resides."
    required: true
    default: "us-central1"
    group: Basic Settings
  network_tier:
    desc: "The networking tier used for configuring this address (PREMIUM or STANDARD)."
    required: false
    default: "PREMIUM"
    group: Basic Settings
  description:
    desc: "An optional description of this resource."
    required: false
    default: ""
    group: Advanced Settings
  address:
    desc: "The static IP address."
    required: false
    default: ""
    group: Advanced Settings
  subnetwork:
    desc: "The subnetwork to assign the address to."
    required: false
    default: ""
    group: Advanced Settings
  project:
    desc: "The project in which the resource belongs."
    required: false
    default: ""
    group: Advanced Settings
groups:
  Basic Settings:
    order: 1
    desc: "Basic configuration for the compute address."
  Advanced Settings:
    order: 2
    desc: "Advanced configuration options for the compute address."
---

# Create a new compute address resource
resource "google_compute_address" "__name" {
  name         = {{ name }}
  address_type = {{ address_type }}
  region       = {{ region }}
  network_tier = {{ network_tier }}
  description  = {{ description | required: false }}
  address      = {{ address | required: false }}
  subnetwork   = {{ subnetwork | required: false | links_to: resource.google_compute_subnetwork.id }}
  project      = {{ project | required: false }}
}
//
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!