Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ func TestAccTencentCloudGaapCheckProxyCreateDataSource_basic(t *testing.T) {

const testAccGaapCheckProxyCreateDataSource = `
data "tencentcloud_gaap_check_proxy_create" "check_proxy_create" {
access_region = "Thailand"
real_server_region = "Jakarta"
access_region = "Beijing"
real_server_region = "Guangzhou"
bandwidth = 10
concurrent = 2
ip_address_version = "IPv4"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const testAccGaapProxyGroup = `
resource "tencentcloud_gaap_proxy_group" "proxy_group" {
project_id = 0
group_name = "tf-test"
real_server_region = "Jakarta"
real_server_region = "Guangzhou"
ip_address_version = "IPv4"
package_type = "Thunder"
}
Expand All @@ -55,7 +55,7 @@ const testAccGaapProxyGroupUpdate = `
resource "tencentcloud_gaap_proxy_group" "proxy_group" {
project_id = 0
group_name = "tf-test-update"
real_server_region = "Jakarta"
real_server_region = "Guangzhou"
ip_address_version = "IPv4"
package_type = "Thunder"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ resource tencentcloud_gaap_proxy "foo" {
name = "ci-test-gaap-proxy"
bandwidth = 10
concurrent = 2
access_region = "Thailand"
realserver_region = "Jakarta"
access_region = "Beijing"
realserver_region = "Guangzhou"
network_type = "normal"
}
`
36 changes: 18 additions & 18 deletions tencentcloud/services/gaap/resource_tc_gaap_proxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ func TestAccTencentCloudGaapProxyResource_basic(t *testing.T) {
resource.TestCheckResourceAttr("tencentcloud_gaap_proxy.foo", "bandwidth", "10"),
resource.TestCheckResourceAttr("tencentcloud_gaap_proxy.foo", "concurrent", "2"),
resource.TestCheckResourceAttr("tencentcloud_gaap_proxy.foo", "project_id", "0"),
resource.TestCheckResourceAttr("tencentcloud_gaap_proxy.foo", "access_region", "Thailand"),
resource.TestCheckResourceAttr("tencentcloud_gaap_proxy.foo", "realserver_region", "Jakarta"),
resource.TestCheckResourceAttr("tencentcloud_gaap_proxy.foo", "access_region", "Beijing"),
resource.TestCheckResourceAttr("tencentcloud_gaap_proxy.foo", "realserver_region", "Guangzhou"),
resource.TestCheckResourceAttr("tencentcloud_gaap_proxy.foo", "enable", "true"),
resource.TestCheckNoResourceAttr("tencentcloud_gaap_proxy.foo", "tags"),
resource.TestCheckResourceAttrSet("tencentcloud_gaap_proxy.foo", "create_time"),
Expand Down Expand Up @@ -69,8 +69,8 @@ func TestAccTencentCloudGaapProxyResource_update(t *testing.T) {
resource.TestCheckResourceAttr("tencentcloud_gaap_proxy.foo", "bandwidth", "10"),
resource.TestCheckResourceAttr("tencentcloud_gaap_proxy.foo", "concurrent", "2"),
resource.TestCheckResourceAttr("tencentcloud_gaap_proxy.foo", "project_id", "0"),
resource.TestCheckResourceAttr("tencentcloud_gaap_proxy.foo", "access_region", "Thailand"),
resource.TestCheckResourceAttr("tencentcloud_gaap_proxy.foo", "realserver_region", "Jakarta"),
resource.TestCheckResourceAttr("tencentcloud_gaap_proxy.foo", "access_region", "Beijing"),
resource.TestCheckResourceAttr("tencentcloud_gaap_proxy.foo", "realserver_region", "Guangzhou"),
resource.TestCheckResourceAttr("tencentcloud_gaap_proxy.foo", "enable", "true"),
resource.TestCheckNoResourceAttr("tencentcloud_gaap_proxy.foo", "tags"),
resource.TestCheckResourceAttrSet("tencentcloud_gaap_proxy.foo", "create_time"),
Expand Down Expand Up @@ -184,8 +184,8 @@ resource tencentcloud_gaap_proxy "foo" {
name = "ci-test-gaap-proxy"
bandwidth = 10
concurrent = 2
access_region = "Thailand"
realserver_region = "Jakarta"
access_region = "Beijing"
realserver_region = "Guangzhou"
network_type = "normal"
}
`
Expand All @@ -195,8 +195,8 @@ resource tencentcloud_gaap_proxy "foo" {
name = "ci-test-gaap-proxy-update"
bandwidth = 10
concurrent = 2
access_region = "Thailand"
realserver_region = "Jakarta"
access_region = "Beijing"
realserver_region = "Guangzhou"
}
`

Expand All @@ -205,8 +205,8 @@ resource tencentcloud_gaap_proxy "foo" {
name = "ci-test-gaap-proxy-new"
bandwidth = 10
concurrent = 2
access_region = "Thailand"
realserver_region = "Jakarta"
access_region = "Beijing"
realserver_region = "Guangzhou"
}
`

Expand All @@ -215,8 +215,8 @@ resource tencentcloud_gaap_proxy "foo" {
name = "ci-test-gaap-proxy-new"
bandwidth = 20
concurrent = 2
access_region = "Thailand"
realserver_region = "Jakarta"
access_region = "Beijing"
realserver_region = "Guangzhou"
}
`

Expand All @@ -225,8 +225,8 @@ resource tencentcloud_gaap_proxy "foo" {
name = "ci-test-gaap-proxy-new"
bandwidth = 20
concurrent = 10
access_region = "Thailand"
realserver_region = "Jakarta"
access_region = "Beijing"
realserver_region = "Guangzhou"
}
`

Expand All @@ -235,8 +235,8 @@ resource tencentcloud_gaap_proxy "foo" {
name = "ci-test-gaap-proxy-new"
bandwidth = 20
concurrent = 10
access_region = "Thailand"
realserver_region = "Jakarta"
access_region = "Beijing"
realserver_region = "Guangzhou"
enable = false

tags = {
Expand All @@ -250,8 +250,8 @@ resource tencentcloud_gaap_proxy "foo" {
name = "ci-test-gaap-proxy-new"
bandwidth = 20
concurrent = 10
access_region = "Thailand"
realserver_region = "Jakarta"
access_region = "Beijing"
realserver_region = "Guangzhou"
enable = false

tags = {
Expand Down
Loading