Fix basic ForwardingRule example (#3613)

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2019-05-17 10:14:22 -07:00 committed by Riley Karson
parent 1c1e73e765
commit 74ea030666
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ func TestAccComputeForwardingRule_forwardingRuleBasicExample(t *testing.T) {
func testAccComputeForwardingRule_forwardingRuleBasicExample(context map[string]interface{}) string {
return Nprintf(`
resource "google_compute_forwarding_rule" "default" {
name = ""
name = "website-forwarding-rule-%{random_suffix}"
target = "${google_compute_target_pool.default.self_link}"
port_range = "80"
}

View File

@ -42,7 +42,7 @@ To get more information about ForwardingRule, see:
```hcl
resource "google_compute_forwarding_rule" "default" {
name = ""
name = "website-forwarding-rule"
target = "${google_compute_target_pool.default.self_link}"
port_range = "80"
}