Provide a resource to manage a subuser.
resource "sendgrid_subuser" "subuser" {
username = "my-subuser"
email = "[email protected]"
password = "Passw0rd!"
ips = [
"127.0.0.1"
]
}
The following arguments are supported:
email
- (Required) The email of the subuser.ips
- (Required) The IP addresses that should be assigned to this subuser.password
- (Required) The password the subuser will use when logging into SendGrid.username
- (Required) The name of the subuser.
A subuser can be imported, e.g.
$ terraform import sendgrid_subuser.subuser userName