@@ -50,22 +50,22 @@ func TestAccHerokuAddon_noPlan(t *testing.T) {
50
50
Config : testAccCheckHerokuAddonConfig_no_plan (appName ),
51
51
Check : resource .ComposeTestCheckFunc (
52
52
testAccCheckHerokuAddonExists ("heroku_addon.foobar" , & addon ),
53
- testAccCheckHerokuAddonPlan (& addon , "heroku-postgresql:mini " ),
53
+ testAccCheckHerokuAddonPlan (& addon , "heroku-postgresql:essential-0 " ),
54
54
resource .TestCheckResourceAttrSet (
55
55
"heroku_addon.foobar" , "app_id" ),
56
56
resource .TestCheckResourceAttr (
57
- "heroku_addon.foobar" , "plan" , "heroku-postgresql:mini " ),
57
+ "heroku_addon.foobar" , "plan" , "heroku-postgresql" ),
58
58
),
59
59
},
60
60
{
61
61
Config : testAccCheckHerokuAddonConfig_no_plan (appName ),
62
62
Check : resource .ComposeTestCheckFunc (
63
63
testAccCheckHerokuAddonExists ("heroku_addon.foobar" , & addon ),
64
- testAccCheckHerokuAddonPlan (& addon , "heroku-postgresql:mini " ),
64
+ testAccCheckHerokuAddonPlan (& addon , "heroku-postgresql:essential-0 " ),
65
65
resource .TestCheckResourceAttrSet (
66
66
"heroku_addon.foobar" , "app_id" ),
67
67
resource .TestCheckResourceAttr (
68
- "heroku_addon.foobar" , "plan" , "heroku-postgresql:mini " ),
68
+ "heroku_addon.foobar" , "plan" , "heroku-postgresql" ),
69
69
),
70
70
},
71
71
},
@@ -85,7 +85,7 @@ func TestAccHerokuAddon_ConfigVarValues(t *testing.T) {
85
85
Config : testAccCheckHerokuAddonConfig_configVarValues (appName ),
86
86
Check : resource .ComposeTestCheckFunc (
87
87
testAccCheckHerokuAddonExists ("heroku_addon.pg" , & addon ),
88
- testAccCheckHerokuAddonPlan (& addon , "heroku-postgresql:mini " ),
88
+ testAccCheckHerokuAddonPlan (& addon , "heroku-postgresql:essential-0 " ),
89
89
testAccCheckHerokuAddonConfigVarValueHasDatabaseURL ("heroku_addon.pg" , & addon ),
90
90
),
91
91
},
@@ -123,11 +123,11 @@ func TestAccHerokuAddon_CustomName(t *testing.T) {
123
123
Config : testAccCheckHerokuAddonConfig_CustomName (appName , customName ),
124
124
Check : resource .ComposeTestCheckFunc (
125
125
testAccCheckHerokuAddonExists ("heroku_addon.foobar" , & addon ),
126
- testAccCheckHerokuAddonPlan (& addon , "heroku-postgresql:mini " ),
126
+ testAccCheckHerokuAddonPlan (& addon , "heroku-postgresql:essential-0 " ),
127
127
resource .TestCheckResourceAttrSet (
128
128
"heroku_addon.foobar" , "app_id" ),
129
129
resource .TestCheckResourceAttr (
130
- "heroku_addon.foobar" , "plan" , "heroku-postgresql:mini " ),
130
+ "heroku_addon.foobar" , "plan" , "heroku-postgresql" ),
131
131
resource .TestCheckResourceAttr (
132
132
"heroku_addon.foobar" , "name" , customName ),
133
133
),
@@ -325,7 +325,7 @@ resource "heroku_app" "foobar" {
325
325
326
326
resource "heroku_addon" "pg" {
327
327
app_id = heroku_app.foobar.id
328
- plan = "heroku-postgresql:mini "
328
+ plan = "heroku-postgresql"
329
329
}` , appName )
330
330
}
331
331
@@ -344,7 +344,7 @@ resource "heroku_app" "foobar" {
344
344
345
345
resource "heroku_addon" "pg" {
346
346
app_id = heroku_app.foobar.id
347
- plan = "heroku-postgresql:mini "
347
+ plan = "heroku-postgresql"
348
348
}` , appName )
349
349
}
350
350
@@ -357,7 +357,7 @@ resource "heroku_app" "foobar" {
357
357
358
358
resource "heroku_addon" "foobar" {
359
359
app_id = heroku_app.foobar.id
360
- plan = "heroku-postgresql:mini "
360
+ plan = "heroku-postgresql"
361
361
}` , appName )
362
362
}
363
363
@@ -370,7 +370,7 @@ resource "heroku_app" "foobar" {
370
370
371
371
resource "heroku_addon" "foobar" {
372
372
app_id = heroku_app.foobar.id
373
- plan = "heroku-postgresql:mini "
373
+ plan = "heroku-postgresql"
374
374
name = "%s"
375
375
}` , appName , customAddonName )
376
376
}
0 commit comments