Describe the bug
When use_network_security_groups is set to false, terraform fails with error:
11:54:42 INFO cli.src.providers.azure.InfrastructureBuilder - Starting step
11:54:42 INFO cli.src.providers.azure.InfrastructureBuilder - Step finished in: 0.01s
11:54:42 ERROR epicli - local variable 'subnet_nsg_association' referenced before assignment
11:54:44 INFO dump_debug_info - Error dump has been written to: /shared/epicli_error_20220601-115442.dump
11:54:44 WARNING dump_debug_info - This dump might contain sensitive information. Check before sharing.
11:54:44 INFO run_time - Total run time: 2.98s
when switched back to true it works fine, with all other settings in config file left unchanged.
How to reproduce
Steps to reproduce the behavior:
execute epicli init ... (with params)
edit config file
change use_network_security_groups to false
execute epicli apply ...
Expected behavior
Working like in previous releases.
Config files
Not applicable, just this one option is changed.
Describe the bug When
use_network_security_groups
is set tofalse
, terraform fails with error:when switched back to
true
it works fine, with all other settings in config file left unchanged.How to reproduce Steps to reproduce the behavior:
epicli init ... (with params)
use_network_security_groups
tofalse
epicli apply ...
Expected behavior Working like in previous releases.
Config files Not applicable, just this one option is changed.
Environment
epicli version: 2.0.0
Additional context n/a
DoD checklist