Skip to content

Commit

Permalink
Add tf-test prefix to test names (#6330) (#4549)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Aug 2, 2022
1 parent bf6c979 commit 7b8e255
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .changelog/6330.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ resource "google_compute_external_vpn_gateway" "external_gateway" {
}
resource "google_compute_network" "network" {
name = "network%{random_suffix}"
name = "tf-test-network-1%{random_suffix}"
routing_mode = "GLOBAL"
auto_create_subnetworks = false
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ resource "google_compute_interconnect_attachment" "on_prem" {
}
resource "google_compute_router" "foobar" {
name = "router%{random_suffix}"
name = "tf-test-router-1%{random_suffix}"
network = google_compute_network.foobar.name
bgp {
asn = 16550
}
}
resource "google_compute_network" "foobar" {
name = "network%{random_suffix}"
name = "tf-test-network-1%{random_suffix}"
auto_create_subnetworks = false
}
`, context)
Expand Down
4 changes: 2 additions & 2 deletions google-beta/resource_compute_vpn_gateway_generated_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ func TestAccComputeVpnGateway_targetVpnGatewayBasicExample(t *testing.T) {
func testAccComputeVpnGateway_targetVpnGatewayBasicExample(context map[string]interface{}) string {
return Nprintf(`
resource "google_compute_vpn_gateway" "target_gateway" {
name = "vpn1%{random_suffix}"
name = "tf-test-vpn-1%{random_suffix}"
network = google_compute_network.network1.id
}
resource "google_compute_network" "network1" {
name = "network1%{random_suffix}"
name = "tf-test-network-1%{random_suffix}"
}
resource "google_compute_address" "vpn_static_ip" {
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/compute_external_vpn_gateway.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ resource "google_compute_external_vpn_gateway" "external_gateway" {
}
resource "google_compute_network" "network" {
name = "network"
name = "network-1"
routing_mode = "GLOBAL"
auto_create_subnetworks = false
}
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/compute_interconnect_attachment.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ resource "google_compute_interconnect_attachment" "on_prem" {
}
resource "google_compute_router" "foobar" {
name = "router"
name = "router-1"
network = google_compute_network.foobar.name
bgp {
asn = 16550
}
}
resource "google_compute_network" "foobar" {
name = "network"
name = "network-1"
auto_create_subnetworks = false
}
```
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/compute_vpn_gateway.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ see the [Classic VPN partial deprecation page](https://cloud.google.com/network-

```hcl
resource "google_compute_vpn_gateway" "target_gateway" {
name = "vpn1"
name = "vpn-1"
network = google_compute_network.network1.id
}
resource "google_compute_network" "network1" {
name = "network1"
name = "network-1"
}
resource "google_compute_address" "vpn_static_ip" {
Expand Down

0 comments on commit 7b8e255

Please sign in to comment.