Dan Peterson
cf6e86a127
providers/heroku: use a helper for common app post-create tasks ( #13990 )
...
Buildpacks were being configured post-create for non-org apps but not
for org apps. Consolidate post-create tasks into a helper used by both
paths.
2017-04-26 17:02:53 -05:00
Bernerd Schaefer
c55a4b3a51
Merge branch 'master' into bs-heroku-app-space
2017-04-25 11:04:13 -07:00
Bernerd Schaefer
acdb5c659a
provider/heroku: set app buildpacks from config
...
Many apps deployed to Heroku require that multiple buildpacks be
configured in a particular order to operate correctly.
This updates the builtin Heroku provider's app resource to support
configuring buildpacks and the related documentation in the website.
Similar to config vars, externally set buildpacks will not be altered if
the config is not set.
2017-04-24 11:40:29 -07:00
Bernerd Schaefer
fd98f1e0c5
providers/heroku: create app in space
2017-04-21 14:22:42 -07:00
Andy Lindeman
fa18174713
Updates heroku-go to the latest revision ( #12575 )
2017-03-10 14:00:03 +02:00
Paul Hinze
7cd955e3a1
provider/heroku: fix typo in organization struct
...
"personal", not "private"
2016-01-08 08:20:19 -06:00
Paul Hinze
c52765417a
provider/heroku: add acctest covering orgs; fixup issues
...
Switching up ResourceData interaction to not reach into the internal
dot-notation nesting.
2016-01-04 16:13:52 -06:00
Jakub Janczak
81779aa1d4
Fixing the situation when you've got an organization app, and want to have it in a private area instead
2016-01-04 16:13:52 -06:00
Sander van Harmelen
2ba8dc38fa
Switch to go-multierror
...
It seems there are 4 locations left that use the `helper/multierror`
package, where the rest is TF settled on the `hashicorp/go-multierror`
package.
Functionally this doesn’t change anything, so I suggest to delete the
builtin version as it can only cause confusion (both packages have the
same name, but are still different types according to Go’s type system.
2015-09-27 18:58:48 -07:00
Mitchell Hashimoto
e5a375ae58
providers/heroku: empty config vars block shouldn't panic [GH-1211]
2015-03-26 09:45:37 -07:00
Emil Hessman
7b704fb77d
builtin/providers/heroku: vet fix
...
Fixes the following vet reports:
builtin/providers/heroku/resource_heroku_app.go:192: arg vs for printf verb %s of wrong type: bool
builtin/providers/heroku/resource_heroku_app.go:198: arg vs for printf verb %s of wrong type: bool
2014-12-17 12:58:12 +01:00
Sander van Harmelen
4ace4865d7
Making all function names consistent
...
Before all providers were using the helper.Schema approach the helper
function had these names. Now they all use names consistent with the Go
naming conventions except for these last few…
2014-12-15 15:26:17 +01:00
Mitchell Hashimoto
1792334ec4
fmt
2014-10-21 11:00:12 -07:00
Clint Shryock
98667d1b12
update error message
2014-10-14 17:28:25 -05:00
Clint Shryock
b850f8bc65
proposal for making orgs a structure with fields instead of just a name field
2014-10-14 17:28:24 -05:00
Mitchell Hashimoto
3e6263332d
providers/heroku: set all the things
2014-10-14 12:18:18 -07:00
Clint Shryock
764b0259dd
Document the organization name field
2014-10-12 12:21:32 -05:00
Clint Shryock
8ab3ebbfb2
clean up the conditional check for Heroku organization
2014-10-12 11:58:18 -05:00
Clint Shryock
5fe2593c16
Add to Organization schema ref. Also gofmt the file
2014-10-12 11:49:57 -05:00
Clint Shryock
95a815deda
Starting point for adding Organization app support for Heroku Provider
2014-10-10 14:07:27 -05:00
Mitchell Hashimoto
bb2edb20fd
providers/heroku: clean up heroku_app config vars
2014-08-27 21:07:56 -07:00
Mitchell Hashimoto
d8cc32b49f
providers/heroku: all_config_vars for reading
2014-08-27 16:35:15 -07:00
Mitchell Hashimoto
0a03ff9d34
providers/heroku: config vars aren't computed, they're non-exclusive
...
/cc @pearkes - See doc change
2014-08-27 16:26:03 -07:00
Jack Pearkes
02d18d67b8
providers/heroku: name and region are now required
...
cc/ @catsby if you're curious. That fixed the acceptance tests,
thought there is still one (different issue) that is still failing.
Also, it nows construct a transport instead of using the default
and setting the auth globally. TF could potentially run things
concurrently and that might go wrong.
2014-08-27 16:06:43 -07:00
Clint Shryock
f6d5ed6c31
Swap bgentry/heroku-go for cyberdelia/heroku-go
2014-08-27 09:50:37 -05:00
Mitchell Hashimoto
2a6b83591a
providers/heroku: nuking config vars works
2014-08-19 10:13:34 -07:00
Mitchell Hashimoto
4e1d8869fe
providers/heroku: use new schema API
2014-08-18 15:18:51 -07:00
Mitchell Hashimoto
199b72d798
providers/heroku: clean up unused functions
2014-08-18 09:36:37 -07:00
Mitchell Hashimoto
513596cc37
providers/heroku: Heroku app is mostly converted
2014-08-18 09:32:40 -07:00
Jack Pearkes
454db657be
providers/dnsimple|heroku: handle ComputedAttrsUpdate
2014-07-24 23:29:58 -04:00
Jack Pearkes
26d5c093da
providers/heroku: add domain support
2014-07-23 15:50:28 -04:00
Jack Pearkes
4b1d9b5b2f
providers/heroku: don't overwrite id
2014-07-23 15:10:13 -04:00
Jack Pearkes
708d91a0c5
providers/heroku: add failing test for var removal
2014-07-23 14:46:12 -04:00
Jack Pearkes
2fc73493a8
providers/heroku: store name after update
2014-07-23 14:12:53 -04:00
Jack Pearkes
a30c4abbea
providers/heroku: correctly store config vars in state
2014-07-23 13:57:15 -04:00
Jack Pearkes
5a178a39a0
providers/heroku: init addon, app update
2014-07-23 12:38:45 -04:00
Jack Pearkes
64f2630c7e
providers/heroku: refactor to handle vars
2014-07-23 12:09:54 -04:00
Jack Pearkes
e523e400b8
providers/heroku: refactor update config vars
2014-07-23 11:26:31 -04:00
Jack Pearkes
298b8090f0
providers/heroku: support config vars on create
2014-07-23 11:09:05 -04:00
Jack Pearkes
e81b3998ce
heroku: initial commit
2014-07-23 00:03:30 -04:00