GithubHelp home page GithubHelp logo

isabella232 / infra-tf-hetzner-cloud Goto Github PK

View Code? Open in Web Editor NEW

This project forked from status-im/infra-tf-hetzner-cloud

0.0 0.0 0.0 28 KB

Terraform module for Hetzner Cloud

Shell 5.97% HCL 94.03%

infra-tf-hetzner-cloud's Introduction

Usage

This is a helper module used by Status internal repos like: infra-hq, infra-misc, infra-eth-cluster, or infra-swarm.

Usage

Simply import the modue using the source directive:

module "hetzner-cloud" {
  source = "github.com/status-im/infra-tf-hetzner-cloud"
}

More details.

Variables

  • Scaling
    • host_count - Number of hosts to start in this region.
    • image - OS image used to create host. (default: ubuntu-20.04)
    • type - Type of host to create. (default: cx11)
    • location - Region in which the host will be created. (default: hel1)
    • data_vol_size - Size in GiB of an extra data volume to attach to the dropplet. (default: 0)
  • General
    • name - Prefix of hostname before index. (default: node)
    • group - Name of Ansible group to add hosts to.
    • env - Environment for these hosts, affects DNS entries.
    • stage - Name of stage, like prod, dev, or staging.
    • domain - DNS Domain to update.
  • Security
    • ssh_user - User used to log in to instance (default: root)
    • ssh_keys - Names of ssh public keys to add to created hosts.
    • open_tcp_ports - TCP port ranges to enable access from outside. Format: N-N (default: [])
    • open_udp_ports - UDP port ranges to enable access from outside. Format: N-N (default: [])

Adding an SSH Key

$ hcloud ssh-key create --name bob --public-key-from-file ~/.ssh/id_rsa.pub
SSH key 1234567 created

infra-tf-hetzner-cloud's People

Contributors

arthurk avatar jakubgs avatar

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.