Closed sylr closed 4 years ago
Hi 👋
Given the following base:
resource "azurerm_network_security_group" "rabbitmq-nsg" { name = "rabbitmq-nsg" resource_group_name = azurerm_resource_group.rabbitmq.name location = azurerm_resource_group.rabbitmq.location security_rule { source_port_ranges = [] } }
If you want to populate source_port_ranges with a var it autocompletes all right.
source_port_ranges
resource "azurerm_network_security_group" "rabbitmq-nsg" { name = "rabbitmq-nsg" resource_group_name = azurerm_resource_group.rabbitmq.name location = azurerm_resource_group.rabbitmq.location security_rule { source_port_ranges = [var.myvar] } }
But if you want to add another item to source_port_ranges it does not autocomplete anymore
resource "azurerm_network_security_group" "rabbitmq-nsg" { name = "rabbitmq-nsg" resource_group_name = azurerm_resource_group.rabbitmq.name location = azurerm_resource_group.rabbitmq.location security_rule { source_port_ranges = [var.myvar, var.my...] } }
I'm using terraform-lsp v0.0.10 and VS Code 1.42.1 on MacOS.
Hi 👋
Given the following base:
If you want to populate
source_port_ranges
with a var it autocompletes all right.But if you want to add another item to source_port_ranges it does not autocomplete anymore
I'm using terraform-lsp v0.0.10 and VS Code 1.42.1 on MacOS.