Open derekwilliamsliquidx opened 3 years ago
azuredevops_variable_group
resource "azuredevops_variable_group" "variablegroup" { count = length(local.workspace["variable_groups"]) project_id = azuredevops_project.project.id name = "${local.workspace["project_name"]}-${local.workspace["variable_groups"][count.index]}" description = "Generic environment based variable Group" allow_access = true }
Not adding for security reasons
Variable group is created without any variables added
╷ │ Error: Insufficient variable blocks │ │ on ado_variable_group.tf line 1, in resource "azuredevops_variable_group" "variablegroup": │ 1: resource "azuredevops_variable_group" "variablegroup" { │ │ At least 1 "variable" blocks are required.
terraform plan
I have a feature branch to update the docs and mark variable block as optional. I'm unable to push a feature branch though.
variable
@derekwilliamsliquidx You can submit a pull request to this repo.
Community Note
Terraform (and Azure DevOps Provider) Version
Affected Resource(s)
azuredevops_variable_group
Terraform Configuration Files
Debug Output
Not adding for security reasons
Panic Output
Expected Behavior
Variable group is created without any variables added
Actual Behavior
╷ │ Error: Insufficient variable blocks │ │ on ado_variable_group.tf line 1, in resource "azuredevops_variable_group" "variablegroup": │ 1: resource "azuredevops_variable_group" "variablegroup" { │ │ At least 1 "variable" blocks are required.
Steps to Reproduce
terraform plan
Important Factoids
References