119 lines
3.7 KiB
Python
119 lines
3.7 KiB
Python
# tests/test_provider_terraform-provider-graylog_graylog.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:17:31 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.terraform_provider_graylog.graylog
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.terraform_provider_graylog.graylog import (
|
|
graylog_alarm_callback,
|
|
)
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import (
|
|
graylog_alert_condition,
|
|
)
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import (
|
|
graylog_dashboard,
|
|
)
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import (
|
|
graylog_dashboard_widget,
|
|
)
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import (
|
|
graylog_dashboard_widget_positions,
|
|
)
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import (
|
|
graylog_event_definition,
|
|
)
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import (
|
|
graylog_event_notification,
|
|
)
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import (
|
|
graylog_extractor,
|
|
)
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import (
|
|
graylog_grok_pattern,
|
|
)
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import (
|
|
graylog_index_set,
|
|
)
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import graylog_input
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import (
|
|
graylog_input_static_fields,
|
|
)
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import (
|
|
graylog_ldap_setting,
|
|
)
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import graylog_output
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import graylog_pipeline
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import (
|
|
graylog_pipeline_connection,
|
|
)
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import (
|
|
graylog_pipeline_rule,
|
|
)
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import graylog_role
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import (
|
|
graylog_sidecar_collector,
|
|
)
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import (
|
|
graylog_sidecar_configuration,
|
|
)
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import graylog_sidecars
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import graylog_stream
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import (
|
|
graylog_stream_output,
|
|
)
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import (
|
|
graylog_stream_rule,
|
|
)
|
|
|
|
from terrascript.resource.terraform_provider_graylog.graylog import graylog_user
|
|
|
|
|
|
def test_datasource_import():
|
|
from terrascript.data.terraform_provider_graylog.graylog import graylog_dashboard
|
|
|
|
from terrascript.data.terraform_provider_graylog.graylog import graylog_index_set
|
|
|
|
from terrascript.data.terraform_provider_graylog.graylog import graylog_sidecar
|
|
|
|
from terrascript.data.terraform_provider_graylog.graylog import graylog_stream
|
|
|
|
|
|
# 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.terraform_provider_graylog.graylog
|
|
#
|
|
# t = terrascript.provider.terraform_provider_graylog.graylog.graylog()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/terraform-provider-graylog/terraform-provider-graylog' in s
|
|
# assert '1.0.4' in s
|