/terraform-alicloud-ecp

Terraform Module for creating Elastic Compute Phone on Alibaba Cloud.

Primary LanguageHCLMIT LicenseMIT

Terraform module which creates and manages cloud phone instances and configures keys with ECP on Alibaba Cloud

terraform-alicloud-ecp

English | 简体中文

This module is used to create and manage cloud phone instances and configures keys with ECP on Alibaba Cloud.

These types of resources are supported:

Usage

module "example" {
  source            = "terraform-alicloud-modules/ecp/alicloud"
  #alicloud_ecp_key_pair
  create_key_pair   = true
  key_pair_name     = "tf-test-ecp"
  public_key_body   = "ssh-rsa AAAAB3Nza12345678qwertyuudsfsg"
  #alicloud_ecp_instance
  create_instance   = true
  instance_name     = "tf-test-ecp"
  description       = "tf-test-ecp"
  instance_type     = "ecp.ce.large"
  image_id          = "your-image-id"
  security_group_id = "sg-abc12345"
  vswitch_id        = "vsw-abc12345"
  vnc_password      = "Cp1234"
}

Examples

Notes

  • This module using AccessKey and SecretKey are from profile and shared_credentials_file. If you have not set them yet, please install aliyun-cli and configure it.

Requirements

Name Version
terraform > = 0.13
alicloud > = 1.58.0

Providers

Name Version
alicloud > = 1.58.0

Submit Issues

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.

Authors

Created and maintained by Alibaba Cloud Terraform Team(terraform@alibabacloud.com).

License

MIT Licensed. See LICENSE for full details.

Reference