-
Notifications
You must be signed in to change notification settings - Fork 0
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
ORCA-4812: Document The dynamic_route_to
action
#3
ORCA-4812: Document The dynamic_route_to
action
#3
Conversation
dynamic_route_to
actiondynamic_route_to
action
@@ -12,15 +12,31 @@ An Orchestration Router allows users to create a set of Event Rules. The Router | |||
|
|||
## Example of configuring Router rules for an Orchestration | |||
|
|||
In this example the user has defined the Router with two rules, each routing to a different service. | |||
|
|||
This example assumes services used in the `route_to` configuration already exists. So it does not show creation of service resource. |
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.
Annotation: I decided it was easier to include a pair of service "data source" configurations in the example, rather having these disclaimer sentences.
@@ -72,6 +88,22 @@ The following arguments are supported: | |||
* `expression`- (Required) A [PCL condition](https://developer.pagerduty.com/docs/ZG9jOjM1NTE0MDc0-pcl-overview) string. | |||
|
|||
### Actions (`actions`) supports the following: | |||
|
|||
#### Dynamic Routing |
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.
Annotation: Unfortunately it seems the Terraform documentation site does not support deep links/anchors on H4 tags. That said I'm not immediately thinking of a better way to organize this portion of the page. Suggestions are welcome!
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.
I think the approach you chose is good, the Actions section is not that big so linking to Actions should be sufficient.
6f74385
to
dda518b
Compare
0c0a56d
into
alenapan:event-orchestration-dynamic-routing-and-esc-policy-support
Migrate pack #3 of datasources and resources to terraform plugin framework
* Update the router example to use the pagerduty_service data source * Add a dynamic router rule example * Document the dynamic vs static router actions
Adds documentation for the
dynamic_route_to
action. The wording is based partially on the proposed public-REST-API wording in ORCA-4803.QA
I pasted the markdown into https://registry.terraform.io/tools/doc-preview and got this result: