{"id":21474673,"url":"https://github.com/yagoluiz/rfid-reader-infra","last_synced_at":"2026-05-19T03:04:54.613Z","repository":{"id":148120690,"uuid":"253361928","full_name":"yagoluiz/rfid-reader-infra","owner":"yagoluiz","description":"Cloud infrastructure for reading RFID tags / [PT-BR] Infraestrutura em nuvem para leitura de tags RFID","archived":false,"fork":false,"pushed_at":"2020-04-22T14:21:05.000Z","size":93,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-23T16:53:07.228Z","etag":null,"topics":["azure","devops","infrastructure-as-code","terraform"],"latest_commit_sha":null,"homepage":"","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/yagoluiz.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-06T00:42:37.000Z","updated_at":"2020-09-26T14:51:28.000Z","dependencies_parsed_at":"2023-05-19T04:45:36.384Z","dependency_job_id":null,"html_url":"https://github.com/yagoluiz/rfid-reader-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/yagoluiz%2Frfid-reader-infra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yagoluiz%2Frfid-reader-infra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yagoluiz%2Frfid-reader-infra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yagoluiz%2Frfid-reader-infra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yagoluiz","download_url":"https://codeload.github.com/yagoluiz/rfid-reader-infra/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243996898,"owners_count":20380978,"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":["azure","devops","infrastructure-as-code","terraform"],"created_at":"2024-11-23T10:24:34.901Z","updated_at":"2026-05-19T03:04:53.832Z","avatar_url":"https://github.com/yagoluiz.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Infrastructure RFID Tag Reading\n\n![Terraform CI](https://github.com/yagoluiz/rfid-reader-infra/workflows/Terraform%20CI/badge.svg)\n\nInfrastructure RFID Tag Reading, implemented after Master's Work.\n\n## Project architecture\n\nThis repository provides the implementation of infrastructure of the projects [rfid-reader-middleware](https://github.com/yagoluiz/rfid-reader-middleware), [rfid-reader-api](https://github.com/yagoluiz/rfid-reader-api) and [rfid-reader-web](https://github.com/yagoluiz/rfid-reader-web).\n\n![](img/azure_services.png)\n\n## Project structure\n\nThe infrastructure was organized through [modules](https://www.terraform.io/docs/configuration/modules.html).\n\n```\n├── src\n    ├── modules (resources)\n        ├── container\n        ├── databases\n        ├── functions\n        ...\n    ├── main.tf (execute modules)\n    ├── outputs.tf (connections)\n    ├── provider.tf (Azure)\n...\n```\n\n## Master's work\n\nSee the work [repository](https://github.com/yagoluiz/unb-dissertacao) for more details of the project.\n\n## Technologies\n\n- Terraform (Azure Provider)\n- Azure CLI\n\n## Instructions for run project\n\n1. Install [Terraform](https://www.terraform.io/downloads.html)\n\n2. Install [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli)\n\n3. Azure account login\n\n\u003e *az login*\n\n4. *(Optional)* Create *service principal* credentials for Azure authentication\n\n\u003e *az ad sp create-for-rbac --name \"{NAME}\" --role contributor --scopes /subscriptions/{YOUR_AZURE_SUBSCRIPTION_ID}*\n\nResult create service principal:\n\n```json\n{ \n  \"clientId\": \"{AZURE_CLIENT_ID}\",\n  \"clientSecret\": \"{AZURE_CLIENT_SECRET}\",\n  \"subscriptionId\": \"{AZURE_SUBSCRIPTION_ID}\",\n  \"tenantId\": \"{AZURE_TENANT_ID}\",\n  \"activeDirectoryEndpointUrl\": \"https://login.microsoftonline.com\",\n  \"resourceManagerEndpointUrl\": \"https://management.azure.com/\",\n  \"activeDirectoryGraphResourceId\": \"https://graph.windows.net/\",\n  \"sqlManagementEndpointUrl\": \"https://management.core.windows.net:8443/\",\n  \"galleryEndpointUrl\": \"https://gallery.azure.com/\",\n  \"managementEndpointUrl\": \"https://management.core.windows.net/\"\n}\n```\n\nUse variables **clientId**, **clientSecret**, **subscriptionId** and **tenantId** in provider:\n\n```terraform\nprovider \"azurerm\" {\n  version         = \"\u003e= 2.0.0\"\n  subscription_id = var.subscription_id\n  client_id       = var.client_id\n  client_secret   = var.client_secret\n  tenant_id       = var.tenant_id\n  features {}\n}\n```\n\nIn this project the variables are in **GitHub Secrets**.\n\n5. In path **src** in project root execute desired the commands Terraform\n\n\u003e *terraform init* **(install modules and provider)**\n\n\u003e *terraform validate* **(validate scripts)**\n\n\u003e *terraform apply* **(apply infrastructure)**\n\n\u003e *terraform destroy* **(remove infrastructure)**\n\nMore [commands](https://www.terraform.io/docs/commands/index.html).\n\n# [PT-BR] Infraestrutura de Leitura de Tags RFID\n\nInfraestrutura de Leitura de Tags RFID, implementado após trabalho de Mestrado.\n\n## Arquitetura do projeto\n\nEste repositório apresenta a implementação de toda infraestrutura dos projetos [rfid-reader-middleware](https://github.com/yagoluiz/rfid-reader-middleware), [rfid-reader-api](https://github.com/yagoluiz/rfid-reader-api) e [rfid-reader-web](https://github.com/yagoluiz/rfid-reader-web).\n\n## Estrutura do projeto\n\nA infraestrutura foi organizada através de [módulos](https://www.terraform.io/docs/configuration/modules.html).\n\n```\n├── src\n    ├── modules (recursos)\n        ├── container\n        ├── databases\n        ├── functions\n        ...\n    ├── main.tf (executar módulos)\n    ├── outputs.tf (conexões)\n    ├── provider.tf (Azure)\n...\n```\n\n## Trabalho de Mestrado\n\nConsulte o [repositório](https://github.com/yagoluiz/unb-dissertacao) do trabalho para mais detalhes do projeto.\n\n## Tecnologias\n\n- Terraform (Azure Provider)\n- Azure CLI\n\n## Instruções para execução do projeto\n\n1. Instalar [Terraform](https://www.terraform.io/downloads.html)\n\n2. Instalar [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli)\n\n3. Logar em uma conta Azure\n\n\u003e *az login*\n\n4. *(Opcional)* Criar credenciais *service principal* para autenticação no Azure\n\n\u003e *az ad sp create-for-rbac --name \"{NAME}\" --role contributor --scopes /subscriptions/{SEU_AZURE_SUBSCRIPTION_ID}*\n\nResultado da criação do *service principal*:\n\n```json\n{\n  \"clientId\": \"{AZURE_CLIENT_ID}\",\n  \"clientSecret\": \"{AZURE_CLIENT_SECRET}\",\n  \"subscriptionId\": \"{AZURE_SUBSCRIPTION_ID}\",\n  \"tenantId\": \"{AZURE_TENANT_ID}\",\n  \"activeDirectoryEndpointUrl\": \"https://login.microsoftonline.com\",\n  \"resourceManagerEndpointUrl\": \"https://management.azure.com/\",\n  \"activeDirectoryGraphResourceId\": \"https://graph.windows.net/\",\n  \"sqlManagementEndpointUrl\": \"https://management.core.windows.net:8443/\",\n  \"galleryEndpointUrl\": \"https://gallery.azure.com/\",\n  \"managementEndpointUrl\": \"https://management.core.windows.net/\"\n}\n```\n\nUtilize variáveis **clientId**, **clientSecret**, **subscriptionId** e **tenantId** no provider:\n\n```terraform\nprovider \"azurerm\" {\n  version         = \"\u003e= 2.0.0\"\n  subscription_id = var.subscription_id\n  client_id       = var.client_id\n  client_secret   = var.client_secret\n  tenant_id       = var.tenant_id\n  features {}\n}\n```\n\nNeste projeto as variáveis estão no **GitHub Secrets**.\n\n5. Na pasta **src** na raíz do projeto executar os comandos Terraform desejados\n\n\u003e *terraform init* **(iniciar modulos e provider)**\n\n\u003e *terraform validate* **(validar scripts)**\n\n\u003e *terraform apply* **(aplicar infraestrutura)**\n\n\u003e *terraform destroy* **(remover infraestrutura)**\n\nMais [comandos](https://www.terraform.io/docs/commands/index.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyagoluiz%2Frfid-reader-infra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyagoluiz%2Frfid-reader-infra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyagoluiz%2Frfid-reader-infra/lists"}