Terraform module which creates Cloud Config resources on Alibaba Cloud.
English | 简体中文
This module is used to create Cloud Config resources on Alibaba Cloud.
These types of resources are supported:
module "example" {
source = "terraform-alicloud-modules/cloud-config/alicloud"
#alicloud_config_rule
create_rule = true
rule_name = "tf_test_config_rule"
source_identifier = "ecs-instances-in-vpc"
source_owner = "ALIYUN"
resource_types_scope = ["ACS::ECS::Instance"]
rule_description = "tf_test_config_rule"
input_parameters = {"vpcIds":"vpc-uf6gksw4ctjd******"}
rule_risk_level = 3
config_rule_trigger_types = "ConfigurationItemChangeNotification"
maximum_execution_frequency = "One_Hour"
exclude_resource_ids_scope = "i-test"
region_ids_scope = "cn-shanghai"
resource_group_ids_scope = "rg-test"
tag_key_scope = "tag-key-test"
tag_value_scope = "tag-value-test"
#alicloud_config_compliance_pack
create_compliance_pack = true
compliance_pack_name = "tf_test_config_compliance_pack"
compliance_pack_description = "tf_test_config_compliance_pack"
compliance_pack_risk_level = 3
config_rule_ids = [{ config_rule_id : "cr-abc12345"},{config_rule_id : "cr-abc54321"}]
}
- This module using AccessKey and SecretKey are from
profile
andshared_credentials_file
. If you have not set them yet, please install aliyun-cli and configure it.
Name | Version |
---|---|
terraform | > = 0.13 |
alicloud | > = 1.146.0 |
Name | Version |
---|---|
alicloud | > = 1.146.0 |
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([email protected]).
MIT Licensed. See LICENSE for full details.