@@ -45,7 +45,7 @@ func TestAccDataSourceTencentCloudGaapSecurityRules_multi(t *testing.T) {
4545 resource .TestCheckResourceAttrSet ("data.tencentcloud_gaap_security_rules.ruleId" , "rules.0.id" ),
4646 resource .TestCheckResourceAttr ("data.tencentcloud_gaap_security_rules.ruleId" , "rules.0.cidr_ip" , "1.1.1.1" ),
4747 resource .TestCheckResourceAttr ("data.tencentcloud_gaap_security_rules.ruleId" , "rules.0.name" , "ci-test-gaap-s-rule" ),
48- resource .TestCheckResourceAttr ("data.tencentcloud_gaap_security_rules.ruleId" , "rules.0.port" , "80 " ),
48+ resource .TestCheckResourceAttr ("data.tencentcloud_gaap_security_rules.ruleId" , "rules.0.port" , "8120 " ),
4949 resource .TestCheckResourceAttr ("data.tencentcloud_gaap_security_rules.ruleId" , "rules.0.protocol" , "TCP" ),
5050 resource .TestCheckResourceAttr ("data.tencentcloud_gaap_security_rules.ruleId" , "rules.0.action" , "ACCEPT" ),
5151 ),
@@ -97,7 +97,7 @@ func TestAccDataSourceTencentCloudGaapSecurityRules_multi(t *testing.T) {
9797 resource .TestCheckResourceAttrSet ("data.tencentcloud_gaap_security_rules.port" , "rules.0.id" ),
9898 resource .TestCheckResourceAttrSet ("data.tencentcloud_gaap_security_rules.port" , "rules.0.cidr_ip" ),
9999 resource .TestCheckResourceAttrSet ("data.tencentcloud_gaap_security_rules.port" , "rules.0.name" ),
100- resource .TestCheckResourceAttr ("data.tencentcloud_gaap_security_rules.port" , "rules.0.port" , "80 " ),
100+ resource .TestCheckResourceAttr ("data.tencentcloud_gaap_security_rules.port" , "rules.0.port" , "8120 " ),
101101 resource .TestCheckResourceAttrSet ("data.tencentcloud_gaap_security_rules.port" , "rules.0.protocol" ),
102102 resource .TestCheckResourceAttrSet ("data.tencentcloud_gaap_security_rules.port" , "rules.0.action" ),
103103 ),
@@ -143,7 +143,7 @@ resource tencentcloud_gaap_security_rule "foo" {
143143 cidr_ip = "1.1.1.1"
144144 action = "ACCEPT"
145145 protocol = "TCP"
146- port = "80 "
146+ port = "8120 "
147147}
148148
149149data tencentcloud_gaap_security_rules "ruleId" {
@@ -159,7 +159,7 @@ resource tencentcloud_gaap_security_rule "foo" {
159159 cidr_ip = "1.1.1.1"
160160 action = "ACCEPT"
161161 protocol = "TCP"
162- port = "80 "
162+ port = "8120 "
163163}
164164
165165data tencentcloud_gaap_security_rules "action" {
@@ -175,7 +175,7 @@ resource tencentcloud_gaap_security_rule "foo" {
175175 cidr_ip = "1.1.1.1"
176176 action = "ACCEPT"
177177 protocol = "TCP"
178- port = "80 "
178+ port = "8120 "
179179}
180180
181181data tencentcloud_gaap_security_rules "cidrIp" {
@@ -192,7 +192,7 @@ resource tencentcloud_gaap_security_rule "foo" {
192192 cidr_ip = "1.1.1.1"
193193 action = "ACCEPT"
194194 protocol = "TCP"
195- port = "80 "
195+ port = "8120 "
196196}
197197
198198data tencentcloud_gaap_security_rules "name" {
@@ -209,7 +209,7 @@ resource tencentcloud_gaap_security_rule "foo" {
209209 cidr_ip = "1.1.1.1"
210210 action = "ACCEPT"
211211 protocol = "TCP"
212- port = "80 "
212+ port = "8120 "
213213}
214214
215215data tencentcloud_gaap_security_rules "port" {
@@ -226,7 +226,7 @@ resource tencentcloud_gaap_security_rule "foo" {
226226 cidr_ip = "1.1.1.1"
227227 action = "ACCEPT"
228228 protocol = "TCP"
229- port = "80 "
229+ port = "8120 "
230230}
231231
232232data tencentcloud_gaap_security_rules "protocol" {
0 commit comments