209 lines
7.3 KiB
Python
209 lines
7.3 KiB
Python
# tests/test_provider_chanzuckerberg_snowflake.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:27:18 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.chanzuckerberg.snowflake
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_account_grant
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_api_integration
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_database
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_database_grant
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import (
|
|
snowflake_external_function,
|
|
)
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_external_table
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import (
|
|
snowflake_external_table_grant,
|
|
)
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_file_format
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import (
|
|
snowflake_file_format_grant,
|
|
)
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_function
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_function_grant
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import (
|
|
snowflake_integration_grant,
|
|
)
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_managed_account
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_masking_policy
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import (
|
|
snowflake_masking_policy_grant,
|
|
)
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import (
|
|
snowflake_materialized_view,
|
|
)
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import (
|
|
snowflake_materialized_view_grant,
|
|
)
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_network_policy
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import (
|
|
snowflake_network_policy_attachment,
|
|
)
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import (
|
|
snowflake_notification_integration,
|
|
)
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_pipe
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_pipe_grant
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_procedure
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_procedure_grant
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_resource_monitor
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import (
|
|
snowflake_resource_monitor_grant,
|
|
)
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_role
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_role_grants
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import (
|
|
snowflake_row_access_policy,
|
|
)
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import (
|
|
snowflake_row_access_policy_grant,
|
|
)
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_schema
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_schema_grant
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_scim_integration
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_sequence
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_sequence_grant
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_share
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_stage
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_stage_grant
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import (
|
|
snowflake_storage_integration,
|
|
)
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_stream
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_stream_grant
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_table
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_table_grant
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_task
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_task_grant
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_user
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_user_public_keys
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_view
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_view_grant
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_warehouse
|
|
|
|
from terrascript.resource.chanzuckerberg.snowflake import snowflake_warehouse_grant
|
|
|
|
|
|
def test_datasource_import():
|
|
from terrascript.data.chanzuckerberg.snowflake import snowflake_current_account
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import snowflake_external_functions
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import snowflake_external_tables
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import snowflake_file_formats
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import snowflake_functions
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import snowflake_masking_policies
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import snowflake_materialized_views
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import snowflake_pipes
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import snowflake_procedures
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import snowflake_resource_monitors
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import snowflake_row_access_policies
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import snowflake_schemas
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import snowflake_sequences
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import snowflake_stages
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import snowflake_storage_integrations
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import snowflake_streams
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import (
|
|
snowflake_system_generate_scim_access_token,
|
|
)
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import (
|
|
snowflake_system_get_aws_sns_iam_policy,
|
|
)
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import (
|
|
snowflake_system_get_privatelink_config,
|
|
)
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import (
|
|
snowflake_system_get_snowflake_platform_info,
|
|
)
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import snowflake_tables
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import snowflake_tasks
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import snowflake_views
|
|
|
|
from terrascript.data.chanzuckerberg.snowflake import snowflake_warehouses
|
|
|
|
|
|
# TODO: Shortcut imports without namespace for official and supported providers.
|
|
|
|
# TODO: This has to be moved into a required_providers block.
|
|
# def test_version_source():
|
|
#
|
|
# import terrascript.provider.chanzuckerberg.snowflake
|
|
#
|
|
# t = terrascript.provider.chanzuckerberg.snowflake.snowflake()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/chanzuckerberg/terraform-provider-snowflake' in s
|
|
# assert '0.25.19' in s
|