message
Use the message
step to send a message to an integration via a notifier.
pipeline "send_message" {step "message" "send_a_message" {notifier = notifier.defaultchannel = "#ops"to = ["ops@bluth.com"]subject = "Sample message"text = "I'm a sample message."}}
Arguments
Argument | Type | Optional? | Description |
---|---|---|---|
text | String | Required | The message text to send to the integration. |
notifier | Notifier Reference | Required | The notifier to send the request to send the message. |
cc | List<String> | Optional | The email addresses to send to. This only applies to email integrations. |
bcc | List<String> | Optional | The email addresses to send to. This only applies to notifiers that uses email integrations. |
channel | String | Optional | The channel to send the request to. This only applies to slack integrations. |
subject | String | Optional | The email subject. This only applies to notifiers that uses email integrations. |
to | List<String> | Optional | The email addresses to send to. This only applies to email integrations. |
This step also supports the common step arguments and attributes.