189 lines
6.7 KiB
Python
189 lines
6.7 KiB
Python
# tests/test_provider_NaverCloudPlatform_ncloud.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:22:04 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.NaverCloudPlatform.ncloud
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import (
|
|
ncloud_access_control_group,
|
|
)
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import (
|
|
ncloud_access_control_group_rule,
|
|
)
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import ncloud_auto_scaling_group
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import (
|
|
ncloud_auto_scaling_policy,
|
|
)
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import (
|
|
ncloud_auto_scaling_schedule,
|
|
)
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import ncloud_block_storage
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import (
|
|
ncloud_block_storage_snapshot,
|
|
)
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import ncloud_init_script
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import (
|
|
ncloud_launch_configuration,
|
|
)
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import ncloud_lb
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import ncloud_lb_listener
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import ncloud_lb_target_group
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import (
|
|
ncloud_lb_target_group_attachment,
|
|
)
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import ncloud_load_balancer
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import (
|
|
ncloud_load_balancer_ssl_certificate,
|
|
)
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import ncloud_login_key
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import ncloud_nas_volume
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import ncloud_nat_gateway
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import ncloud_network_acl
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import ncloud_network_acl_rule
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import ncloud_network_interface
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import ncloud_placement_group
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import (
|
|
ncloud_port_forwarding_rule,
|
|
)
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import ncloud_public_ip
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import ncloud_route
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import ncloud_route_table
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import (
|
|
ncloud_route_table_association,
|
|
)
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import ncloud_server
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import ncloud_subnet
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import ncloud_vpc
|
|
|
|
from terrascript.resource.NaverCloudPlatform.ncloud import ncloud_vpc_peering
|
|
|
|
|
|
def test_datasource_import():
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_access_control_group
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_access_control_groups
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_access_control_rule
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_access_control_rules
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_auto_scaling_group
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_auto_scaling_policy
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_auto_scaling_schedule
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_block_storage
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_block_storage_snapshot
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_init_script
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_launch_configuration
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_lb
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_lb_listener
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_lb_target_group
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_member_server_image
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_member_server_images
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_nas_volume
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_nas_volumes
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_nat_gateway
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_network_acls
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_network_interface
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_network_interfaces
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_placement_group
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_port_forwarding_rule
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_port_forwarding_rules
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_public_ip
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_regions
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_root_password
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_route_table
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_route_tables
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_server
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_server_image
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_server_images
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_server_product
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_server_products
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_subnet
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_subnets
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_vpc
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_vpc_peering
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_vpcs
|
|
|
|
from terrascript.data.NaverCloudPlatform.ncloud import ncloud_zones
|
|
|
|
|
|
# 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.NaverCloudPlatform.ncloud
|
|
#
|
|
# t = terrascript.provider.NaverCloudPlatform.ncloud.ncloud()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/NaverCloudPlatform/terraform-provider-ncloud' in s
|
|
# assert '2.1.2' in s
|