This will avoid connecting/binding to LDAP if, for example, you have defined the ldap provider and some ldap resources in your terraform config, but the ldap resource count is 0 (say if the count was calculated dynamically).
Note that you can also now prevent the provider for prompting for bind credentials if you specify bogus credentials in the provider configuration (assuming the ldap resource counts are zero)
i.e. connecting/binding to LDAP is now only performed if absolutely required.
This will avoid connecting/binding to LDAP if, for example, you have defined the ldap provider and some ldap resources in your terraform config, but the ldap resource count is 0 (say if the count was calculated dynamically).
Note that you can also now prevent the provider for prompting for bind credentials if you specify bogus credentials in the provider configuration (assuming the ldap resource counts are zero)
i.e. connecting/binding to LDAP is now only performed if absolutely required.