|
| 1 | +# Variable for the resource group name |
| 2 | +variable "resource_group_name" { |
| 3 | + description = "The name of the resource group" |
| 4 | + type = string |
| 5 | +} |
| 6 | + |
| 7 | +# Variable for the location of the resources |
| 8 | +variable "location" { |
| 9 | + description = "The location of the resources" |
| 10 | + type = string |
| 11 | + default = "East US" # Default location |
| 12 | +} |
| 13 | + |
| 14 | +# Variable for the SQL Server name |
| 15 | +variable "sql_server_name" { |
| 16 | + description = "The name of the SQL Server" |
| 17 | + type = string |
| 18 | +} |
| 19 | + |
| 20 | +# Variable for the administrator username for the SQL Server |
| 21 | +variable "admin_username" { |
| 22 | + description = "The administrator username for the SQL Server" |
| 23 | + type = string |
| 24 | +} |
| 25 | + |
| 26 | +# Variable for the administrator password for the SQL Server |
| 27 | +variable "admin_password" { |
| 28 | + description = "The administrator password for the SQL Server" |
| 29 | + type = string |
| 30 | + sensitive = true # Mark this variable as sensitive |
| 31 | +} |
| 32 | + |
| 33 | +# Variable for the SQL Database name |
| 34 | +variable "sql_database_name" { |
| 35 | + description = "The name of the SQL Database" |
| 36 | + type = string |
| 37 | +} |
| 38 | + |
| 39 | +# Variable for the storage account name |
| 40 | +variable "storage_account_name" { |
| 41 | + description = "The name of the storage account for remote state storage" |
| 42 | + type = string |
| 43 | +} |
| 44 | + |
| 45 | +# Variable for the container name |
| 46 | +variable "container_name" { |
| 47 | + description = "The name of the container for remote state storage" |
| 48 | + type = string |
| 49 | +} |
| 50 | + |
| 51 | +# Variable for the subscription ID |
| 52 | +variable "subscription_id" { |
| 53 | + description = "The subscription ID for the Azure account" |
| 54 | + type = string |
| 55 | +} |
| 56 | + |
| 57 | +# Variable for the administrator principal ID |
| 58 | +variable "admin_principal_id" { |
| 59 | + description = "The principal ID of the capacity administrator" |
| 60 | + type = string |
| 61 | +} |
| 62 | + |
| 63 | +# Variable for the SKU name for the Microsoft Fabric Capacity |
| 64 | +variable "fabric_capacity_sku" { |
| 65 | + description = "The SKU for the Fabric Capacity." |
| 66 | + type = string |
| 67 | +} |
| 68 | + |
| 69 | +# Variable for the solution name |
| 70 | +variable "solution_name" { |
| 71 | + description = "The name of the solution." |
| 72 | + type = string |
| 73 | +} |
| 74 | + |
| 75 | +# Variable for additional UPNs to be added as Fabric Capacity administrators |
| 76 | +variable "fabric_capacity_admin_upns" { |
| 77 | + description = "Additional UPNs to be added as Fabric Capacity administrators." |
| 78 | + type = list(string) |
| 79 | + default = [] |
| 80 | +} |
0 commit comments