Skip to content

ImStaked/Infrastructure_Tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Infratructure As Code

  • Install Ansible
    apt update && apt upgrade -y
    apt install ansible
    
  • Install Terraform cli
    wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
    echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee    
    /etc/apt/sources.list.d/hashicorp.list
    sudo apt update && sudo apt install terraform
    
  • Verify everything works
    ansible --version
    terraform --version
    

Provider

Configurations belong in the root module of a Terraform configuration

  • Hetzner Documentation Links
    Hetzner Cloud
    Hetzner Provider Documentation

    Build the plugin

    snap install go --channel=1.21/stable --classic
    mkdir -p $GOPATH/src/github.com/hetznercloud; cd $GOPATH/src/github.com/hetznercloud
    git clone https://github.com/hetznercloud/terraform-provider-hcloud.git
    cd $GOPATH/src/github.com/hetznercloud/terraform-provider-hcloud
    make build
    

About

Using Terraform, Hetzner, and Ansible to automate blockchain node deployment

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors