Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 = "Guangzhou"
real_server_region = "Beijing"
access_region = "Thailand"
real_server_region = "Jakarta"
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 = "Beijing"
real_server_region = "Jakarta"
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 = "Beijing"
real_server_region = "Jakarta"
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 = "Guangzhou"
realserver_region = "Beijing"
access_region = "Thailand"
realserver_region = "Jakarta"
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", "Guangzhou"),
resource.TestCheckResourceAttr("tencentcloud_gaap_proxy.foo", "realserver_region", "Beijing"),
resource.TestCheckResourceAttr("tencentcloud_gaap_proxy.foo", "access_region", "Thailand"),
resource.TestCheckResourceAttr("tencentcloud_gaap_proxy.foo", "realserver_region", "Jakarta"),
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", "Guangzhou"),
resource.TestCheckResourceAttr("tencentcloud_gaap_proxy.foo", "realserver_region", "Beijing"),
resource.TestCheckResourceAttr("tencentcloud_gaap_proxy.foo", "access_region", "Thailand"),
resource.TestCheckResourceAttr("tencentcloud_gaap_proxy.foo", "realserver_region", "Jakarta"),
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 = "Guangzhou"
realserver_region = "Beijing"
access_region = "Thailand"
realserver_region = "Jakarta"
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 = "Guangzhou"
realserver_region = "Beijing"
access_region = "Thailand"
realserver_region = "Jakarta"
}
`

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

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

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

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

tags = {
Expand Down