{"id":19863298,"url":"https://github.com/daviddanso/terraform-aws-static-website","last_synced_at":"2026-05-14T03:36:38.967Z","repository":{"id":231601798,"uuid":"782165895","full_name":"DavidDanso/terraform-aws-static-website","owner":"DavidDanso","description":"static website on AWS S3 with Terraform as IaC","archived":false,"fork":false,"pushed_at":"2024-04-06T00:03:57.000Z","size":10421,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T15:23:24.582Z","etag":null,"topics":["aws","s3-website","terraform"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/DavidDanso.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}},"created_at":"2024-04-04T19:05:12.000Z","updated_at":"2024-04-05T22:30:51.000Z","dependencies_parsed_at":"2024-04-04T21:23:55.067Z","dependency_job_id":"c954b57e-293c-404a-adb5-b40be996cbf1","html_url":"https://github.com/DavidDanso/terraform-aws-static-website","commit_stats":null,"previous_names":["daviddanso/terraform-aws-static-website"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidDanso%2Fterraform-aws-static-website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidDanso%2Fterraform-aws-static-website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidDanso%2Fterraform-aws-static-website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidDanso%2Fterraform-aws-static-website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DavidDanso","download_url":"https://codeload.github.com/DavidDanso/terraform-aws-static-website/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241272619,"owners_count":19937091,"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":["aws","s3-website","terraform"],"created_at":"2024-11-12T15:14:15.364Z","updated_at":"2026-05-14T03:36:33.934Z","avatar_url":"https://github.com/DavidDanso.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"Terraform AWS S3 Static Site\n============================\n\nThis repository contains Terraform code to host a static website on AWS S3.\n\n\n## Architecture\n\n\u003ctable width=\"100%\"\u003e \n  \u003ctr\u003e\n    \u003ctd width=\"50%\"\u003e      \n    \u003cimg src=\"https://github.com/DavidDanso/terraform-aws-static-website/blob/main/website/assets/images/conceptual%20diagram.png?raw=true\" /\u003e\n    \u003c/td\u003e \n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\n### Tech Stack and AWS Services\n---------------------------\n\n- **Terraform**: Infrastructure as Code (IaC) tool for provisioning and managing AWS resources.\n- **AWS S3**: Simple Storage Service for storing and serving static website content.\n- **CloudFront**: Content Delivery Network (CDN) for distributing static content globally and improving performance.\n\nThis is a basic example of a Terraform AWS S3 static site. Depending on your requirements, you might need to add more services or modify this architecture.\n\n\nPrerequisites\n-------------\n\n- [Terraform](https://www.terraform.io/downloads.html) installed\n- [AWS CLI](https://aws.amazon.com/cli/) installed\n- [AWS account](https://aws.amazon.com/) with valid credentials\n\nHow to Use\n----------\n\n1. **Clone the repository**:\n\n```bash\ngit clone https://github.com/DavidDanso/terraform-aws-static-website.git\n```\n\n2. **Navigate to the repository**:\n\n```bash\ncd terraform-aws-s3-static-website\n```\n\n3. **Configure AWS credentials**:\n\n```bash\naws configure\n```\n\n4. **Create a Terraform backend**:\n\n```bash\nterraform init\n```\n\n5. **Review changes**:\n\n```bash\nterraform plan\n```\n\n6. **Create the infrastructure**:\n\n```bash\nterraform apply\n```\n\n7. **Destroy the infrastructure**:\n\n```bash\nterraform destroy\n```\n\n## Author\nDavid Danso - Initial work - [GitHub Profile](https://github.com/DavidDanso)\n\n##### Email: davidkellybrownson@gmail.com\n\n### Happy Coding!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaviddanso%2Fterraform-aws-static-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaviddanso%2Fterraform-aws-static-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaviddanso%2Fterraform-aws-static-website/lists"}