Terraform Module for creating Cloud Firewall resources on Alibaba Cloud.
English | 简体中文
Terraform module which creating Cloud Firewall instance and access control on Alibaba Cloud
These types of resources are supported:
module "example" {
source = "terraform-alicloud-modules/terraform-alicloud-cloud-firewall/alicloud"
create_cloud_firewall_instance = false
create_cloud_firewall_policies = true
policies = [
{
application_name = "ANY"
acl_action = "accept"
description = "policy_test_1"
destination_type = "net"
destination = "192.1.1.0/24"
direction = "out"
proto = "ANY"
source = "114.2.3.0/24"
source_type = "net"
},
{
application_name = "HTTP"
acl_action = "drop"
description = "policy_test_2"
destination_type = "net"
dest_port_type = "port"
dest_port = "22/22"
destination = "100.1.1.0/24"
direction = "in"
proto = "TCP"
source = "[\"BJ11\"]"
source_type = "location"
}
]
}
- 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.0 |
alicloud | > = 1.139.0 |
Name | Version |
---|---|
alicloud | > = 1.139.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.