{"id":44847569,"url":"https://github.com/hoverkraft-tech/infrastructure-ovh-template","last_synced_at":"2026-02-17T05:34:37.602Z","repository":{"id":335168878,"uuid":"1144597521","full_name":"hoverkraft-tech/infrastructure-ovh-template","owner":"hoverkraft-tech","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-28T22:51:45.000Z","size":450,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-29T11:37:25.975Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hoverkraft-tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-28T20:46:14.000Z","updated_at":"2026-01-28T22:51:49.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/hoverkraft-tech/infrastructure-ovh-template","commit_stats":null,"previous_names":["hoverkraft-tech/infrastructure-ovh-template"],"tags_count":null,"template":true,"template_full_name":null,"purl":"pkg:github/hoverkraft-tech/infrastructure-ovh-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoverkraft-tech%2Finfrastructure-ovh-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoverkraft-tech%2Finfrastructure-ovh-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoverkraft-tech%2Finfrastructure-ovh-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoverkraft-tech%2Finfrastructure-ovh-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hoverkraft-tech","download_url":"https://codeload.github.com/hoverkraft-tech/infrastructure-ovh-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoverkraft-tech%2Finfrastructure-ovh-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29535006,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T05:00:25.817Z","status":"ssl_error","status_checked_at":"2026-02-17T04:57:16.126Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-02-17T05:34:36.976Z","updated_at":"2026-02-17T05:34:37.584Z","avatar_url":"https://github.com/hoverkraft-tech.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# infrastructure\n\nInfrastructure as Code for your environment\n\n## prerequisites\n\nThis repo uses the following dependencies :\n\n- direnv for load env vars in `.envrc` files\n- asdf for managing binary versions  of the needed tools\n- aws-vault (optional) to manage all aws accounts securely\n- pyenv for managing python version and virtualenv\n\nYou can find more details about each tool on their official websites :\n\n- [direnv](https://direnv.net/)\n- [asdf](https://asdf-vm.com)\n- [aws-vault](https://github.com/99designs/aws-vault)\n- [pyenv](https://github.com/pyenv/pyenv)\n\n### asdf-vm\n\n- install asdf\n- run these commands :\n\n```sh\nasdf plugin add checkov\nasdf plugin add infracost\nasdf plugin add terraform\nasdf plugin add terraform-docs\nasdf plugin add terragrunt\nasdf plugin add tflint\nasdf plugin add tfsec\nasdf plugin add tfupdate\nasdf install\n```\n\n### pyenv\n\n- install pyenv\n- run these commands :\n\n```shell\npyenv virtualenv 3.13.0 hk-ovh\n```\n\n## setup a new env\n\n- copy one of the prod env and rename the top level folder\n- remove terraform states files (`find . -type f -name '.terraform.lock.hcl' -exec rm {} \\; \u0026\u0026 find . -type d -name '.terragrunt-cache' -exec rm -rf {} \\;`)\n- search and replace `/old/new/` in the just created folder\n- create an SSH ED25519 key `ssh-keygen -t ed25519 -C '\u003cenv\u003e@acme.net' -f \u003cenv\u003e` and store it in password store repository\n- customize the `env.yaml` file to suits your needs\n\n## deploy an env (or partial subfolder)\n\n```shell\ncd envs/xxxxxxxxx\ncd \u003cpart you want to apply\u003e # if you want to deploy full env just skip this step\naws-vault exec \u003cacme-env-aws-account\u003e -- terragrunt run-all apply\n```\n\nNOTE: you can add the following arguments in order to fully automate the deployment\n\n- `--terragrunt-non-interactive`\n- `--terragrunt-ignore-external-dependencies`\n\n## depploy apps to an env\n\n- take the outputs you need from the step above\n- see [argo-app-of-apps](../argo-app-of-apps) repository\n\n## limitations\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoverkraft-tech%2Finfrastructure-ovh-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhoverkraft-tech%2Finfrastructure-ovh-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoverkraft-tech%2Finfrastructure-ovh-template/lists"}