{"id":39029650,"url":"https://github.com/fjdev/terraform-azurerm-subscription","last_synced_at":"2026-01-17T17:36:51.724Z","repository":{"id":247724569,"uuid":"799838890","full_name":"fjdev/terraform-azurerm-subscription","owner":"fjdev","description":"Manages an Alias for a Subscription - which adds an Alias to an existing Subscription, allowing it to be managed in Terraform - or create a new Subscription with a new Alias.","archived":false,"fork":false,"pushed_at":"2024-11-28T16:28:24.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-28T16:31:18.698Z","etag":null,"topics":["azurerm","base","subscription","terraform"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/subscription","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fjdev.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}},"created_at":"2024-05-13T07:46:20.000Z","updated_at":"2024-11-28T16:28:05.000Z","dependencies_parsed_at":"2024-07-10T09:11:12.838Z","dependency_job_id":null,"html_url":"https://github.com/fjdev/terraform-azurerm-subscription","commit_stats":null,"previous_names":["fjdev/terraform-azurerm-subscription"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/fjdev/terraform-azurerm-subscription","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjdev%2Fterraform-azurerm-subscription","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjdev%2Fterraform-azurerm-subscription/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjdev%2Fterraform-azurerm-subscription/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjdev%2Fterraform-azurerm-subscription/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fjdev","download_url":"https://codeload.github.com/fjdev/terraform-azurerm-subscription/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fjdev%2Fterraform-azurerm-subscription/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28513599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: 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":["azurerm","base","subscription","terraform"],"created_at":"2026-01-17T17:36:51.058Z","updated_at":"2026-01-17T17:36:51.701Z","avatar_url":"https://github.com/fjdev.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- BEGIN_TF_DOCS --\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\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [azurerm_management_group_subscription_association.mgsubassoc](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/management_group_subscription_association) | resource |\n| [azurerm_subscription.sub](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/subscription) | resource |\n| [azurerm_billing_enrollment_account_scope.ea](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/billing_enrollment_account_scope) | data source |\n| [azurerm_billing_mca_account_scope.mca](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/billing_mca_account_scope) | data source |\n| [azurerm_billing_mpa_account_scope.mpa](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/billing_mpa_account_scope) | data source |\n| [azurerm_management_group.mg](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/management_group) | data source |\n| [azurerm_subscriptions.created](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/subscriptions) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_alias\"\u003e\u003c/a\u003e [alias](#input\\_alias) | (Optional) The Alias name for the subscription. Terraform will generate a new GUID if this is not supplied. Changing this forces a new Subscription to be created. | `string` | `null` | no |\n| \u003ca name=\"input_billing_scope_id\"\u003e\u003c/a\u003e [billing\\_scope\\_id](#input\\_billing\\_scope\\_id) | (Optional) The Azure Billing Scope ID. Can be a Microsoft Customer Account Billing Scope ID, a Microsoft Partner Account Billing Scope ID or an Enrollment Billing Scope ID. | `string` | `null` | no |\n| \u003ca name=\"input_management_group_display_name\"\u003e\u003c/a\u003e [management\\_group\\_display\\_name](#input\\_management\\_group\\_display\\_name) | (Optional) Specifies the display name of this Management Group. | `string` | `null` | no |\n| \u003ca name=\"input_management_group_name\"\u003e\u003c/a\u003e [management\\_group\\_name](#input\\_management\\_group\\_name) | (Optional) Specifies the name or UUID of this Management Group. | `string` | `null` | no |\n| \u003ca name=\"input_subscription_id\"\u003e\u003c/a\u003e [subscription\\_id](#input\\_subscription\\_id) | (Optional) The ID of the Subscription. Changing this forces a new Subscription to be created. | `string` | `null` | no |\n| \u003ca name=\"input_subscription_name\"\u003e\u003c/a\u003e [subscription\\_name](#input\\_subscription\\_name) | (Required) The Name of the Subscription. This is the Display Name in the portal. | `string` | `null` | no |\n| \u003ca name=\"input_subscription_type\"\u003e\u003c/a\u003e [subscription\\_type](#input\\_subscription\\_type) | (Optional) The Subscription Type to use and the required parameters for that Subscription Type. Possible values are 'EA', 'MCA' and 'MPA'. | \u003cpre\u003emap(object({\u003cbr\u003e    billing_account_name    = optional(string)\u003cbr\u003e    enrollment_account_name = optional(string)\u003cbr\u003e    billing_profile_name    = optional(string)\u003cbr\u003e    invoice_section_name    = optional(string)\u003cbr\u003e    customer_name           = optional(string)\u003cbr\u003e  }))\u003c/pre\u003e | `null` | no |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | (Optional) A mapping of tags to assign to the Subscription. | `any` | `null` | no |\n| \u003ca name=\"input_workload\"\u003e\u003c/a\u003e [workload](#input\\_workload) | (Optional) The workload type of the Subscription. Possible values are Production (default) and DevTest. Changing this forces a new Subscription to be created. | `string` | `null` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_subscription_id\"\u003e\u003c/a\u003e [subscription\\_id](#output\\_subscription\\_id) | The Resource ID of the Alias. |\n| \u003ca name=\"output_subscription_name\"\u003e\u003c/a\u003e [subscription\\_name](#output\\_subscription\\_name) | The Name of the Alias. |\n| \u003ca name=\"output_tenant_id\"\u003e\u003c/a\u003e [tenant\\_id](#output\\_tenant\\_id) | The ID of the Tenant to which the subscription belongs. |\n\u003c!-- END_TF_DOCS --\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffjdev%2Fterraform-azurerm-subscription","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffjdev%2Fterraform-azurerm-subscription","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffjdev%2Fterraform-azurerm-subscription/lists"}