Skip to content

Commit ef330b9

Browse files
Fix TestAccDataSourceGoogleMonitoringUptimeCheckIps_basic (#3323) (#1916)
Signed-off-by: Modular Magician <[email protected]>
1 parent 2ab2cbd commit ef330b9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.changelog/3323.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google-beta/data_source_google_monitoring_uptime_check_ips_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func TestAccDataSourceGoogleMonitoringUptimeCheckIps_basic(t *testing.T) {
1818
resource.TestMatchResourceAttr("data.google_monitoring_uptime_check_ips.foobar",
1919
"uptime_check_ips.0.ip_address", regexp.MustCompile("^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$")),
2020
resource.TestMatchResourceAttr("data.google_monitoring_uptime_check_ips.foobar",
21-
"uptime_check_ips.0.location", regexp.MustCompile("^[A-Z][a-z-]+$")),
21+
"uptime_check_ips.0.location", regexp.MustCompile("^[A-Z].+$")),
2222
resource.TestMatchResourceAttr("data.google_monitoring_uptime_check_ips.foobar",
2323
"uptime_check_ips.0.region", regexp.MustCompile("^[A-Z_]+$")),
2424
),

0 commit comments

Comments
 (0)