Terraform可以创建、修改、删除ECS、VPC、RDS、SLB等多种阿里云云产品资源。说明 有关Terraform应用场景的具体介绍,请参见 应用场景。Terraform资源 Terraform的资源分为2类:Resource:资源,指新创建的资源。Data Source:数据资源,...
Terraform可以创建、修改、删除ECS、VPC、RDS、SLB等多种阿里云云产品资源。说明 有关Terraform应用场景的具体介绍,请参见 应用场景。Terraform资源 Terraform的资源分为2类:Resource:资源,指新创建的资源。Data Source:数据资源,...
example"} resource"alicloud_vpc""default"{ vpc_name=var.name cidr_block="10.4.0.0/16"} resource"alicloud_cddc_dedicated_host_group""default"{ engine="MySQL"vpc_id=alicloud_vpc.default.id cpu_allocation_ratio=101 mem_...
Provides a DNS Record resource.->DEPRECATED:This resource has been deprecated from version 1.85.0.Please use new resource alicloud_alidns_record.->NOTE:When the site is an international site,the type neither supports ...
以创建一个 SAE 应用为例,示例代码如下:resource"alicloud_sae_application""default"{ app_description="tf-testaccDescription"app_name="tf-testaccAppName"namespace_id=alicloud_sae_namespace.default.id image_url="registry-vpc....
This data source provides the Eci Virtual Nodes of the current Alibaba Cloud user.->NOTE:Available in v1.145.0+.Example Usage Basic Usage data"alicloud_eci_virtual_nodes""ids"{ ids=["example_value-1","example_value-2"]} ...
vpc.default.id zone_id=data.alicloud_zones.default.zones.0.id } resource"alicloud_security_group""default"{ name=var.name vpc_id=alicloud_vpc.default.id } resource"alicloud_instance""default"{ availability_zone=data....
Provides an RDS instance resource.A DB instance is an isolated database environment in the cloud.A DB instance can contain ...RDS PostgreSQL Instance variable"name"{ default="tf-accdbinstance"} provider"alicloud"{ region=...
This data source provides availability zones for RDS that can be accessed by an Alibaba Cloud account within the region configured in the provider.->NOTE:Available in v1.73.0+.Example Usage#Declare the data source data...
Provides an RDS connection resource to allocate an Internet connection string for RDS instance,see What is DB Connection.->NOTE:Each RDS instance will allocate a intranet connnection string automatically and its prifix is ...
Provides an RDS account privilege resource and used to grant several database some access privilege.A database can be granted by multiple account,see What is DB Account Privilege.->NOTE:At present,a database can only have ...
Provides an RDS database resource.A DB database deployed in a DB instance.A DB instance can own multiple databases,see What is DB Database.->NOTE:Available since v1.5.0.Example Usage variable"name"{ default="tf-example"} ...
Provides a DMS Enterprise Instance resource.->NOTE:API users must first register in DMS.->NOTE:Available since v1.81.0.Example Usage variable"name"{ default="tf-example"} data"alicloud_account""current"{} data"alicloud_...
Provides an RDS readonly instance resource,see What is DB Readonly Instance.->NOTE:Available since v1.52.1.Example Usage variable"name"{ default="tf-example"} data"alicloud_db_zones""example"{ engine="MySQL"engine_version=...
Provides an RDS instance backup policy resource and used to configure instance backup policy,see What is DB Backup Policy.->NOTE:Each DB instance has a backup policy and it will be set default values when destroying the ...
see Manage network routes.->NOTE:Available since v1.20.0.Example Usage Basic Usage data"alicloud_regions""default"{ current=true } data"alicloud_zones""example"{ available_resource_creation="Instance"} data"alicloud_...
This operation is provided to scale out an EDAS application,see What is EDAS Application Scale.->NOTE:Available since v1.82.0.Example Usage Basic Usage variable"name"{ default="tf-example"} data"alicloud_regions""default"{...
resource_manager_account.account.id}"]product_code="quotas"expire_time="2023-12-26T16:00:00Z"} Deleting alicloud_quotas_template_applications or removing it from your configuration Terraform cannot destroy resource ...
Provides an Alicloud Function Compute Trigger resource.Based on trigger,execute your code in response to events in Alibaba Cloud.For information about Service and how to use it,see What is Function Compute.->NOTE:The ...
group""defaultuBsECI"{ provider="alicloud.beijing"vpc_id=alicloud_vpc.defaultVpc.id } resource"alicloud_instance""default9KDlN7"{ provider="alicloud.beijing"image_id=data.alicloud_images.default.images[0].id instance_type=...
id=alicloud_security_group.default.id vpc_id=alicloud_vpc.default[2].id vpc_region_id=data.alicloud_regions.default.regions.0.id ip_configs { zone_id=alicloud_vswitch.default[0].zone_id cidr_block=alicloud_vswitch.default...
Binds SLB to an EDAS application.->NOTE:Available since v1.82.0.Example Usage Basic Usage variable"name"{ default="tf-example"} data"alicloud_regions""default"{ current=true } data"alicloud_zones""default"{ available_...
Provides a CEN child instance grant resource,which allow you to authorize a VPC or VBR to a CEN of a different account.For more information about how to use it,see Attach a network in a different account.->NOTE:Available ......
DEPRECATED:This resource has been renamed to alicloud_ecs_network_interface_attachment from version 1.123.1.Provides an Alicloud ECS Elastic Network Interface Attachment as a resource to attach ENI to or detach ENI from ...
Deploys applications on EDAS,see What is EDAS Application Deployment.->NOTE:Available since v1.82.0.Example Usage Basic Usage variable"name"{ default="tf-example"} data"alicloud_regions""default"{ current=true } data...
id=alicloud_ga_basic_accelerator.default.id ip_set_id=alicloud_ga_basic_ip_set.default.id } resource"alicloud_ga_basic_endpoint_group""default"{ accelerator_id=alicloud_ga_basic_accelerator.default.id endpoint_group_region...
integer""default"{ min=10000 max=99999 } data"alicloud_pvtz_resolver_zones""default"{ status="NORMAL"} data"alicloud_regions""default"{ current=true } resource"alicloud_vpc""default"{ vpc_name=var.name cidr_block="172.16.0...
example"cidr_block="172.17.3.0/24"} resource"alicloud_vswitch""default"{ provider=alicloud.hz vswitch_name="terraform-example"cidr_block="172.17.3.0/24"vpc_id=alicloud_vpc.default.id zone_id=data.alicloud_zones.default....
64 5.0.3-2.module_el8.2.0+318+3d7e67ea AppStream 925 k alicloud-ecs:Enabling module streams:alicloud-ecs:redis 5 alicloud-ecs:alicloud-ecs:Transaction Summary alicloud-ecs:=alicloud-ecs:Install 1 Package alicloud-ecs:...
api_gateway_vpc_access to build vpc.Example Usage Basic Usage data"alicloud_zones""example"{ available_resource_creation="Instance"} data"alicloud_instance_types""example"{ availability_zone=data.alicloud_zones.example....
example"} data"alicloud_zones""default"{ available_resource_creation="Instance"} data"alicloud_instance_types""default"{ availability_zone=data.alicloud_zones.default.zones.0.id eni_amount=3 } resource"alicloud_vpc"...
DEPRECATED:This resource has been deprecated from v1.153.0 and using alicloud_backend_server instead.Add a group of backend servers(ECS instance)to the Server Load Balancer or remove them from it.->NOTE:Deprecated since v1...
NOTE:Available since v1.156.0.Example Usage Basic Usage variable"name"{ default="tf-example"} provider"alicloud"{ region=...alicloud_images" "example" { instance_type = data.alicloud_instance_types.example.instance_types[length...
DEPRECATED:This resource has been renamed to alicloud_ecs_key_pair_attachment from version 1.121.0.Provides a key pair attachment resource to bind key pair for several ECS instances.->NOTE:After the key pair is attached ...
Provides an EDAS instance cluster attachment resource,see What is EDAS Instance Cluster Attachment.->NOTE:Available since v1.82.0.Example Usage Basic Usage variable"name"{ default="tf-example"} data"alicloud_regions"...
ga_basic_endpoint""default"{ provider=alicloud.hz accelerator_id=alicloud_ga_basic_accelerator.default.id endpoint_group_id=alicloud_ga_basic_endpoint_group.default.id endpoint_type="ENI"endpoint_address=alicloud_ecs_...
Provides a DBFS Snapshot resource.For information about DBFS Snapshot and how to use it.->NOTE:Available since v1.156.0.Example Usage Basic Usage variable"name"{ default="tf-example"} provider"alicloud"{ region=...
id=alicloud_vpc.default.id } resource"alicloud_instance""default"{ availability_zone=data.alicloud_zones.default.zones.0.id instance_name="terraform-example"security_groups=[alicloud_security_group.default.id]vswitch_id=...
Provides a RAM role attachment resource to bind role for several ECS instances.->NOTE:Available since v1.0.0+.Example Usage data"alicloud_zones""default"{ available_disk_category="cloud_efficiency"available_resource_...
Provides vpcs bound to Alicloud Private Zone resource.->NOTE:Available since v1.13.0+.->NOTE:Terraform will auto bind vpc to a Private Zone while it uses alicloud_pvtz_zone_attachment to build a Private Zone and VPC ...