Open edrumh opened 1 year ago
Agreed @edrumh , the provider should do a lazy init per your use case. We need to look into how to implement this, I'm not entirely sure that we can inspect the config to know if any of our resources have been defined before the provider itself goes through it set up of our SDK client.
Okta internal reference: https://oktainc.atlassian.net/browse/OKTA-611099
@MaxymVlasov described his use case lazy init in duplicate #1564
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days
Unstale
We have a scenario where we only configure Okta resources if var.enable_okta_setup is true. Even if no resources are to be created in the plan/state the okta provider is still initialized and complains about the api_token. The desired functionality would be that the okta provider doesn't initialize if no resources are created in plan/state.