{"id":19972422,"url":"https://github.com/note/static-website-s3-terraform","last_synced_at":"2025-03-01T18:22:22.682Z","repository":{"id":137968672,"uuid":"126810432","full_name":"note/static-website-s3-terraform","owner":"note","description":"Setting up a Static Website on S3 with terraform","archived":false,"fork":false,"pushed_at":"2018-03-26T20:01:50.000Z","size":2612,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T09:27:08.081Z","etag":null,"topics":["s3","terraform"],"latest_commit_sha":null,"homepage":null,"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/note.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-03-26T10:10:16.000Z","updated_at":"2018-03-26T20:01:51.000Z","dependencies_parsed_at":"2023-07-12T05:32:10.956Z","dependency_job_id":null,"html_url":"https://github.com/note/static-website-s3-terraform","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/note%2Fstatic-website-s3-terraform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/note%2Fstatic-website-s3-terraform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/note%2Fstatic-website-s3-terraform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/note%2Fstatic-website-s3-terraform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/note","download_url":"https://codeload.github.com/note/static-website-s3-terraform/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241405220,"owners_count":19957779,"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":["s3","terraform"],"created_at":"2024-11-13T03:08:05.394Z","updated_at":"2025-03-01T18:22:22.668Z","avatar_url":"https://github.com/note.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a Terraform project that creates Amazon S3 and Amazon Route 53 resources to host static website using a custom domain. It does exactly what [this](https://docs.aws.amazon.com/AmazonS3/latest/dev/website-hosting-custom-domain-walkthrough.html) AWS guide does. That guide is stored as PDF in this repository too; just in case it becomes unavailable or changes.\n\n**Disclaimer**: At the moment of writing this project I am an absolute beginner to Terraform and I am definitely not an AWS expert. I've created it purely for my educational purpose but I thought it may be useful for someone. Any suggestions/contributions are welcome.\n\n## How to run it\n\nThere are 2 ways to run this project:\n\n### 1. Interactive mode\n\nThe first way is to use interactive mode of providing input. Then all you need to do is to run the following command:\n\n```\nterraform apply\n```\n\n### 2. Use `*.tfvars` file\n\nTake a look at `vars.tf` and for each input variable provide a value within e.g. `default.tfvars` file and run:\n\n```\nterraform apply -var-file=\"default.tfvars\"\n```\n\nThere is `example.tvars` which may serve as reference point.\n\nProject been tested with Terraform v0.11.3.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnote%2Fstatic-website-s3-terraform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnote%2Fstatic-website-s3-terraform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnote%2Fstatic-website-s3-terraform/lists"}