Skip to content

Commit f74fb14

Browse files
committed
change order of fields to pass tflint
1 parent 5e67abe commit f74fb14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/services/conditionalaccess/named_location_resource_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,13 +251,13 @@ func (NamedLocationResource) completeCountry(data acceptance.TestData) string {
251251
resource "azuread_named_location" "test" {
252252
display_name = "acctestNLC-%[1]d"
253253
country {
254+
country_lookup_method = "clientIpAddress"
254255
countries_and_regions = [
255256
"GB",
256257
"US",
257258
"JP",
258259
]
259260
include_unknown_countries_and_regions = true
260-
country_lookup_method = "clientIpAddress"
261261
}
262262
}
263263
`, data.RandomInteger)
@@ -268,13 +268,13 @@ func (NamedLocationResource) completeCountryByGps(data acceptance.TestData) stri
268268
resource "azuread_named_location" "test" {
269269
display_name = "acctestNLC-%[1]d"
270270
country {
271+
country_lookup_method = "authenticatorAppGps"
271272
countries_and_regions = [
272273
"GB",
273274
"US",
274275
"JP",
275276
]
276277
include_unknown_countries_and_regions = true
277-
country_lookup_method = "authenticatorAppGps"
278278
}
279279
}
280280
`, data.RandomInteger)

0 commit comments

Comments
 (0)