{"id":21725344,"url":"https://github.com/jameswoolfenden/terraform-azurerm-sql","last_synced_at":"2026-05-06T12:44:54.973Z","repository":{"id":81359276,"uuid":"338401748","full_name":"JamesWoolfenden/terraform-azurerm-sql","owner":"JamesWoolfenden","description":"A module for provisioning sql in Azure","archived":false,"fork":false,"pushed_at":"2022-12-01T09:26:50.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-25T19:27:33.921Z","etag":null,"topics":["azurerm","checkov","module","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/JamesWoolfenden.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-12T18:35:38.000Z","updated_at":"2022-11-23T18:58:28.000Z","dependencies_parsed_at":"2023-07-11T10:35:57.385Z","dependency_job_id":null,"html_url":"https://github.com/JamesWoolfenden/terraform-azurerm-sql","commit_stats":null,"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesWoolfenden%2Fterraform-azurerm-sql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesWoolfenden%2Fterraform-azurerm-sql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesWoolfenden%2Fterraform-azurerm-sql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesWoolfenden%2Fterraform-azurerm-sql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JamesWoolfenden","download_url":"https://codeload.github.com/JamesWoolfenden/terraform-azurerm-sql/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244706500,"owners_count":20496570,"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":["azurerm","checkov","module","sql","terraform"],"created_at":"2024-11-26T03:17:13.074Z","updated_at":"2026-05-06T12:44:49.946Z","avatar_url":"https://github.com/JamesWoolfenden.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-azurerm-sql\n\n[![Build Status](https://github.com/JamesWoolfenden/terraform-azurerm-sql/workflows/Verify%20and%20Bump/badge.svg?branch=master)](https://github.com/JamesWoolfenden/terraform-azurerm-sql)\n[![Latest Release](https://img.shields.io/github/release/JamesWoolfenden/terraform-azurerm-sql.svg)](https://github.com/JamesWoolfenden/terraform-azurerm-sql/releases/latest)\n[![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/JamesWoolfenden/terraform-azurerm-sql.svg?label=latest)](https://github.com/JamesWoolfenden/terraform-azurerm-sql/releases/latest)\n![Terraform Version](https://img.shields.io/badge/tf-%3E%3D0.14.0-blue.svg)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/JamesWoolfenden/terraform-azurerm-sql/cis_aws)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=JamesWoolfenden%2Fterraform-azurerm-sql\u0026benchmark=CIS+AWS+V1.2)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white)](https://github.com/pre-commit/pre-commit)\n[![checkov](https://img.shields.io/badge/checkov-verified-brightgreen)](https://www.checkov.io/)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/jameswoolfenden/terraform-azurerm-sql/general)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=JamesWoolfenden%2Fterraform-azurerm-sql\u0026benchmark=INFRASTRUCTURE+SECURITY)\n\nThis is module to help you deploy SQL ON AZURE.\n\n## Usage\n\nAdd **module.sql.tf** to your Terraform code:\n\n```terraform\nmodule \"sql\" {\n  source         = \"JamesWoolfenden/sql/azure\"\n  version        = \"0.0.2\"\n  resource_group = azurerm_resource_group.examplea\n  database_name  = \"mydatabase\"\n}\n```\n\nSupply values for your resource and database name, other values have defaults which can be over ridden.\n\n---\n\nThis project is 100% Open Source and licensed under the [APACHE2](LICENSE).\n\n\u003c!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n## Requirements\n\nNo requirements.\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_azurerm\"\u003e\u003c/a\u003e [azurerm](#provider\\_azurerm) | n/a |\n| \u003ca name=\"provider_random\"\u003e\u003c/a\u003e [random](#provider\\_random) | n/a |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [azurerm_key_vault.example](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault) | resource |\n| [azurerm_key_vault_access_policy.client](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_access_policy) | resource |\n| [azurerm_key_vault_access_policy.storage](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_access_policy) | resource |\n| [azurerm_key_vault_key.example](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_key) | resource |\n| [azurerm_mssql_database_extended_auditing_policy.example](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/mssql_database_extended_auditing_policy) | resource |\n| [azurerm_mssql_server_security_alert_policy.example](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/mssql_server_security_alert_policy) | resource |\n| [azurerm_mssql_server_vulnerability_assessment.example](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/mssql_server_vulnerability_assessment) | resource |\n| [azurerm_sql_active_directory_administrator.example](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/sql_active_directory_administrator) | resource |\n| [azurerm_sql_database.examplea](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/sql_database) | resource |\n| [azurerm_sql_server.examplea](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/sql_server) | resource |\n| [azurerm_storage_account.examplea](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/storage_account) | resource |\n| [azurerm_storage_account_customer_managed_key.key](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/storage_account_customer_managed_key) | resource |\n| [azurerm_storage_account_network_rules.store](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/storage_account_network_rules) | resource |\n| [azurerm_storage_container.examplea](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/storage_container) | resource |\n| [random_password.examplea](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/password) | resource |\n| [azurerm_client_config.current](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/client_config) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_account_replication_type\"\u003e\u003c/a\u003e [account\\_replication\\_type](#input\\_account\\_replication\\_type) | n/a | `string` | `\"LRS\"` | no |\n| \u003ca name=\"input_account_tier\"\u003e\u003c/a\u003e [account\\_tier](#input\\_account\\_tier) | n/a | `string` | `\"standard\"` | no |\n| \u003ca name=\"input_administrator_login_password\"\u003e\u003c/a\u003e [administrator\\_login\\_password](#input\\_administrator\\_login\\_password) | n/a | `string` | `\"\"` | no |\n| \u003ca name=\"input_audit_retention_in_days\"\u003e\u003c/a\u003e [audit\\_retention\\_in\\_days](#input\\_audit\\_retention\\_in\\_days) | Retention period for Audit logs in days | `number` | `90` | no |\n| \u003ca name=\"input_common_tags\"\u003e\u003c/a\u003e [common\\_tags](#input\\_common\\_tags) | This is to help you add tags to your cloud objects | `map(any)` | n/a | yes |\n| \u003ca name=\"input_database_name\"\u003e\u003c/a\u003e [database\\_name](#input\\_database\\_name) | n/a | `string` | n/a | yes |\n| \u003ca name=\"input_default_action\"\u003e\u003c/a\u003e [default\\_action](#input\\_default\\_action) | describe your variable | `string` | `\"Deny\"` | no |\n| \u003ca name=\"input_email_addresses\"\u003e\u003c/a\u003e [email\\_addresses](#input\\_email\\_addresses) | n/a | `list(any)` | n/a | yes |\n| \u003ca name=\"input_key_vault\"\u003e\u003c/a\u003e [key\\_vault](#input\\_key\\_vault) | n/a | `string` | `\"mykeyvault\"` | no |\n| \u003ca name=\"input_log_analytics_workspace\"\u003e\u003c/a\u003e [log\\_analytics\\_workspace](#input\\_log\\_analytics\\_workspace) | n/a | `any` | n/a | yes |\n| \u003ca name=\"input_resource_group\"\u003e\u003c/a\u003e [resource\\_group](#input\\_resource\\_group) | Object that contains resource group details | `any` | n/a | yes |\n| \u003ca name=\"input_soft_delete_retention_days\"\u003e\u003c/a\u003e [soft\\_delete\\_retention\\_days](#input\\_soft\\_delete\\_retention\\_days) | n/a | `number` | `14` | no |\n| \u003ca name=\"input_sql\"\u003e\u003c/a\u003e [sql](#input\\_sql) | n/a | `map` | \u003cpre\u003e{\u003cbr\u003e  \"administrator_login\": \"sqlman\",\u003cbr\u003e  \"minimum_tls_version\": \"1.2\",\u003cbr\u003e  \"name\": \"mymssqlserver\",\u003cbr\u003e  \"public_network_access_enabled\": false,\u003cbr\u003e  \"version\": \"12.0\"\u003cbr\u003e}\u003c/pre\u003e | no |\n| \u003ca name=\"input_sql_server\"\u003e\u003c/a\u003e [sql\\_server](#input\\_sql\\_server) | n/a | `string` | n/a | yes |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_database\"\u003e\u003c/a\u003e [database](#output\\_database) | n/a |\n| \u003ca name=\"output_server\"\u003e\u003c/a\u003e [server](#output\\_server) | n/a |\n| \u003ca name=\"output_storage\"\u003e\u003c/a\u003e [storage](#output\\_storage) | n/a |\n\u003c!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n\n## Related Projects\n\nCheck out these related projects.\n\n## References\n\nFor additional context, refer to some of these links.\n\n## Help\n\n**Got a question?**\n\nFile a GitHub [issue](https://github.com/JamesWoolfenden/terraform-azurerm-sql/issues).\n\n## Contributing\n\n### Bug Reports \u0026 Feature Requests\n\nPlease use the [issue tracker](https://github.com/JamesWoolfenden/terraform-azurerm-sql/issues) to report any bugs or file feature requests.\n\n## Copyrights\n\nCopyright © 2019-2021 James Woolfenden\n\n## License\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nSee [LICENSE](LICENSE) for full details.\n\nLicensed to the Apache Software Foundation (ASF) under one\nor more contributor license agreements. See the NOTICE file\ndistributed with this work for additional information\nregarding copyright ownership. The ASF licenses this file\nto you under the Apache License, Version 2.0 (the\n\"License\"); you may not use this file except in compliance\nwith the License. You may obtain a copy of the License at\n\n\u003chttps://www.apache.org/licenses/LICENSE-2.0\u003e\n\nUnless required by applicable law or agreed to in writing,\nsoftware distributed under the License is distributed on an\n\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, either express or implied. See the License for the\nspecific language governing permissions and limitations\nunder the License.\n\n### Contributors\n\n[![James Woolfenden][jameswoolfenden_avatar]][jameswoolfenden_homepage]\u003cbr/\u003e[James Woolfenden][jameswoolfenden_homepage]\n\n[jameswoolfenden_homepage]: https://github.com/jameswoolfenden\n[jameswoolfenden_avatar]: https://github.com/jameswoolfenden.png?size=150\n[github]: https://github.com/jameswoolfenden\n[linkedin]: https://www.linkedin.com/in/jameswoolfenden/\n[twitter]: https://twitter.com/JimWoolfenden\n[share_twitter]: https://twitter.com/intent/tweet/?text=terraform-azurerm-sql\u0026url=https://github.com/JamesWoolfenden/terraform-azurerm-sql\n[share_linkedin]: https://www.linkedin.com/shareArticle?mini=true\u0026title=terraform-azurerm-sql\u0026url=https://github.com/JamesWoolfenden/terraform-azurerm-sql\n[share_reddit]: https://reddit.com/submit/?url=https://github.com/JamesWoolfenden/terraform-azurerm-sql\n[share_facebook]: https://facebook.com/sharer/sharer.php?u=https://github.com/JamesWoolfenden/terraform-azurerm-sql\n[share_email]: mailto:?subject=terraform-azurerm-sql\u0026body=https://github.com/JamesWoolfenden/terraform-azurerm-sql\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjameswoolfenden%2Fterraform-azurerm-sql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjameswoolfenden%2Fterraform-azurerm-sql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjameswoolfenden%2Fterraform-azurerm-sql/lists"}