{"id":26578044,"url":"https://github.com/aerojam95/terraform-gitlab-pipeline","last_synced_at":"2026-04-17T00:35:50.596Z","repository":{"id":195059207,"uuid":"692143510","full_name":"aerojam95/terraform-gitlab-pipeline","owner":"aerojam95","description":"Simple AWS Gitlab pipeline for a terraform deployment to a cloud service","archived":false,"fork":false,"pushed_at":"2023-09-16T09:04:46.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T04:19:26.307Z","etag":null,"topics":["aws","cicd","gitlab","gitlab-ci","iac","iac-terraform","pipeline","terraform"],"latest_commit_sha":null,"homepage":"","language":null,"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/aerojam95.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}},"created_at":"2023-09-15T16:52:00.000Z","updated_at":"2023-09-15T17:55:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"cb332fa3-c7ee-439b-8fc4-16617de94465","html_url":"https://github.com/aerojam95/terraform-gitlab-pipeline","commit_stats":null,"previous_names":["aerojam95/terraform-gitlab-pipeline"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/aerojam95/terraform-gitlab-pipeline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerojam95%2Fterraform-gitlab-pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerojam95%2Fterraform-gitlab-pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerojam95%2Fterraform-gitlab-pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerojam95%2Fterraform-gitlab-pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aerojam95","download_url":"https://codeload.github.com/aerojam95/terraform-gitlab-pipeline/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerojam95%2Fterraform-gitlab-pipeline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31910174,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"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":["aws","cicd","gitlab","gitlab-ci","iac","iac-terraform","pipeline","terraform"],"created_at":"2025-03-23T04:19:04.903Z","updated_at":"2026-04-17T00:35:50.563Z","avatar_url":"https://github.com/aerojam95.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-gitlab-pipeline\n\n## Description\n- Simple Gitlab pipeline for a Terraform deployment to AWS\n\n## Prerequisites\n- The following environment variables will need to be generated:\n\n```bash\nAWS_ACCESS_KEY_ID\nAWS_SECRET_ACCESS_KEY\n```\n- These enviornment variables are credentails to use for the respective AWS account in which the the resources will be deployed\n- The credentials are generated from the [AWS IAM service](https://console.aws.amazon.com/iam/)\n- Instructions for credential generation are [here](https://docs.aws.amazon.com/keyspaces/latest/devguide/access.credentials.html)\n- The credentials give access to permitted AWS APIs\n- It is recommended that credentials for the Pipeline are for this pipeline, not a given user\n\n## Pipeline Jobs\n\n1. format:\n        Rewrites the Terraform configuration files to a canonical format and style\n2. [tflint](https://hub.docker.com/r/wata727/tflint/):\n        Terraform linter for detecting errors that cannot be detected by ```terraform plan```\n3. validate:\n        Validates the configuration files in a directory, referring only to the configuration and not accessing any remote services such as remote state, provider APIs, etc.\n4. [checkov](https://github.com/bridgecrewio/checkov):\n        It scans cloud infrastructure provisioned using Terraform, Terraform plan, Cloudformation, AWS SAM, Kubernetes, Helm charts, Kustomize, Dockerfile, Serverless, Bicep, OpenAPI or ARM Templates and detects security and compliance misconfigurations using graph-based scanning.\n5. plan_apply:\n        Creates an execution plan, which lets you preview the changes that Terraform plans to make to your infrastructure, in this pipeline what it plans to deploy to AWS\n6. apply:\n        Executes the actions proposed in a Terraform plan, deploying the planned infrastructure to AWS\n7. plan_destroy:\n        Creates an execution plan, which lets you preview the changes that Terraform plans to make to your infrastructure, in this pipeline what it plans to destroy in AWS\n8. destroy:\n        Executes the actions proposed in a Terraform plan, destroying the planned infrastructure in AWS\n\n# Manual Stages\nThe following stages are manual stages in the pipeline as a review of the apply and destroy plans are required before creation or destruction of resources; plans are stored off as temporary artefacts specifically for review, expiration of these artefacts can be configured as needed;  destroy_plan is manual in order to plan to destroy what is applied:  \n1. apply\n2. destroy_plan\n3. destroy\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faerojam95%2Fterraform-gitlab-pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faerojam95%2Fterraform-gitlab-pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faerojam95%2Fterraform-gitlab-pipeline/lists"}