{"id":22727590,"url":"https://github.com/pagopa/io-infra","last_synced_at":"2025-04-23T14:21:28.964Z","repository":{"id":37083555,"uuid":"411616927","full_name":"pagopa/io-infra","owner":"pagopa","description":"IO platform infrastructure","archived":false,"fork":false,"pushed_at":"2025-04-09T16:00:29.000Z","size":4326,"stargazers_count":8,"open_issues_count":20,"forks_count":4,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-04-09T17:21:23.022Z","etag":null,"topics":["infrastructure","io"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":false,"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/pagopa.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-29T09:49:29.000Z","updated_at":"2025-04-09T16:00:32.000Z","dependencies_parsed_at":"2024-11-06T10:37:59.560Z","dependency_job_id":"df15bcf0-2d9c-4709-b195-20180ca3c1dd","html_url":"https://github.com/pagopa/io-infra","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/pagopa%2Fio-infra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pagopa%2Fio-infra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pagopa%2Fio-infra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pagopa%2Fio-infra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pagopa","download_url":"https://codeload.github.com/pagopa/io-infra/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250447982,"owners_count":21432166,"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":["infrastructure","io"],"created_at":"2024-12-10T17:12:56.925Z","updated_at":"2025-04-23T14:21:28.942Z","avatar_url":"https://github.com/pagopa.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Static Analysis](https://github.com/pagopa/io-infra/actions/workflows/static_analysis.yml/badge.svg?branch=main)](https://github.com/pagopa/io-infra/actions/workflows/static_analysis.yml)\n\n[![Continuous Delivery on prod citizen-auth](https://github.com/pagopa/io-infra/actions/workflows/prod_cd_citizen-auth.yml/badge.svg?branch=main)](https://github.com/pagopa/io-infra/actions/workflows/prod_cd_citizen-auth.yml)\n[![Drift Detection on prod citizen-auth](https://github.com/pagopa/io-infra/actions/workflows/prod_drift_citizen-auth.yml/badge.svg?branch=main)](https://github.com/pagopa/io-infra/actions/workflows/prod_drift_citizen-auth.yml)\n\n# IO-infrastructure\n\nIO project infrastructure\n\n## Requirements\n\n### 1. terraform\n\nIn order to manage the suitable version of terraform it is strongly recommended to install the following tool:\n\n- [tfenv](https://github.com/tfutils/tfenv): **Terraform** version manager inspired by rbenv.\n\nOnce these tools have been installed, install the terraform version shown in:\n\n- .terraform-version\n\nAfter installation install terraform:\n\n```sh\ntfenv install\n```\n\n## Terraform modules\n\nAs PagoPA we build our standard Terraform modules, check available modules:\n\n- [PagoPA Terraform modules](https://github.com/search?q=topic%3Aterraform-modules+org%3Apagopa\u0026type=repositories)\n\n## Apply changes\n\nTo apply changes follow the standard terraform lifecycle once the code in this repository has been changed:\n\n```sh\n./terraform.sh init [dev|uat|prod]\n\n./terraform.sh plan [dev|uat|prod]\n\n./terraform.sh apply [dev|uat|prod]\n```\n\n## Terraform lock.hcl\n\nWe have both developers who work with your Terraform configuration on their Linux, macOS or Windows workstations and automated systems that apply the configuration while running on Linux.\nhttps://www.terraform.io/docs/cli/commands/providers/lock.html#specifying-target-platforms\n\nSo we need to specify this in terraform lock providers:\n\n```sh\nrm .terraform.lock.hcl\n\n./terraform.sh init [dev|uat|prod]\n\nrm .terraform.lock.hcl\n\nterraform providers lock \\\n  -platform=windows_amd64 \\\n  -platform=darwin_amd64 \\\n  -platform=darwin_arm64 \\\n  -platform=linux_amd64\n```\n\n## Precommit checks\n\nCheck your code before commit.\n\nhttps://github.com/antonbabenko/pre-commit-terraform#how-to-install\n\n```sh\npre-commit run -a\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpagopa%2Fio-infra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpagopa%2Fio-infra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpagopa%2Fio-infra/lists"}