{"id":20136065,"url":"https://github.com/zkfmapf123/terraform-static-cloudfront","last_synced_at":"2026-03-19T14:04:17.686Z","repository":{"id":190758394,"uuid":"683288686","full_name":"zkfmapf123/terraform-static-cloudfront","owner":"zkfmapf123","description":"terraform-static-cloudfront","archived":false,"fork":false,"pushed_at":"2023-08-27T03:20:47.000Z","size":12,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-10T04:35:03.882Z","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/zkfmapf123.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}},"created_at":"2023-08-26T05:06:26.000Z","updated_at":"2023-08-27T02:57:40.000Z","dependencies_parsed_at":"2023-08-27T04:29:12.000Z","dependency_job_id":null,"html_url":"https://github.com/zkfmapf123/terraform-static-cloudfront","commit_stats":null,"previous_names":["aws-donggyus-lab/terraform-static-cloudfront","zkfmapf123/terraform-static-cloudfront"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/zkfmapf123/terraform-static-cloudfront","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Fterraform-static-cloudfront","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Fterraform-static-cloudfront/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Fterraform-static-cloudfront/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Fterraform-static-cloudfront/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zkfmapf123","download_url":"https://codeload.github.com/zkfmapf123/terraform-static-cloudfront/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Fterraform-static-cloudfront/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29335156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T14:07:45.431Z","status":"ssl_error","status_checked_at":"2026-02-11T14:07:45.080Z","response_time":97,"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-13T21:17:35.899Z","updated_at":"2026-02-11T14:31:15.429Z","avatar_url":"https://github.com/zkfmapf123.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform-Static-Cloudfront\n\n- Terraform module which creates Cloudfront + S3 use Deploy Static-Site\n\n## Usage\n\n```\nmodule \"static-site\" {\n  source = \"../../\"\n\n  ## Commomn\n  common_name = \"dk-example\"\n  env         = \"common\"\n\n  ## S3\n  s3_is_versioning = true\n  s3_acl           = \"private\" // 변경은 자제...\n  s3_cors_rule = {\n    allowed_headers = [\"*\"]\n    allowed_methods = [\"PUT\", \"GET\", \"POST\"]\n    allowed_origins = [\"*\"]\n    expose_headers  = [\"ETag\"]\n    max_age_seconds = 3000\n  }\n  s3_source = \"./common/index.html\"\n  s3_website = {\n    index = \"index.html\"\n    error = \"error.html\"\n  }\n\n  ## Cloudfront\n  cf_acm            = null\n  cf_enabled        = true\n  cf_is_ipv6        = false\n  cf_comment        = \"example cloudfront static-site\"\n  cf_default_object = \"index.html\"\n  cf_alias          = []\n  cf_waf_id         = null\n\n  ## Cloudfront-origin\n  cf_origin_attempts = 3\n  cf_origin_timeout  = 10\n\n  ## Cloudfront-cache\n  cf_caching_policy_name   = \"Managed-CachingOptimized\"\n  cf_caching_allow_methods = [\"GET\", \"HEAD\", \"OPTIONS\"]\n  cf_caching_cache_methods = [\"GET\", \"HEAD\"]\n  cf_caching_viewer_policy = \"allow-all\"\n\n  cf_caching_ttl = {\n    default_ttl = 0\n    min_ttl     = 0\n    max_ttl     = 0\n  }\n\n  ## geo\n  cf_geo_restriction_type      = \"none\"\n  cf_geo_restriction_locations = null\n\n  ## viwer\n  cf_viewer_acm_arn           = null\n  cf_minimum_protocol_version = null\n  cf_ssl_support_method       = null\n}\n```\n\n## Desc\n\n- Cloudfront + S3 Deploy use Static Site\n\n## Example\n\n- \u003ca href=\"https://github.com/zkfmapf123/terraform-static-cloudfront/blob/master/examples/default-static-site/main.tf\"\u003e Default-Static-Site\u003c/a\u003e\n\n## Reference\n\n- vars.tf 참고\n- \u003ca href=\"https://registry.terraform.io/modules/zkfmapf123/cloudfront/static/latest/examples/default-static-site\"\u003e Terraform Module Site \u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkfmapf123%2Fterraform-static-cloudfront","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzkfmapf123%2Fterraform-static-cloudfront","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkfmapf123%2Fterraform-static-cloudfront/lists"}