提交 13797984 编写于 作者: F freesky-edward

Add readme and 25 port support

上级 540ed7f5
# Useage
### Before running
- download terraform
```
https://releases.hashicorp.com/terraform/0.12.7/terraform_0.12.7_linux_amd64.zip
unzip terraform_0.12.7_linux_amd64.zip
```
- create the keypaire named it ```KeyPair-infra```
- modify the account information in provider.tf
- setting service authorization for CCE if you are first time use CCE service. please go to CCE page for more detailed information.
### Running the scripts
```
terraform init
terraform apply
```
### TODO
- Add Nat configuration for cluster
- Add ELB configuration for service
......@@ -40,6 +40,14 @@ module "security_group" {
port_range_max = "80",
remote_ip_cidr = "0.0.0.0/0"
},
{
direction = "ingress",
ethertype = "IPv4",
protocol = "tcp",
port_range_min = "25",
port_range_max = "25",
remote_ip_cidr = "0.0.0.0/0"
}
]
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册