@@ -73,7 +73,7 @@ func TestAccPagerDutyService_Basic(t *testing.T) {
73
73
resource .TestCheckResourceAttr (
74
74
"pagerduty_service.foo" , "acknowledgement_timeout" , "1800" ),
75
75
resource .TestCheckResourceAttr (
76
- "pagerduty_service.foo" , "alert_creation" , "create_incidents " ),
76
+ "pagerduty_service.foo" , "alert_creation" , "create_alerts_and_incidents " ),
77
77
resource .TestCheckNoResourceAttr (
78
78
"pagerduty_service.foo" , "alert_grouping" ),
79
79
resource .TestCheckResourceAttr (
@@ -103,7 +103,7 @@ func TestAccPagerDutyService_Basic(t *testing.T) {
103
103
resource .TestCheckResourceAttr (
104
104
"pagerduty_service.foo" , "acknowledgement_timeout" , "3600" ),
105
105
resource .TestCheckResourceAttr (
106
- "pagerduty_service.foo" , "alert_creation" , "create_incidents " ),
106
+ "pagerduty_service.foo" , "alert_creation" , "create_alerts_and_incidents " ),
107
107
resource .TestCheckResourceAttr (
108
108
"pagerduty_service.foo" , "incident_urgency_rule.#" , "1" ),
109
109
resource .TestCheckResourceAttr (
@@ -775,7 +775,7 @@ func TestAccPagerDutyService_BasicWithIncidentUrgencyRules(t *testing.T) {
775
775
resource .TestCheckResourceAttr (
776
776
"pagerduty_service.foo" , "acknowledgement_timeout" , "1800" ),
777
777
resource .TestCheckResourceAttr (
778
- "pagerduty_service.foo" , "alert_creation" , "create_incidents " ),
778
+ "pagerduty_service.foo" , "alert_creation" , "create_alerts_and_incidents " ),
779
779
resource .TestCheckResourceAttr (
780
780
"pagerduty_service.foo" , "incident_urgency_rule.#" , "1" ),
781
781
resource .TestCheckResourceAttr (
@@ -843,7 +843,7 @@ func TestAccPagerDutyService_BasicWithIncidentUrgencyRules(t *testing.T) {
843
843
resource .TestCheckResourceAttr (
844
844
"pagerduty_service.foo" , "acknowledgement_timeout" , "1800" ),
845
845
resource .TestCheckResourceAttr (
846
- "pagerduty_service.foo" , "alert_creation" , "create_incidents " ),
846
+ "pagerduty_service.foo" , "alert_creation" , "create_alerts_and_incidents " ),
847
847
resource .TestCheckResourceAttr (
848
848
"pagerduty_service.foo" , "incident_urgency_rule.#" , "1" ),
849
849
resource .TestCheckResourceAttr (
@@ -897,7 +897,7 @@ func TestAccPagerDutyService_BasicWithIncidentUrgencyRules(t *testing.T) {
897
897
resource .TestCheckResourceAttr (
898
898
"pagerduty_service.foo" , "acknowledgement_timeout" , "3600" ),
899
899
resource .TestCheckResourceAttr (
900
- "pagerduty_service.foo" , "alert_creation" , "create_incidents " ),
900
+ "pagerduty_service.foo" , "alert_creation" , "create_alerts_and_incidents " ),
901
901
resource .TestCheckResourceAttr (
902
902
"pagerduty_service.foo" , "incident_urgency_rule.#" , "1" ),
903
903
resource .TestCheckResourceAttr (
@@ -977,7 +977,7 @@ func TestAccPagerDutyService_FromBasicToCustomIncidentUrgencyRules(t *testing.T)
977
977
resource .TestCheckResourceAttr (
978
978
"pagerduty_service.foo" , "acknowledgement_timeout" , "1800" ),
979
979
resource .TestCheckResourceAttr (
980
- "pagerduty_service.foo" , "alert_creation" , "create_incidents " ),
980
+ "pagerduty_service.foo" , "alert_creation" , "create_alerts_and_incidents " ),
981
981
resource .TestCheckResourceAttr (
982
982
"pagerduty_service.foo" , "incident_urgency_rule.#" , "1" ),
983
983
resource .TestCheckResourceAttr (
@@ -999,7 +999,7 @@ func TestAccPagerDutyService_FromBasicToCustomIncidentUrgencyRules(t *testing.T)
999
999
resource .TestCheckResourceAttr (
1000
1000
"pagerduty_service.foo" , "acknowledgement_timeout" , "3600" ),
1001
1001
resource .TestCheckResourceAttr (
1002
- "pagerduty_service.foo" , "alert_creation" , "create_incidents " ),
1002
+ "pagerduty_service.foo" , "alert_creation" , "create_alerts_and_incidents " ),
1003
1003
resource .TestCheckResourceAttr (
1004
1004
"pagerduty_service.foo" , "incident_urgency_rule.#" , "1" ),
1005
1005
resource .TestCheckResourceAttr (
@@ -1120,7 +1120,7 @@ func TestAccPagerDutyService_ResponsePlay(t *testing.T) {
1120
1120
resource .TestCheckResourceAttr (
1121
1121
"pagerduty_service.foo" , "acknowledgement_timeout" , "1800" ),
1122
1122
resource .TestCheckResourceAttr (
1123
- "pagerduty_service.foo" , "alert_creation" , "create_incidents " ),
1123
+ "pagerduty_service.foo" , "alert_creation" , "create_alerts_and_incidents " ),
1124
1124
resource .TestCheckNoResourceAttr (
1125
1125
"pagerduty_service.foo" , "alert_grouping" ),
1126
1126
resource .TestCheckResourceAttr (
@@ -1160,7 +1160,7 @@ func TestAccPagerDutyService_ResponsePlay(t *testing.T) {
1160
1160
resource .TestCheckResourceAttr (
1161
1161
"pagerduty_service.foo" , "acknowledgement_timeout" , "1800" ),
1162
1162
resource .TestCheckResourceAttr (
1163
- "pagerduty_service.foo" , "alert_creation" , "create_incidents " ),
1163
+ "pagerduty_service.foo" , "alert_creation" , "create_alerts_and_incidents " ),
1164
1164
resource .TestCheckNoResourceAttr (
1165
1165
"pagerduty_service.foo" , "alert_grouping" ),
1166
1166
resource .TestCheckResourceAttr (
@@ -1308,7 +1308,6 @@ resource "pagerduty_service" "foo" {
1308
1308
auto_resolve_timeout = 1800
1309
1309
acknowledgement_timeout = 1800
1310
1310
escalation_policy = pagerduty_escalation_policy.foo.id
1311
- alert_creation = "create_incidents"
1312
1311
}
1313
1312
` , username , email , escalationPolicy , service )
1314
1313
}
@@ -1617,11 +1616,11 @@ resource "pagerduty_service" "foo" {
1617
1616
escalation_policy = pagerduty_escalation_policy.foo.id
1618
1617
alert_creation = "create_alerts_and_incidents"
1619
1618
alert_grouping_parameters {
1620
- type = "time"
1621
- config {
1622
- timeout = 0
1623
- }
1624
- }
1619
+ type = "time"
1620
+ config {
1621
+ timeout = 0
1622
+ }
1623
+ }
1625
1624
}
1626
1625
` , username , email , escalationPolicy , service )
1627
1626
}
@@ -1695,12 +1694,12 @@ resource "pagerduty_service" "foo" {
1695
1694
escalation_policy = pagerduty_escalation_policy.foo.id
1696
1695
alert_creation = "create_alerts_and_incidents"
1697
1696
alert_grouping_parameters {
1698
- type = "intelligent"
1699
- config {
1700
- fields = null
1701
- timeout = 0
1702
- }
1703
- }
1697
+ type = "intelligent"
1698
+ config {
1699
+ fields = null
1700
+ timeout = 0
1701
+ }
1702
+ }
1704
1703
}
1705
1704
` , username , email , escalationPolicy , service )
1706
1705
}
@@ -1737,9 +1736,9 @@ resource "pagerduty_service" "foo" {
1737
1736
escalation_policy = pagerduty_escalation_policy.foo.id
1738
1737
alert_creation = "create_alerts_and_incidents"
1739
1738
alert_grouping_parameters {
1740
- type = "intelligent"
1741
- config {}
1742
- }
1739
+ type = "intelligent"
1740
+ config {}
1741
+ }
1743
1742
}
1744
1743
` , username , email , escalationPolicy , service )
1745
1744
}
@@ -1776,8 +1775,8 @@ resource "pagerduty_service" "foo" {
1776
1775
escalation_policy = pagerduty_escalation_policy.foo.id
1777
1776
alert_creation = "create_alerts_and_incidents"
1778
1777
alert_grouping_parameters {
1779
- type = "intelligent"
1780
- }
1778
+ type = "intelligent"
1779
+ }
1781
1780
}
1782
1781
` , username , email , escalationPolicy , service )
1783
1782
}
@@ -1814,9 +1813,9 @@ resource "pagerduty_service" "foo" {
1814
1813
escalation_policy = pagerduty_escalation_policy.foo.id
1815
1814
alert_creation = "create_alerts_and_incidents"
1816
1815
alert_grouping_parameters {
1817
- type = null
1818
- config {}
1819
- }
1816
+ type = null
1817
+ config {}
1818
+ }
1820
1819
}
1821
1820
` , username , email , escalationPolicy , service )
1822
1821
}
@@ -1853,9 +1852,9 @@ resource "pagerduty_service" "foo" {
1853
1852
escalation_policy = pagerduty_escalation_policy.foo.id
1854
1853
alert_creation = "create_alerts_and_incidents"
1855
1854
auto_pause_notifications_parameters {
1856
- enabled = true
1855
+ enabled = true
1857
1856
timeout = 300
1858
- }
1857
+ }
1859
1858
}
1860
1859
` , username , email , escalationPolicy , service )
1861
1860
}
@@ -1892,9 +1891,9 @@ resource "pagerduty_service" "foo" {
1892
1891
escalation_policy = pagerduty_escalation_policy.foo.id
1893
1892
alert_creation = "create_alerts_and_incidents"
1894
1893
auto_pause_notifications_parameters {
1895
- enabled = false
1896
- timeout = null
1897
- }
1894
+ enabled = false
1895
+ timeout = null
1896
+ }
1898
1897
}
1899
1898
` , username , email , escalationPolicy , service )
1900
1899
}
@@ -2353,7 +2352,6 @@ resource "pagerduty_service" "foo" {
2353
2352
acknowledgement_timeout = 1800
2354
2353
escalation_policy = pagerduty_escalation_policy.foo.id
2355
2354
response_play = pagerduty_response_play.foo.id
2356
- alert_creation = "create_incidents"
2357
2355
}
2358
2356
` , username , email , escalationPolicy , responsePlay , service )
2359
2357
}
@@ -2406,7 +2404,6 @@ resource "pagerduty_service" "foo" {
2406
2404
acknowledgement_timeout = 1800
2407
2405
escalation_policy = pagerduty_escalation_policy.foo.id
2408
2406
response_play = null
2409
- alert_creation = "create_incidents"
2410
2407
}
2411
2408
` , username , email , escalationPolicy , responsePlay , service )
2412
2409
}
0 commit comments