Alibaba Cloud Tongyi Qwen and LangChain Conversation Service Terraform Module
English | 简体中文
Terraform module which creates a complete conversation service infrastructure with Tongyi Qwen and LangChain on Alibaba Cloud. This module implements the solution for Building a conversation service with Qwen and LangChain, which involves the creation and deployment of resources such as PAI-EAS, Virtual Private Cloud (VPC), VSwitch, and File Storage NAS.
This module creates a comprehensive AI conversation service infrastructure including PAI-EAS service, networking components, and file storage. You can use this module to quickly deploy a production-ready conversation service based on Tongyi Qwen and LangChain.
module "tongyi_langchain" {
source = "alibabacloud-automation/tongyi-langchain/alicloud"
vswitch_config = {
zone_id = "cn-hangzhou-f"
cidr_block = "192.168.0.0/24"
}
nas_file_system_config = {
zone_id = "cn-hangzhou-f"
}
}| Name | Version |
|---|---|
| terraform | >= 1.0 |
| Name | Version |
|---|---|
| alicloud | n/a |
No modules.
| Name | Type |
|---|---|
| alicloud_nas_access_group.nas_access_group | resource |
| alicloud_nas_access_rule.nas_access_rule | resource |
| alicloud_nas_file_system.nas_file_system | resource |
| alicloud_nas_mount_target.nas_mount_target | resource |
| alicloud_pai_service.pai_eas | resource |
| alicloud_security_group.security_group | resource |
| alicloud_security_group_rule.security_group_rules | resource |
| alicloud_vpc.vpc | resource |
| alicloud_vswitch.vswitch | resource |
| alicloud_regions.current | data source |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| common_name_prefix | Common name prefix for all resources | string |
"tongyi-langchain" |
no |
| nas_access_group_config | Configuration for NAS Access Group. | object({ |
{} |
no |
| nas_access_rule_config | Configuration for NAS Access Rule. | object({ |
{} |
no |
| nas_file_system_config | Configuration for NAS File System. The attribute 'zone_id' is required. | object({ |
n/a | yes |
| nas_mount_target_config | Configuration for NAS Mount Target. | object({ |
{} |
no |
| pai_service_config | Configuration for PAI-EAS service. | object({ |
{} |
no |
| security_group_config | Configuration for Security Group. | object({ |
{} |
no |
| security_group_rules | Map of security group rules configuration. | map(object({ |
{ |
no |
| vpc_config | Configuration for VPC. The attribute 'cidr_block' is required. | object({ |
{ |
no |
| vswitch_config | Configuration for VSwitch. The attributes 'zone_id' and 'cidr_block' are required. | object({ |
n/a | yes |
| Name | Description |
|---|---|
| create_time | The creation time of the PAI-EAS service |
| nas_file_system_id | The ID of the NAS file system |
| nas_mount_target_domain | The domain name of the NAS mount target |
| pai_service_id | The ID of the PAI-EAS service |
| region_id | The ID of the deployment region |
| security_group_id | The ID of the security group |
| service_name | The name of the PAI-EAS service |
| service_status | The status of the PAI-EAS service |
| vpc_id | The ID of the VPC |
| vswitch_id | The ID of the VSwitch |
If you have any problems when using this module, please opening a provider issue and let us know.
Note: There does not recommend opening an issue on this repo.
Created and maintained by Alibaba Cloud Terraform Team(terraform@alibabacloud.com).
MIT Licensed. See LICENSE for full details.