Skip to content

Commit 31fb2e5

Browse files
authored
test(acceptance): replace deprecated probes for sm-check tests (#1985)
* test(acceptance): replace Atlanta with Ohio probe * test: fix template * test(acceptance): replace Amsterdam with Frankfurt probe * test(acceptance): replace Bangalore with Mumbai probe
1 parent 02d0994 commit 31fb2e5

File tree

16 files changed

+28
-28
lines changed

16 files changed

+28
-28
lines changed

docs/data-sources/synthetic_monitoring_probe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Data source for retrieving a single probe by name.
1313
## Example Usage
1414

1515
```terraform
16-
data "grafana_synthetic_monitoring_probe" "atlanta" {
17-
name = "Atlanta"
16+
data "grafana_synthetic_monitoring_probe" "Ohio" {
17+
name = "Ohio"
1818
}
1919
```
2020

docs/resources/synthetic_monitoring_check.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ resource "grafana_synthetic_monitoring_check" "dns" {
3333
target = "grafana.com"
3434
enabled = false
3535
probes = [
36-
data.grafana_synthetic_monitoring_probes.main.probes.Atlanta,
36+
data.grafana_synthetic_monitoring_probes.main.probes.Ohio,
3737
]
3838
labels = {
3939
foo = "bar"
@@ -110,7 +110,7 @@ resource "grafana_synthetic_monitoring_check" "http" {
110110
target = "https://grafana.com"
111111
enabled = false
112112
probes = [
113-
data.grafana_synthetic_monitoring_probes.main.probes.Atlanta,
113+
data.grafana_synthetic_monitoring_probes.main.probes.Ohio,
114114
]
115115
labels = {
116116
foo = "bar"
@@ -131,7 +131,7 @@ resource "grafana_synthetic_monitoring_check" "http" {
131131
target = "https://grafana.org"
132132
enabled = false
133133
probes = [
134-
data.grafana_synthetic_monitoring_probes.main.probes.Bangalore,
134+
data.grafana_synthetic_monitoring_probes.main.probes.Mumbai,
135135
data.grafana_synthetic_monitoring_probes.main.probes.Mumbai,
136136
]
137137
labels = {
@@ -231,7 +231,7 @@ resource "grafana_synthetic_monitoring_check" "ping" {
231231
target = "grafana.com"
232232
enabled = false
233233
probes = [
234-
data.grafana_synthetic_monitoring_probes.main.probes.Atlanta,
234+
data.grafana_synthetic_monitoring_probes.main.probes.Ohio,
235235
]
236236
labels = {
237237
foo = "bar"
@@ -278,7 +278,7 @@ resource "grafana_synthetic_monitoring_check" "tcp" {
278278
target = "grafana.com:80"
279279
enabled = false
280280
probes = [
281-
data.grafana_synthetic_monitoring_probes.main.probes.Atlanta,
281+
data.grafana_synthetic_monitoring_probes.main.probes.Ohio,
282282
]
283283
labels = {
284284
foo = "bar"
@@ -370,7 +370,7 @@ resource "grafana_synthetic_monitoring_check" "traceroute" {
370370
frequency = 120000
371371
timeout = 30000
372372
probes = [
373-
data.grafana_synthetic_monitoring_probes.main.probes.Atlanta,
373+
data.grafana_synthetic_monitoring_probes.main.probes.Ohio,
374374
]
375375
labels = {
376376
foo = "bar"
@@ -762,7 +762,7 @@ resource "grafana_synthetic_monitoring_check" "multihttp" {
762762
target = "https://www.grafana-dev.com"
763763
enabled = false
764764
probes = [
765-
data.grafana_synthetic_monitoring_probes.main.probes.Amsterdam,
765+
data.grafana_synthetic_monitoring_probes.main.probes.Frankfurt,
766766
]
767767
labels = {
768768
foo = "bar"
@@ -790,7 +790,7 @@ resource "grafana_synthetic_monitoring_check" "multihttp" {
790790
target = "https://www.an-auth-endpoint.com"
791791
enabled = false
792792
probes = [
793-
data.grafana_synthetic_monitoring_probes.main.probes.Amsterdam,
793+
data.grafana_synthetic_monitoring_probes.main.probes.Frankfurt,
794794
]
795795
labels = {
796796
foo = "bar"
@@ -928,7 +928,7 @@ resource "grafana_synthetic_monitoring_check" "grpc" {
928928
target = "host.docker.internal:50051"
929929
enabled = false
930930
probes = [
931-
data.grafana_synthetic_monitoring_probes.main.probes.Atlanta,
931+
data.grafana_synthetic_monitoring_probes.main.probes.Ohio,
932932
]
933933
labels = {
934934
foo = "bar"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
data "grafana_synthetic_monitoring_probe" "atlanta" {
2-
name = "Atlanta"
1+
data "grafana_synthetic_monitoring_probe" "Ohio" {
2+
name = "Ohio"
33
}

examples/resources/grafana_synthetic_monitoring_check/dns_basic.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ resource "grafana_synthetic_monitoring_check" "dns" {
55
target = "grafana.com"
66
enabled = false
77
probes = [
8-
data.grafana_synthetic_monitoring_probes.main.probes.Atlanta,
8+
data.grafana_synthetic_monitoring_probes.main.probes.Ohio,
99
]
1010
labels = {
1111
foo = "bar"

examples/resources/grafana_synthetic_monitoring_check/grpc_basic.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ resource "grafana_synthetic_monitoring_check" "grpc" {
55
target = "host.docker.internal:50051"
66
enabled = false
77
probes = [
8-
data.grafana_synthetic_monitoring_probes.main.probes.Atlanta,
8+
data.grafana_synthetic_monitoring_probes.main.probes.Ohio,
99
]
1010
labels = {
1111
foo = "bar"

examples/resources/grafana_synthetic_monitoring_check/http_basic.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ resource "grafana_synthetic_monitoring_check" "http" {
55
target = "https://grafana.com"
66
enabled = false
77
probes = [
8-
data.grafana_synthetic_monitoring_probes.main.probes.Atlanta,
8+
data.grafana_synthetic_monitoring_probes.main.probes.Ohio,
99
]
1010
labels = {
1111
foo = "bar"

examples/resources/grafana_synthetic_monitoring_check/http_complex.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ resource "grafana_synthetic_monitoring_check" "http" {
55
target = "https://grafana.org"
66
enabled = false
77
probes = [
8-
data.grafana_synthetic_monitoring_probes.main.probes.Bangalore,
8+
data.grafana_synthetic_monitoring_probes.main.probes.Mumbai,
99
data.grafana_synthetic_monitoring_probes.main.probes.Mumbai,
1010
]
1111
labels = {

examples/resources/grafana_synthetic_monitoring_check/multihttp_basic.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ resource "grafana_synthetic_monitoring_check" "multihttp" {
55
target = "https://www.grafana-dev.com"
66
enabled = false
77
probes = [
8-
data.grafana_synthetic_monitoring_probes.main.probes.Amsterdam,
8+
data.grafana_synthetic_monitoring_probes.main.probes.Frankfurt,
99
]
1010
labels = {
1111
foo = "bar"

examples/resources/grafana_synthetic_monitoring_check/multihttp_complex.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ resource "grafana_synthetic_monitoring_check" "multihttp" {
55
target = "https://www.an-auth-endpoint.com"
66
enabled = false
77
probes = [
8-
data.grafana_synthetic_monitoring_probes.main.probes.Amsterdam,
8+
data.grafana_synthetic_monitoring_probes.main.probes.Frankfurt,
99
]
1010
labels = {
1111
foo = "bar"

examples/resources/grafana_synthetic_monitoring_check/ping_basic.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ resource "grafana_synthetic_monitoring_check" "ping" {
55
target = "grafana.com"
66
enabled = false
77
probes = [
8-
data.grafana_synthetic_monitoring_probes.main.probes.Atlanta,
8+
data.grafana_synthetic_monitoring_probes.main.probes.Ohio,
99
]
1010
labels = {
1111
foo = "bar"

0 commit comments

Comments
 (0)