Provides a Heroku Team Collaborator resource.
A team collaborator represents an account that has been given access to a team app on Heroku.
NOTE: Please only use this resource if you have team/organization apps
# Create a new team collaborator for the foobar application that has view, operate, manage permissions resource "heroku_team_collaborator" "foobar-collaborator" { app = "${heroku_app.foobar.name}" email = "[email protected]" permissions = ["view", "operate", "manage"] }
app
- (Required) The name of the team app that the team collaborator will be added to. email
- (Required) Email address of the team collaborator permissions
- (Required) List of permissions that will be granted to the team collaborator. The order in which individual permissions are set here does not matter. Please visit this link for more information on available permissions. The following attributes are exported:
id
- The ID of the team collaborator Team Collaborators can be imported using the combination of the team application name, a colon, and the collaborator's email address
For example:
$ terraform import heroku_team_collaborator.foobar-collaborator foobar_app:[email protected]
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/heroku/r/team_collaborator.html