{"id":26160822,"url":"https://github.com/mytechnotalent/automatrix","last_synced_at":"2026-03-09T08:30:57.046Z","repository":{"id":281377939,"uuid":"945096852","full_name":"mytechnotalent/Automatrix","owner":"mytechnotalent","description":"Automatrix is a deterministic, infinitely scalable automation framework that fuses Terraform and Ansible to provision, configure, and maintain GCP Free-Tier VMs with absolute precision. Built on immutable infrastructure and idempotent execution, it guarantees every deployment is identical and flawlessly repeatable.","archived":false,"fork":false,"pushed_at":"2025-03-12T00:41:37.000Z","size":7072,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T00:51:16.091Z","etag":null,"topics":["ansible","ansible-galaxy","ansible-playbook","cloud","cloud-infra","cloud-infrastructure","gcp","google","google-cloud","google-cloud-platform","infrastructure","python","terraform","test","test-automation","testing","testing-tools","tests"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mytechnotalent.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":"2025-03-08T16:47:51.000Z","updated_at":"2025-03-12T00:41:40.000Z","dependencies_parsed_at":"2025-03-10T00:43:26.235Z","dependency_job_id":null,"html_url":"https://github.com/mytechnotalent/Automatrix","commit_stats":null,"previous_names":["mytechnotalent/ansible-gcp-free-tier-vm","mytechnotalent/terraform-ansible-gcp-free-tier-vm","mytechnotalent/automatrix"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytechnotalent%2FAutomatrix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytechnotalent%2FAutomatrix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytechnotalent%2FAutomatrix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mytechnotalent%2FAutomatrix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mytechnotalent","download_url":"https://codeload.github.com/mytechnotalent/Automatrix/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248875183,"owners_count":21175999,"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","ansible-galaxy","ansible-playbook","cloud","cloud-infra","cloud-infrastructure","gcp","google","google-cloud","google-cloud-platform","infrastructure","python","terraform","test","test-automation","testing","testing-tools","tests"],"created_at":"2025-03-11T12:21:06.869Z","updated_at":"2026-03-09T08:30:57.025Z","avatar_url":"https://github.com/mytechnotalent.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![image](https://github.com/mytechnotalent/automatrix/blob/main/Automatrix.png?raw=true)\n\n# Automatrix\n\nAutomatrix is a deterministic, infinitely scalable automation framework that fuses Terraform and Ansible to provision, configure, and maintain GCP Free-Tier VMs with absolute precision. Built on immutable infrastructure and idempotent execution, it guarantees every deployment is identical and flawlessly repeatable.\n\n\u003cbr\u003e\n\n# ✅ Step-by-Step Guide\n\n## 1. Install \u0026 Configure Cloud CLI (https://cloud.google.com/sdk/docs/install)\n```bash\nmv ~/Downloads/google-cloud-cli-darwin-arm.tar.gz .\ntar -zxf google-cloud-cli-darwin-arm.tar.gz\nrm google-cloud-cli-darwin-arm.tar.gz \nrm ~/google-cloud-sdk\nmv google-cloud-sdk ~/\ncd ~/google-cloud-sdk \n./install.sh\nunset GOOGLE_APPLICATION_CREDENTIALS\ngcloud config unset project\ngcloud auth application-default revoke\ngcloud auth application-default login\nssh-keygen -R free-tier-vm\n```\n\n## 2. Install Terraform (https://developer.hashicorp.com/terraform/install?product_intent=terraform)\n```bash\nbrew tap hashicorp/tap\nbrew install hashicorp/tap/terraform\n```\n\n## 3. Configure Terraform\n```hcl\nlocals {\n  # gcloud beta billing accounts list\n  billing_account = \"\u003cbilling_account\u003e\"\n  project_id      = \"\u003cproject_id\u003e\"\n  project_name    = \"\u003cproject_name\u003e\"\n  region          = \"us-central1\"\n  zone            = \"us-central1-a\"\n  instance_name   = \"free-tier-vm\"\n  machine_type    = \"e2-micro\"\n  image           = \"debian-cloud/debian-11\"\n  disk_size       = 30\n  disk_type       = \"pd-standard\"\n  ansible_user    = \"\u003cansible_user\u003e\"\n  apis = [\n    \"compute.googleapis.com\",\n    \"container.googleapis.com\",\n    \"logging.googleapis.com\",\n    \"secretmanager.googleapis.com\",\n    \"networkmanagement.googleapis.com\"\n  ]\n}\n```\n\n## 4. Init, Plan, Apply Terraform\n```bash\nterraform fmt\nterraform init\nterraform validate\nterraform plan\nterraform apply -auto-approve \n```\n\n## 5. Install Ansible\n```bash\npython3 -m venv venv\nsource venv/bin/activate\npip install --upgrade pip\npip install ansible google-auth requests\n```\n\n## 6. SSH\n```bash\ngcloud compute ssh free-tier-vm --zone=us-central1-a --tunnel-through-iap --project=$(terraform output -raw project_id)\n```\n\n## 7. Run Entire Ansible Suite\n```bash\nansible-playbook site.yaml\n```\n\n## 8. Run Individual Ansible Tag \n```bash\nansible-playbook site.yaml --tags \"file_analysis\"\n```\n\n## 9. Run Tests \u0026 Review Test Report\n```bash\n./run_tests.sh\ncat report.log\n```\n\n\u003cbr\u003e\n\n# License\n[Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmytechnotalent%2Fautomatrix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmytechnotalent%2Fautomatrix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmytechnotalent%2Fautomatrix/lists"}