-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a heroku_team_member resource for managing members of a Heroku team #121
Conversation
Federated: &federated, | ||
} | ||
|
||
_, err := client.TeamMemberCreateOrUpdate(context.TODO(), d.Get("team").(string), opts) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the team
you defined above at L65?
```hcl | ||
# Adds a Heroku user to a Heroku team as a viewer. | ||
resource "heroku_team_member" "foobar-member" { | ||
team = "${heroku_app.foobar.name}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo here?
Team members can be imported using the combination of the team application name, a colon, and the member's email address. | ||
|
||
``` | ||
$ terraform import heroku_team_member.foobar-member foobar_app:some-user@example.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here? Or are you implying app == team
?
Can you add an import resource test? |
Tested with the following HCL: