A Heroku Collaborator receives access to a specific app that is not owned by a team.
resource "heroku_app" "foobar" {
name = "foobar"
region = "us"
}
# Create a new collaborator for the foobar application
resource "heroku_collaborator" "foobar-collaborator" {
app_id = heroku_app.foobar.id
email = "collaborator@foobar.com"
}
app_id
- (Required) Heroku app ID (do not use app name)email
- (Required) Email address of the collaboratorThe following attributes are exported:
id
- The ID of the collaboratorCollaborators can be imported using the combination of the application name, a colon, and the collaborator's email address
For example:
$ terraform import heroku_collaborator.foobar-collaborator foobar_app:collaborator@foobar.com