terraform-provider-snowflake
terraform-provider-snowflake copied to clipboard
feat: Use secondary roles in provider config [FOR LATER]
Implements: https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/2504
Add the use_secondary_roles
parameter to the provider config. Added acceptance tests, which showed that before introducing this change we should use client object instead of db connection as resource metadata to keep the same session between provider config and resource operation. Right now, it seems provider config or operation = 1 session.
Integration tests failure for e5a991d280fd1cd6fa0e4f798ad7882feff8de71
Integration tests failure for d40b6341e861e994a27bcb7bd37b13f6c3144936
Integration tests failure for 9b753f9187e8eb26244a7c3fb8d6dc247fd22e50