83 lines
2.7 KiB
Python
83 lines
2.7 KiB
Python
# tests/test_provider_fastly_fastly.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:16:17 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.fastly.fastly
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.fastly.fastly import fastly_service_acl_entries_v1
|
|
|
|
from terrascript.resource.fastly.fastly import fastly_service_compute
|
|
|
|
from terrascript.resource.fastly.fastly import fastly_service_dictionary_items_v1
|
|
|
|
from terrascript.resource.fastly.fastly import (
|
|
fastly_service_dynamic_snippet_content_v1,
|
|
)
|
|
|
|
from terrascript.resource.fastly.fastly import fastly_service_v1
|
|
|
|
from terrascript.resource.fastly.fastly import fastly_service_waf_configuration
|
|
|
|
from terrascript.resource.fastly.fastly import fastly_tls_activation
|
|
|
|
from terrascript.resource.fastly.fastly import fastly_tls_certificate
|
|
|
|
from terrascript.resource.fastly.fastly import fastly_tls_platform_certificate
|
|
|
|
from terrascript.resource.fastly.fastly import fastly_tls_private_key
|
|
|
|
from terrascript.resource.fastly.fastly import fastly_tls_subscription
|
|
|
|
from terrascript.resource.fastly.fastly import fastly_tls_subscription_validation
|
|
|
|
from terrascript.resource.fastly.fastly import fastly_user_v1
|
|
|
|
|
|
def test_datasource_import():
|
|
from terrascript.data.fastly.fastly import fastly_ip_ranges
|
|
|
|
from terrascript.data.fastly.fastly import fastly_tls_activation
|
|
|
|
from terrascript.data.fastly.fastly import fastly_tls_activation_ids
|
|
|
|
from terrascript.data.fastly.fastly import fastly_tls_certificate
|
|
|
|
from terrascript.data.fastly.fastly import fastly_tls_certificate_ids
|
|
|
|
from terrascript.data.fastly.fastly import fastly_tls_configuration
|
|
|
|
from terrascript.data.fastly.fastly import fastly_tls_configuration_ids
|
|
|
|
from terrascript.data.fastly.fastly import fastly_tls_domain
|
|
|
|
from terrascript.data.fastly.fastly import fastly_tls_platform_certificate
|
|
|
|
from terrascript.data.fastly.fastly import fastly_tls_platform_certificate_ids
|
|
|
|
from terrascript.data.fastly.fastly import fastly_tls_private_key
|
|
|
|
from terrascript.data.fastly.fastly import fastly_tls_private_key_ids
|
|
|
|
from terrascript.data.fastly.fastly import fastly_tls_subscription
|
|
|
|
from terrascript.data.fastly.fastly import fastly_tls_subscription_ids
|
|
|
|
from terrascript.data.fastly.fastly import fastly_waf_rules
|
|
|
|
|
|
# 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.fastly.fastly
|
|
#
|
|
# t = terrascript.provider.fastly.fastly.fastly()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/fastly/terraform-provider-fastly' in s
|
|
# assert '0.35.0' in s
|