Coder Social home page Coder Social logo

terraform-hetzner-instance-module's Introduction

Requirements

Name Version
terraform >= 1.4.0
hcloud >= 1.42.0

Providers

Name Version
hcloud 1.42.1

Modules

No modules.

Resources

Name Type
hcloud_server.instance resource
hcloud_volume_attachment.volume resource

Inputs

Name Description Type Default Required
attach_volumes List volume id to attach with. list(string) [] no
backups Enable or disable backups. bool false no
datacenter The datacenter name to create the server in. nbg1-dc3, fsn1-dc14, hel1-dc2, ash-dc1 or hil-dc1. string null no
firewall_ids Firewall IDs the server should be attached to on creation. list(string) [] no
image Name or ID of the image the server is created from. string n/a yes
iso ID or Name of an ISO image to mount. string null no
keep_disk If true, do not upgrade the disk. This allows downgrading the server type later. bool true no
labels User-defined labels (key-value pairs) should be created with. map(string) {} no
location The location name to create the server in. nbg1, fsn1, hel1, ash or hil. string n/a yes
name Name of the server to create (must be unique per project and a valid hostname as per RFC 1123). string n/a yes
network_config Network the server should be attached to on creation.
object({
network_id = string
ip = string
alias_ips = optional(list(string), [])
})
n/a yes
placement_group_id Placement Group ID the server added to on creation. string null no
public_net In this block you can either enable / disable ipv4 and ipv6 or link existing primary IPs (checkout the examples). If this block is not defined, two primary (ipv4 & ipv6) ips getting auto generated.
object({
ipv4_enabled = optional(bool, false)
ipv4 = optional(string)
ipv6_enabled = optional(bool, false)
})
n/a yes
rescue Enable and boot in to the specified rescue system. This enables simple installation of custom operating systems. linux64 or linux32 string null no
server_type Name of the server type this server should be created with. string n/a yes
ssh_keys SSH key IDs or names which should be injected into the server at creation time. list(string) [] no
user_data Cloud-Init user data to use during server creation. string null no

Outputs

Name Description
id Unique ID of the server.
image Name or ID of the image the server was created from.
labels Resource labels.
location The location name.
name Name of the server.
network Server network.
server_type Name of the server type.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.