{"id":19310986,"url":"https://github.com/a0s/scaleway-terraform-ansible","last_synced_at":"2025-04-22T14:30:23.959Z","repository":{"id":146415389,"uuid":"153766952","full_name":"a0s/scaleway-terraform-ansible","owner":"a0s","description":"Another one Terraform and Ansible scripts for automatic cloud deploying on Scaleway","archived":false,"fork":false,"pushed_at":"2021-01-19T14:02:35.000Z","size":41,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T06:37:52.720Z","etag":null,"topics":["ansible","scaleway","terraform"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/a0s.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-19T10:35:25.000Z","updated_at":"2021-02-11T10:41:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"ae472bcf-3aef-4d5b-ac52-c781af9e25d7","html_url":"https://github.com/a0s/scaleway-terraform-ansible","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0s%2Fscaleway-terraform-ansible","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0s%2Fscaleway-terraform-ansible/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0s%2Fscaleway-terraform-ansible/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a0s%2Fscaleway-terraform-ansible/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a0s","download_url":"https://codeload.github.com/a0s/scaleway-terraform-ansible/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250258735,"owners_count":21400959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","scaleway","terraform"],"created_at":"2024-11-10T00:27:14.018Z","updated_at":"2025-04-22T14:30:23.947Z","avatar_url":"https://github.com/a0s.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Please, use this repository for education purposes only. Some time ago Scaleway *was* the best (IMO) VPS provider. But now their prices are not good in comparison to other providers, e.g. Hetzner. Hetzner supports both key features you may need: project scoped private network between regions and good terraform driver. This way able you completely avoid using `tinc` inside your private network.\n\nscaleway-terraform-ansible\n==========================\n\nAnother one Terraform and Ansible scripts for automatic cloud deploying on Scaleway.\n\n## Features\n- One bastion host (router) with one public ip\n- Access to internet from inner node (without public ip) with tinc vpn\n- OpenVPN server at router (direct access to innner nodes without bastion host)\n- START1-XS for router, START1-S for nodes\n\n## Prerequisites\n\nAnsible \u003e= 2.7.0\n\n```bash\nbrew install ansible terraform terraform-inventory packer jq\n```\n\n## Variables\n\n- `TF_VAR_scaleway_private_key_path` - path to scaleway private key, `~/.ssh/scaleway` for example\n- `TF_VAR_scaleway_organization` - scaleway organization uuid\n- `TF_VAR_scaleway_token` - scaleway token uuid\n- `TF_VAR_scaleway_region` - scaleway region, `par1` for example\n- `TF_VAR_scaleway_node_count` - nodes count, 3 by default\n\n## Deploy cloud\n\n```bash\n# Set variable\nexport TF_VAR_scaleway_private_key_path=xxx\nexport TF_VAR_scaleway_organization=xxx\nexport TF_VAR_scaleway_token=xxx\nexport TF_VAR_scaleway_region=xxx\nexport TF_VAR_scaleway_node_count=5 # default: 2\n\n# Prepare and start nodes\n./bin/packer.sh     # create base image\n./bin/terraform.sh  # create nodes\n./bin/tinc.sh       # setup tinc network\n./bin/openvpn.sh    # setup openvpn at router, key will be copied into openvpn_keys/\n\n# Get router external ip \n./bin/ansible/router_public_ip.sh\n\n# SSH to router\n./bin/ssh_router.sh\n\n# SSH to node0\n./bin/ssh_node0.sh\n\n# SSH to node0\n./bin/ssh_node1.sh\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa0s%2Fscaleway-terraform-ansible","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa0s%2Fscaleway-terraform-ansible","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa0s%2Fscaleway-terraform-ansible/lists"}