Alicloud ControlPolicy Terraform Module On Alibaba Cloud
English | 简体中文
This scheme is implemented automatically using terraform. Using terraform, a new control policy is created and bound under the resource folder specified by the user.
These types of resources are supported:
- alicloud_resource_manager_control_policy
- alicloud_resource_manager_resource_directory
- alicloud_resource_manager_control_policy_attachment
module "example" {
source = "terraform-alicloud-modules/control-policy/alicloud"
control_policy_name = "policy_name"
}- This module using AccessKey and SecretKey are from
profileandshared_credentials_file. If you have not set them yet, please install aliyun-cli and configure it.
| Name | Version |
|---|---|
| terraform | >= 0.13 |
| alicloud | >= 1.120.0 |
| Name | Version |
|---|---|
| alicloud | >= 1.120.0 |
No modules.
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| control_policy_name | Policy name | string |
"policy_name" |
no |
| description | Policy description | string |
"" |
no |
| effect_scope | Policy scope | string |
"RAM" |
no |
| policy_document | Policy configuration | map |
{ |
no |
| resource_manager_folder_ids | Bound resource folder ID group | list(string) |
[] |
no |
| Name | Description |
|---|---|
| this_control_policy_name | n/a |
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 Will([email protected])
MIT Licensed. See LICENSE for full details.