{"id":24578260,"url":"https://github.com/flcdrg/terraform-azure-sql-db-replica","last_synced_at":"2026-05-18T09:33:05.711Z","repository":{"id":273829583,"uuid":"920964069","full_name":"flcdrg/terraform-azure-sql-db-replica","owner":"flcdrg","description":"Example creating and importing Azure SQL Database with Geo Replica","archived":false,"fork":false,"pushed_at":"2025-08-25T01:08:34.000Z","size":89,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-29T07:56:10.198Z","etag":null,"topics":["azure","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flcdrg.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"flcdrg"}},"created_at":"2025-01-23T04:51:12.000Z","updated_at":"2025-08-25T01:08:37.000Z","dependencies_parsed_at":"2025-01-23T08:24:53.076Z","dependency_job_id":"33e12678-6334-498d-9f7f-cbbbfbef4d48","html_url":"https://github.com/flcdrg/terraform-azure-sql-db-replica","commit_stats":null,"previous_names":["flcdrg/terraform-azure-sql-db-replica"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flcdrg/terraform-azure-sql-db-replica","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flcdrg%2Fterraform-azure-sql-db-replica","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flcdrg%2Fterraform-azure-sql-db-replica/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flcdrg%2Fterraform-azure-sql-db-replica/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flcdrg%2Fterraform-azure-sql-db-replica/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flcdrg","download_url":"https://codeload.github.com/flcdrg/terraform-azure-sql-db-replica/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flcdrg%2Fterraform-azure-sql-db-replica/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273584210,"owners_count":25132023,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","azure-sql","terraform"],"created_at":"2025-01-23T23:58:29.666Z","updated_at":"2026-05-18T09:33:05.680Z","avatar_url":"https://github.com/flcdrg.png","language":"HCL","funding_links":["https://github.com/sponsors/flcdrg"],"categories":[],"sub_categories":[],"readme":"# terraform-azure-sql-db-replica\n\nExample creating and importing Azure SQL Database with Geo Replica\n\n## HCP Terraform configuration\n\n1. Create Azure resource group\n\n    ```bash\n    az group create --name rg-georeplica-australiaeast --location australiaeast\n    ```\n\n2. Follow \u003chttps://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/service_principal_oidc#creating-the-application-and-service-principal\u003e\n\n    Create a service principal that has contributor access to the resource group\n\n    ```bash\n    az ad sp create-for-rbac --name sp-terraform-azure-sql-db-replica --role Contributor --scopes /subscriptions/\u003cyoursubscription\u003e/resourceGroups/rg-georeplica-australiaeast\n    ```\n\n3. Then find app registration for this service principal in the portal and click on Manage | Authentication and **Add a platform**. Select Web and enter '\u003chttps://localhost\u003e' for the redirect URI.\n4. Then follow \u003chttps://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/service_principal_oidc#granting-the-application-access-to-manage-resources-in-your-azure-subscription\u003e\n5. Add two federated credentials. One for 'plan' and one for 'apply'\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflcdrg%2Fterraform-azure-sql-db-replica","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflcdrg%2Fterraform-azure-sql-db-replica","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflcdrg%2Fterraform-azure-sql-db-replica/lists"}