{"id":14957916,"url":"https://github.com/sz9751210/terraform","last_synced_at":"2026-01-20T21:33:45.569Z","repository":{"id":214285643,"uuid":"736150783","full_name":"sz9751210/terraform","owner":"sz9751210","description":"Collection of Terraform modules for provisioning and managing cloud resources across various platforms including AWS, GCP, and Cloudflare.","archived":false,"fork":false,"pushed_at":"2024-04-09T03:31:55.000Z","size":1018,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T12:49:48.962Z","etag":null,"topics":["atlas","aws","cloudflare","gcp","terraform","terraform-module","terraform-modules"],"latest_commit_sha":null,"homepage":"","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/sz9751210.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":"2023-12-27T05:56:07.000Z","updated_at":"2024-07-15T02:32:34.000Z","dependencies_parsed_at":"2024-09-22T04:30:29.442Z","dependency_job_id":"6d777e65-0f39-41c9-8876-ea1bbe91858b","html_url":"https://github.com/sz9751210/terraform","commit_stats":{"total_commits":80,"total_committers":2,"mean_commits":40.0,"dds":0.0625,"last_synced_commit":"c4cac4addfa5b92591fd94fb489e99e5bf8481cb"},"previous_names":["sz9751210/terraform"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sz9751210/terraform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sz9751210%2Fterraform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sz9751210%2Fterraform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sz9751210%2Fterraform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sz9751210%2Fterraform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sz9751210","download_url":"https://codeload.github.com/sz9751210/terraform/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sz9751210%2Fterraform/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28614617,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T18:56:40.769Z","status":"ssl_error","status_checked_at":"2026-01-20T18:54:26.653Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["atlas","aws","cloudflare","gcp","terraform","terraform-module","terraform-modules"],"created_at":"2024-09-24T13:15:49.583Z","updated_at":"2026-01-20T21:33:45.551Z","avatar_url":"https://github.com/sz9751210.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform\n\nThis repository contains a collection of Terraform modules for provisioning and managing cloud resources across various platforms including AWS, GCP, and Cloudflare.\n\n## Features\n\n- **AWS Configurations**: Modules for EKS, VPC, ALB, ASG, EFS, and more, tailored for AWS.\n- **GCP Configurations**: Setups for GKE, GCE, Cloud Armor, Global IP, and more in Google Cloud Platform.\n- **Cloudflare DNS**: Terraform configurations for managing DNS records in Cloudflare.\n\n## Getting Started\n\n### Prerequisites\n\n- Terraform installed on your machine.\n- Access credentials for AWS, GCP, and Cloudflare.\n\n### Installation\n\nClone the repository to your local machine:\n\n```bash\ngit clone https://github.com/sz9751210/terraform.git\n```\n\nNavigate to the desired module directory:\n\n```bash\nmake up-eks # Example for AWS EKS module\n```\n\n### Usage\n\nEach module directory contains a `main.tf` file which you can customize according to your needs. Refer to the `README.md` files within each module directory for specific instructions.\n\n## Provider\n\n| Name                                                                               | Version |\n| ---------------------------------------------------------------------------------- | ------- |\n| [AWS](https://registry.terraform.io/providers/hashicorp/aws/latest)                | \u003e= 3.0  |\n| [GCP](https://registry.terraform.io/providers/hashicorp/google/latest)             | \u003e= 3.0  |\n| [Cloudflare](https://registry.terraform.io/providers/cloudflare/cloudflare/latest) | \u003e= 2.0  |\n| [Atlas](https://registry.terraform.io/providers/hashicorp/atlas/latest)            | \u003e= 2.0  |\n| [Kubernetes](https://registry.terraform.io/providers/hashicorp/kubernetes/latest)  | \u003e= 2.0  |\n| [Helm](https://registry.terraform.io/providers/hashicorp/helm/latest)              | \u003e= 2.0  |\n| [Null](https://registry.terraform.io/providers/hashicorp/null/latest)              | \u003e= 3.0  |\n\n## Resources\n\n### AWS\n\n#### VPC Module\n\n| Resource                                  | Link                                                                                                                               |\n| ----------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |\n| VPC                                       | [aws_vpc](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc)                                         |\n| Internet Gateway                          | [aws_internet_gateway](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/internet_gateway)               |\n| EIP                                       | [aws_eip](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eip)                                         |\n| NAT Gateway                               | [aws_nat_gateway](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/nat_gateway)                         |\n| Subnet (Public, Private)                  | [aws_subnet](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/subnet)                                   |\n| Route Table (Public, Private)             | [aws_route_table](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route_table)                         |\n| Route Table Association (Public, Private) | [aws_route_table_association](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route_table_association) |\n\n#### EKS Module\n\n| Module                                   | Resource                                                                                                                                   |\n| ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |\n| EKS Cluster                              | [aws_eks_cluster](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eks_cluster)                                 |\n| EKS Addon (kube-proxy, vpc-cni, coredns) | [aws_eks_addon](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eks_addon)                                     |\n| IAM Role (EKS Cluster)                   | [aws_iam_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role)                                       |\n| IAM Role Policy Attachment               | [aws_iam_role_policy_attachment](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment)   |\n| Security Group (EKS Control Plane)       | [aws_security_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group)                           |\n| EKS Node Group                           | [aws_eks_node_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eks_node_group)                           |\n| IAM OpenID Connect Provider              | [aws_iam_openid_connect_provider](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_openid_connect_provider) |\n\n#### ALB Module\n\n| Module                                      | Resource                                                                                                                                 |\n| ------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| IAM Role (ALB)                              | [aws_iam_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role)                                     |\n| IAM Role Policy Attachment                  | [aws_iam_role_policy_attachment](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) |\n| Kubernetes Service Account                  | [kubernetes_service_account](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/service_account)         |\n| Helm Release (AWS Load Balancer Controller) | [helm_release](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release)                                     |\n\n#### ASG Module\n\n| Module                        | Resource                                                                                                                                 |\n| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| IAM Role (Cluster Autoscaler) | [aws_iam_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role)                                     |\n| IAM Role Policy Attachment    | [aws_iam_role_policy_attachment](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) |\n| Local File                    | [local_file](https://registry.terraform.io/providers/hashicorp/local/latest/docs/resources/file)                                         |\n| Null Resource                 | [null_resource](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource)                                   |\n\n#### EFS Module\n\n| Module                            | Resource                                                                                                                                 |\n| --------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| EFS File System                   | [aws_efs_file_system](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/efs_file_system)                       |\n| Security Group (EFS)              | [aws_security_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group)                         |\n| EFS Mount Target                  | [aws_efs_mount_target](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/efs_mount_target)                     |\n| IAM Role (EFS)                    | [aws_iam_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role)                                     |\n| IAM Role Policy Attachment        | [aws_iam_role_policy_attachment](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) |\n| Kubernetes Service Account        | [kubernetes_service_account](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/service_account)         |\n| Helm Release (AWS EFS CSI Driver) | [helm_release](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release)                                     |\n| Kubernetes Storage Class          | [kubernetes_storage_class](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/storage_class)             |\n\n#### Policy Module\n\n| Module                | Resource                                                                                                 |\n| --------------------- | -------------------------------------------------------------------------------------------------------- |\n| IAM Policy (ALB, ASG) | [aws_iam_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy) |\n\n#### S3 Module\n\n| Module                           | Resource                                                                                                                                                                         |\n| -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| S3 Bucket                        | [aws_s3_bucket](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket)                                                                           |\n| S3 Bucket Server Side Encryption | [aws_s3_bucket_server_side_encryption_configuration](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_server_side_encryption_configuration) |\n| S3 Bucket Versioning             | [aws_s3_bucket_versioning](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_versioning)                                                     |\n| S3 Bucket Public Access Block    | [aws_s3_bucket_public_access_block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_public_access_block)                                   |\n| DynamoDB Table (Terraform Locks) | [aws_dynamodb_table](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/dynamodb_table)                                                                 |\n\n### GCP\n\n| Module          | Resource                                                                                                                                 |\n| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |\n| Cloud Armor     | [google_compute_security_policy](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_security_policy) |\n| Firewall        | [google_compute_firewall](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_firewall)               |\n| GCE             | [google_compute_instance](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_instance)               |\n| GCS             | [google_storage_bucket](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/storage_bucket)                   |\n| GKE (Cluster)   | [google_container_cluster](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster)             |\n| GKE (Node Pool) | [google_container_node_pool](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_node_pool)         |\n| Global IP       | [google_compute_global_address](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_global_address)   |\n| Region IP       | [google_compute_address](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_address)                 |\n\n### Cloudflare\n\n| Module | Resource                                                                                                        |\n| ------ | --------------------------------------------------------------------------------------------------------------- |\n| DNS    | [cloudflare_record](https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/record) |\n\n### Atlas\n\n| Module              | Resource                                                                                                                                         |\n| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |\n| Database Deployment | [mongodbatlas_advanced_cluster](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/advanced_cluster)             |\n| IP Access List      | [mongodbatlas_project_ip_access_list](https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/project_ip_access_list) |\n\n## Practices\n\n| Docs Link | Description |\n| ---------------- | ----------- |\n| [terraform-cloudflare](https://github.com/sz9751210/terraform/blob/main/practices/docs/terraform-cloudflare.md) | 使用 terraform 結合 cloudflare 管理網域 DNS 記錄 |\n\n## Contributing\n\nContributions are welcome and I will review and consider pull requests.\nFeel free to open issues if you find missing configuration or customisation options.\n\n## Bug Reports \u0026 Feature Requests\n\nPlease use the issue tracker to report any bugs or file feature requests.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n## Contact\n\nE-mail: [alandev9751210@gmail.com](mailto:\u003calandev9751210@gmail.com\u003e)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsz9751210%2Fterraform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsz9751210%2Fterraform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsz9751210%2Fterraform/lists"}