{"id":16598667,"url":"https://github.com/jlsilva01/sql-azure","last_synced_at":"2026-01-21T08:05:07.189Z","repository":{"id":107383832,"uuid":"539742010","full_name":"jlsilva01/sql-azure","owner":"jlsilva01","description":"Procedimento para criação de um SQL Azure serverless na Sandbox do MS Learn usando IaC Terraform.","archived":false,"fork":false,"pushed_at":"2024-10-07T03:35:02.000Z","size":40,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T14:02:14.885Z","etag":null,"topics":["azure","sql","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/jlsilva01.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":"2022-09-22T00:59:55.000Z","updated_at":"2024-10-24T20:30:57.000Z","dependencies_parsed_at":"2024-01-05T03:25:32.802Z","dependency_job_id":"fdeac5dc-662b-4db8-bd72-907f8f5512c1","html_url":"https://github.com/jlsilva01/sql-azure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jlsilva01/sql-azure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlsilva01%2Fsql-azure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlsilva01%2Fsql-azure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlsilva01%2Fsql-azure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlsilva01%2Fsql-azure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jlsilva01","download_url":"https://codeload.github.com/jlsilva01/sql-azure/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlsilva01%2Fsql-azure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28629922,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"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":["azure","sql","terraform"],"created_at":"2024-10-12T00:09:14.582Z","updated_at":"2026-01-21T08:05:07.171Z","avatar_url":"https://github.com/jlsilva01.png","language":"HCL","readme":"## Criando SQL Azure serverless no Azure gratuito - Sem cartão de crédito\n#### Disclaimer: Utilizar somente para fins de estudo e testes da tecnologia\n\n### Pré-requisitos:\n\n- [Azure CLI](https://learn.microsoft.com/pt-br/cli/azure/)\n- [Visual Studio Code](https://code.visualstudio.com/download)\n- [Terraform](https://www.terraform.io/downloads)\n- [SQL Server Management Studio - SSMS](https://learn.microsoft.com/pt-br/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver16)\n- Conta _@outlook.com_ específica para esta atividade\n\n\n### Roteiro:\n\n1. Ativar uma Sandbox MS Learn (Area Restrita) - Concierge Subscription (4 hora de duração) - \n[https://learn.microsoft.com/pt-br/training/modules/build-serverless-api-with-functions-api-management/5-exercise-import-additional-functions-existing-api-gateway?ns-enrollment-type=learningpath\u0026ns-enrollment-id=learn.create-serverless-applications](https://learn.microsoft.com/pt-br/training/modules/build-serverless-api-with-functions-api-management/5-exercise-import-additional-functions-existing-api-gateway?ns-enrollment-type=learningpath\u0026ns-enrollment-id=learn.create-serverless-applications)\n2. Efetuar o login no Azure através do Azure CLI.\n```bash  copy\naz login\n```\n3. Conferir sua assinatura atual.\n```bash copy\naz account show -o table\n```\n4. Listar todas as assinaturas do Azure da sua conta Microsoft, utilize o comando abaixo (troque o e-mail abaixo pelo e-mail da sua conta Azure).\n```bash  copy\naz account list --query \"[?user.name=='jlsilva01@yahoo.com.br'].{Name:name, ID:id, Default:isDefault}\" -o table\n```\n5. Utilizar a assinatura gratuita, ativada no item 1 deste.\n```bash  copy\naz account set --subscription \"Concierge Subscription\"\n```\n6. Consultar o nome do Resource Group criado para a sua conta do Concierge Subscription.\n```bash copy\naz group list -o table\n```\n7. Ajustar a variável *resource_group_name* do arquivo `variables.tf` com o nome do Resource Group informado no passo anterior.\n```terraform\nvariable \"resource_group_name\" {\n  default = \"learn-877e311a-66ab-401b-9372-06326c9bd083\"\n}\n```\n\n8. Criar os recursos na assinatura Azure selecionada.\n```bash copy\nterraform init\n```\n```bash copy\nterraform validate\n```\n```bash copy\nterraform fmt\n```\n```bash copy\nterraform plan\n```\n```bash copy\nterraform apply\n```\n9. Logar no [portal.azure.com](https://portal.azure.com/) e conferir o deploy do SQL do Azure.\n10. Abrir o SSMS e logar no SQL do Azure a partir do seu computador.\n11. Destruir os recursos criados.\n```bash copy\nterraform destroy\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlsilva01%2Fsql-azure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjlsilva01%2Fsql-azure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlsilva01%2Fsql-azure/lists"}