{"id":18782478,"url":"https://github.com/bdeshi/terraform-aws-pre-base","last_synced_at":"2026-01-24T09:02:24.675Z","repository":{"id":240278083,"uuid":"798776896","full_name":"bdeshi/terraform-aws-pre-base","owner":"bdeshi","description":"This project deploys the basic resources necessary for running multi-user Terraform deployments on an AWS account.","archived":false,"fork":false,"pushed_at":"2024-05-17T17:47:45.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-21T07:47:45.394Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://git.bdeshi.space/bdeshi/terraform-aws-pre-base","language":"HCL","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/bdeshi.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":"2024-05-10T12:57:34.000Z","updated_at":"2024-05-17T17:47:49.000Z","dependencies_parsed_at":"2024-05-17T18:53:18.372Z","dependency_job_id":"455a4b25-9dcd-4f62-be1d-feaf48cc0859","html_url":"https://github.com/bdeshi/terraform-aws-pre-base","commit_stats":null,"previous_names":["bdeshi/terraform-aws-pre-base"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bdeshi/terraform-aws-pre-base","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdeshi%2Fterraform-aws-pre-base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdeshi%2Fterraform-aws-pre-base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdeshi%2Fterraform-aws-pre-base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdeshi%2Fterraform-aws-pre-base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bdeshi","download_url":"https://codeload.github.com/bdeshi/terraform-aws-pre-base/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bdeshi%2Fterraform-aws-pre-base/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28721980,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T08:27:05.734Z","status":"ssl_error","status_checked_at":"2026-01-24T08:27:01.197Z","response_time":89,"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":"2024-11-07T20:36:06.471Z","updated_at":"2026-01-24T09:02:24.658Z","avatar_url":"https://github.com/bdeshi.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform AWS Pre-base Infrastructure\n\n## Intro\n\nThis project deploys the basic resources necessary for running multi-user Terraform deployments on an AWS account.\n\n- an s3 bucket for storing terraform states\n- a dynamodb table for maintaining terraform locks\n- an admin user intended for use in other IaC projects\n- a kms key intended for securing other IaC project secrets\n- a parameter store tree to keep outputs of this project for reference\n\nThis configuration is intended to be manually executed once at the beginning by the root user.\n\n| ⚠️ | Re-deploying this project again after running other AWS IaC projects can be \u003cu\u003e*extremely destructive*\u003c/u\u003e. |\n|-|-|\n\n## Usage\n\n1. Install [terraform](https://terraform.io). The required version is stated in [`terraform.meta.tf`](./terraform.meta.tf). You can also use [tfenv](https://github.com/tofuutils/tenv) to automatically get a suitable version.\n\n2. Insert backend config values in `terraform.backend.tfvars`. See [`terraform.backend.remote.tfvars.sample`](./terraform.backend.remote.tfvars.sample) for example, or configure your preferred backend.\n\n3. *(optional)* Login to terraform cloud to use the remote backend:\n\n    ```bash\n    terraform login\n    ```\n\n4. Install terraform dependencies and initiate the backend:\n\n    ```bash\n    terraform init -backend-config=terraform.backend.tfvars\n    ```\n\n5. Insert deployment-specific values in `terraform.tfvars`. See [`terraform.tfvars.sample`](./terraform.tfvars.sample) for example.\n\n6. Then execute as:\n\n    ```bash\n    terraform apply -var-file=terraform.tfvars\n    ```\n\n## Notes\n\n- ⚠️ **This project's state file should not be saved in the same AWS account where it is being deployed.**\n\n- The terraform state is not saved in s3, because it is assumed that no s3 bucket for terraform states exists yet. Instead the [terraform cloud](https://app.terraform.io/) remote backend is used. You may need to setup an account there. Or use local or your preferred backend. You should ensure security of the state file.\n\n- Generated outputs are also saved in a parameter store tree for future reference.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdeshi%2Fterraform-aws-pre-base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbdeshi%2Fterraform-aws-pre-base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdeshi%2Fterraform-aws-pre-base/lists"}