139 lines
4.9 KiB
Python
139 lines
4.9 KiB
Python
# tests/test_provider_DataDog_datadog.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:15:03 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.DataDog.datadog
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.DataDog.datadog import datadog_api_key
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_application_key
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_child_organization
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_dashboard
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_dashboard_json
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_dashboard_list
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_downtime
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_integration_aws
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_integration_aws_lambda_arn
|
|
|
|
from terrascript.resource.DataDog.datadog import (
|
|
datadog_integration_aws_log_collection,
|
|
)
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_integration_aws_tag_filter
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_integration_azure
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_integration_gcp
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_integration_pagerduty
|
|
|
|
from terrascript.resource.DataDog.datadog import (
|
|
datadog_integration_pagerduty_service_object,
|
|
)
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_integration_slack_channel
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_logs_archive
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_logs_archive_order
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_logs_custom_pipeline
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_logs_index
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_logs_index_order
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_logs_integration_pipeline
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_logs_metric
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_logs_pipeline_order
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_metric_metadata
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_metric_tag_configuration
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_monitor
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_organization_settings
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_role
|
|
|
|
from terrascript.resource.DataDog.datadog import (
|
|
datadog_security_monitoring_default_rule,
|
|
)
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_security_monitoring_filter
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_security_monitoring_rule
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_service_level_objective
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_slo_correction
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_synthetics_global_variable
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_synthetics_private_location
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_synthetics_test
|
|
|
|
from terrascript.resource.DataDog.datadog import datadog_user
|
|
|
|
|
|
def test_datasource_import():
|
|
from terrascript.data.DataDog.datadog import datadog_api_key
|
|
|
|
from terrascript.data.DataDog.datadog import datadog_application_key
|
|
|
|
from terrascript.data.DataDog.datadog import datadog_dashboard
|
|
|
|
from terrascript.data.DataDog.datadog import datadog_dashboard_list
|
|
|
|
from terrascript.data.DataDog.datadog import datadog_ip_ranges
|
|
|
|
from terrascript.data.DataDog.datadog import datadog_monitor
|
|
|
|
from terrascript.data.DataDog.datadog import datadog_monitors
|
|
|
|
from terrascript.data.DataDog.datadog import datadog_permissions
|
|
|
|
from terrascript.data.DataDog.datadog import datadog_role
|
|
|
|
from terrascript.data.DataDog.datadog import datadog_security_monitoring_filters
|
|
|
|
from terrascript.data.DataDog.datadog import datadog_security_monitoring_rules
|
|
|
|
from terrascript.data.DataDog.datadog import datadog_service_level_objective
|
|
|
|
from terrascript.data.DataDog.datadog import datadog_service_level_objectives
|
|
|
|
from terrascript.data.DataDog.datadog import datadog_synthetics_global_variable
|
|
|
|
from terrascript.data.DataDog.datadog import datadog_synthetics_locations
|
|
|
|
from terrascript.data.DataDog.datadog import datadog_user
|
|
|
|
|
|
# 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.DataDog.datadog
|
|
#
|
|
# t = terrascript.provider.DataDog.datadog.datadog()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/DataDog/terraform-provider-datadog' in s
|
|
# assert '3.4.0' in s
|