{"id":20925526,"url":"https://github.com/padok-team/terraform-google-staticfrontend","last_synced_at":"2025-05-13T17:33:05.685Z","repository":{"id":44161939,"uuid":"422608345","full_name":"padok-team/terraform-google-staticfrontend","owner":"padok-team","description":"Terraform module which creates storage buckets, iam binding and access control resources on Google Cloud Platform.","archived":false,"fork":false,"pushed_at":"2024-11-15T11:46:16.000Z","size":76,"stargazers_count":2,"open_issues_count":4,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-11-15T12:30:51.355Z","etag":null,"topics":["google-cloud","google-cloud-platform","google-storage-bucket","ready-to-use","static-website","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/padok-team.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-29T14:36:07.000Z","updated_at":"2024-11-15T11:45:56.000Z","dependencies_parsed_at":"2024-11-15T12:35:21.563Z","dependency_job_id":null,"html_url":"https://github.com/padok-team/terraform-google-staticfrontend","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padok-team%2Fterraform-google-staticfrontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padok-team%2Fterraform-google-staticfrontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padok-team%2Fterraform-google-staticfrontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padok-team%2Fterraform-google-staticfrontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/padok-team","download_url":"https://codeload.github.com/padok-team/terraform-google-staticfrontend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225248004,"owners_count":17444160,"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":["google-cloud","google-cloud-platform","google-storage-bucket","ready-to-use","static-website","terraform","terraform-module"],"created_at":"2024-11-18T20:33:03.993Z","updated_at":"2024-11-18T20:33:05.425Z","avatar_url":"https://github.com/padok-team.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Static Frontend Terraform module\n\nTerraform module which creates storage buckets, iam binding and access control resources on Google Cloud Platform.\n\n## User Stories for this module\n\n- AAFrontend I can be deployed and load balanced\n- AMultipleFrontends we can be deployed and load balanced\n\n## Usage\n\n```hcl\nmodule \"frontend\" {\n  source   = \"git@github.com:padok-team/terraform-google-staticfrontend.git?ref=v1.0.0\"\n  name     = \"simplestaticfrontend\"\n  location = \"europe-west1\"\n}\n\nmodule \"loadbalancer\" {\n  source = \"git@github.com:padok-team/terraform-google-lb.git\"\n\n  name = \"demo-frontend-padok-fr\"\n  buckets_backends = {\n    frontend = {\n      hosts = [\"demo.frontend.padok.fr\"]\n      path_rules = [\n        {\n          paths = [\"/*\"]\n        }\n      ]\n      bucket_name = module.frontend.bucket.name\n    }\n  }\n  service_backends = {}\n  ssl_certificates = []\n}\n```\n\n## Examples\n\n- [Example of use case](examples/simple_frontend/main.tf)\n- [Example of other use case](examples/multiple_frontends/main.tf)\n\n\u003c!-- BEGIN_TF_DOCS --\u003e\n## Modules\n\nNo modules.\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_location\"\u003e\u003c/a\u003e [location](#input\\_location) | The location to use for your service. | `string` | n/a | yes |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | The name of the service you're referring to. | `string` | n/a | yes |\n| \u003ca name=\"input_project_id\"\u003e\u003c/a\u003e [project\\_id](#input\\_project\\_id) | The project to deploy the ressources to. | `string` | n/a | yes |\n| \u003ca name=\"input_force_destroy\"\u003e\u003c/a\u003e [force\\_destroy](#input\\_force\\_destroy) | The feature flag to allow destroying bucket event if it contains files. | `bool` | `false` | no |\n| \u003ca name=\"input_labels\"\u003e\u003c/a\u003e [labels](#input\\_labels) | Labels to apply to the service. | `map(string)` | \u003cpre\u003e{\u003cbr\u003e  \"terraform\": \"true\"\u003cbr\u003e}\u003c/pre\u003e | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_bucket\"\u003e\u003c/a\u003e [bucket](#output\\_bucket) | The bucket. |\n\u003c!-- END_TF_DOCS --\u003e\n\n## License\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nSee [LICENSE](LICENSE) for full details.\n\n```text\nLicensed to the Apache Software Foundation (ASF) under one\nor more contributor license agreements.  See the NOTICE file\ndistributed with this work for additional information\nregarding copyright ownership.  The ASF licenses this file\nto you under the Apache License, Version 2.0 (the\n\"License\"); you may not use this file except in compliance\nwith the License.  You may obtain a copy of the License at\n\n  https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing,\nsoftware distributed under the License is distributed on an\n\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, either express or implied.  See the License for the\nspecific language governing permissions and limitations\nunder the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpadok-team%2Fterraform-google-staticfrontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpadok-team%2Fterraform-google-staticfrontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpadok-team%2Fterraform-google-staticfrontend/lists"}