Skip to content

Commit

Permalink
Updating Timeout to reflect being an Int in the tests + docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tombuildsstuff committed Jul 26, 2017
1 parent 9879591 commit d253502
Show file tree
Hide file tree
Showing 16 changed files with 41 additions and 41 deletions.
8 changes: 4 additions & 4 deletions azurerm/resource_arm_dns_a_record_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ resource "azurerm_dns_a_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
records = ["1.2.3.4", "1.2.4.5"]
}
`, rInt, rInt, rInt)
Expand All @@ -184,7 +184,7 @@ resource "azurerm_dns_a_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
records = ["1.2.3.4", "1.2.4.5", "1.2.3.7"]
}
`, rInt, rInt, rInt)
Expand All @@ -206,7 +206,7 @@ resource "azurerm_dns_a_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
records = ["1.2.3.4", "1.2.4.5"]
tags {
Expand All @@ -233,7 +233,7 @@ resource "azurerm_dns_a_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
records = ["1.2.3.4", "1.2.4.5"]
tags {
Expand Down
8 changes: 4 additions & 4 deletions azurerm/resource_arm_dns_aaaa_record_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ resource "azurerm_dns_aaaa_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
records = ["2607:f8b0:4009:1803::1005", "2607:f8b0:4009:1803::1006"]
}
`, rInt, rInt, rInt)
Expand All @@ -184,7 +184,7 @@ resource "azurerm_dns_aaaa_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
records = ["2607:f8b0:4009:1803::1005", "2607:f8b0:4009:1803::1006", "::1"]
}
`, rInt, rInt, rInt)
Expand All @@ -206,7 +206,7 @@ resource "azurerm_dns_aaaa_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
records = ["2607:f8b0:4009:1803::1005", "2607:f8b0:4009:1803::1006"]
tags {
Expand All @@ -233,7 +233,7 @@ resource "azurerm_dns_aaaa_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
records = ["2607:f8b0:4009:1803::1005", "2607:f8b0:4009:1803::1006"]
tags {
Expand Down
10 changes: 5 additions & 5 deletions azurerm/resource_arm_dns_cname_record_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ resource "azurerm_dns_cname_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
record = "contoso.com"
}
`, rInt, rInt, rInt)
Expand All @@ -203,7 +203,7 @@ resource "azurerm_dns_cname_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
record = "test.contoso.com"
}
`, rInt, rInt, rInt)
Expand All @@ -225,7 +225,7 @@ resource "azurerm_dns_cname_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
record = "contoso.co.uk"
}
`, rInt, rInt, rInt)
Expand All @@ -247,7 +247,7 @@ resource "azurerm_dns_cname_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
record = "contoso.com"
tags {
Expand All @@ -274,7 +274,7 @@ resource "azurerm_dns_cname_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
record = "contoso.com"
tags {
Expand Down
8 changes: 4 additions & 4 deletions azurerm/resource_arm_dns_mx_record_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ resource "azurerm_dns_mx_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
record {
preference = "10"
Expand Down Expand Up @@ -193,7 +193,7 @@ resource "azurerm_dns_mx_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
record {
preference = "10"
Expand Down Expand Up @@ -229,7 +229,7 @@ resource "azurerm_dns_mx_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
record {
preference = "10"
Expand Down Expand Up @@ -265,7 +265,7 @@ resource "azurerm_dns_mx_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
record {
preference = "10"
Expand Down
8 changes: 4 additions & 4 deletions azurerm/resource_arm_dns_ns_record_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ resource "azurerm_dns_ns_record" "test" {
name = "mynsrecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
record {
nsdname = "ns1.contoso.com"
Expand Down Expand Up @@ -190,7 +190,7 @@ resource "azurerm_dns_ns_record" "test" {
name = "mynsrecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
record {
nsdname = "ns1.contoso.com"
Expand Down Expand Up @@ -223,7 +223,7 @@ resource "azurerm_dns_ns_record" "test" {
name = "mynsrecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
record {
nsdname = "ns1.contoso.com"
Expand Down Expand Up @@ -257,7 +257,7 @@ resource "azurerm_dns_ns_record" "test" {
name = "mynsrecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
record {
nsdname = "ns1.contoso.com"
}
Expand Down
8 changes: 4 additions & 4 deletions azurerm/resource_arm_dns_ptr_record_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ resource "azurerm_dns_ptr_record" "test" {
name = "testptrrecord%[1]d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
records = ["hashicorp.com", "microsoft.com"]
}
`, rInt)
Expand All @@ -184,7 +184,7 @@ resource "azurerm_dns_ptr_record" "test" {
name = "testptrrecord%[1]d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
records = ["hashicorp.com", "microsoft.com", "reddit.com"]
}
`, rInt)
Expand All @@ -206,7 +206,7 @@ resource "azurerm_dns_ptr_record" "test" {
name = "testptrrecord%[1]d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
records = ["hashicorp.com", "microsoft.com"]
tags {
Expand All @@ -233,7 +233,7 @@ resource "azurerm_dns_ptr_record" "test" {
name = "testptrrecord%[1]d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
records = ["hashicorp.com", "microsoft.com"]
tags {
Expand Down
8 changes: 4 additions & 4 deletions azurerm/resource_arm_dns_srv_record_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ resource "azurerm_dns_srv_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
record {
priority = 1
Expand Down Expand Up @@ -195,7 +195,7 @@ resource "azurerm_dns_srv_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
record {
priority = 1
Expand Down Expand Up @@ -237,7 +237,7 @@ resource "azurerm_dns_srv_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
record {
priority = 1
Expand Down Expand Up @@ -277,7 +277,7 @@ resource "azurerm_dns_srv_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
record {
priority = 1
Expand Down
8 changes: 4 additions & 4 deletions azurerm/resource_arm_dns_txt_record_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ resource "azurerm_dns_txt_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
record {
value = "Quick brown fox"
Expand Down Expand Up @@ -191,7 +191,7 @@ resource "azurerm_dns_txt_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
record {
value = "Quick brown fox"
Expand Down Expand Up @@ -224,7 +224,7 @@ resource "azurerm_dns_txt_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
record {
value = "Quick brown fox"
Expand Down Expand Up @@ -258,7 +258,7 @@ resource "azurerm_dns_txt_record" "test" {
name = "myarecord%d"
resource_group_name = "${azurerm_resource_group.test.name}"
zone_name = "${azurerm_dns_zone.test.name}"
ttl = "300"
ttl = 300
record {
value = "Quick brown fox"
}
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/dns_a_record.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ resource "azurerm_dns_a_record" "test" {
name = "test"
zone_name = "${azurerm_dns_zone.test.name}"
resource_group_name = "${azurerm_resource_group.test.name}"
ttl = "300"
ttl = 300
records = ["10.0.180.17"]
}
```
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/dns_aaaa_record.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ resource "azurerm_dns_aaaa_record" "test" {
name = "test"
zone_name = "${azurerm_dns_zone.test.name}"
resource_group_name = "${azurerm_resource_group.test.name}"
ttl = "300"
ttl = 300
records = ["2607:f8b0:4009:1803::1005"]
}
```
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/dns_cname_record.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ resource "azurerm_dns_cname_record" "test" {
name = "test"
zone_name = "${azurerm_dns_zone.test.name}"
resource_group_name = "${azurerm_resource_group.test.name}"
ttl = "300"
ttl = 300
record = "contoso.com"
}
```
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/dns_mx_record.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ resource "azurerm_dns_mx_record" "test" {
name = "test"
zone_name = "${azurerm_dns_zone.test.name}"
resource_group_name = "${azurerm_resource_group.test.name}"
ttl = "300"
ttl = 300
record {
preference = 10
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/dns_ns_record.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ resource "azurerm_dns_ns_record" "test" {
name = "test"
zone_name = "${azurerm_dns_zone.test.name}"
resource_group_name = "${azurerm_resource_group.test.name}"
ttl = "300"
ttl = 300
record {
nsdname = "ns1.contoso.com"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/dns_ptr_record.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ resource "azurerm_dns_ptr_record" "test" {
name = "test"
zone_name = "${azurerm_dns_zone.test.name}"
resource_group_name = "${azurerm_resource_group.test.name}"
ttl = "300"
ttl = 300
records = ["yourdomain.com"]
}
```
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/dns_srv_record.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ resource "azurerm_dns_srv_record" "test" {
name = "test"
zone_name = "${azurerm_dns_zone.test.name}"
resource_group_name = "${azurerm_resource_group.test.name}"
ttl = "300"
ttl = 300
record {
priority = 1
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/dns_txt_record.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ resource "azurerm_dns_txt_record" "test" {
name = "test"
zone_name = "${azurerm_dns_zone.test.name}"
resource_group_name = "${azurerm_resource_group.test.name}"
ttl = "300"
ttl = 300
record {
value = "google-site-authenticator"
Expand Down

0 comments on commit d253502

Please sign in to comment.