Blocks of type "<name>" are not expected here. Did you mean to define argument "<name>"? If so, use the equals sign to assign it a value.
Additionally, if you manually add the equals sign to make it work, from then on the HCL plugin does not recognise that map's subkeys in the autocompletion popup.
Thank you for opening an issue. In this template paragraph text could be removed, however please retain headers.
Prerequisites
Installation details
Expected Behavior
The autocomplete should insert TypeMap declared items into the code as arguments like below:
Actual Behavior
The autocomplete should insert TypeMap declared items into the code as blocks, which fail in
terraform apply
with an error.Error
Blocks of type "<name>" are not expected here. Did you mean to define argument "<name>"? If so, use the equals sign to assign it a value.
Additionally, if you manually add the equals sign to make it work, from then on the HCL plugin does not recognise that map's subkeys in the autocompletion popup.