generated from hashicorp/terraform-provider-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2111 from BondAnthony/d-improve-awscc_connect_rou…
…ting_profile docs: add example for awscc_connect_routing_profile
Showing
3 changed files
with
78 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
examples/resources/awscc_connect_routing_profile/resource.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
resource "awscc_connect_routing_profile" "example" { | ||
name = "example" | ||
description = "Example routing profile" | ||
instance_arn = awscc_connect_instance.example.arn | ||
default_outbound_queue_arn = awscc_connect_queue.example.queue_arn | ||
media_concurrencies = [{ | ||
channel = "TASK" | ||
concurrency = 1 | ||
}] | ||
queue_configs = [ | ||
{ | ||
delay = 0 | ||
priority = 9 | ||
queue_reference = { | ||
channel = "TASK" | ||
queue_arn = awscc_connect_queue.example_task.queue_arn | ||
} | ||
} | ||
] | ||
tags = [{ | ||
key = "ModifiedBy" | ||
value = "AWSCC" | ||
}] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
page_title: "{{.Name}} {{.Type}} - {{.ProviderName}}" | ||
subcategory: "" | ||
description: |- | ||
{{ .Description | plainmarkdown | trimspace | prefixlines " " }} | ||
--- | ||
|
||
# {{.Name}} ({{.Type}}) | ||
|
||
{{ .Description | trimspace }} | ||
|
||
## Example Routing Profile | ||
|
||
{{ tffile (printf "examples/resources/%s/resource.tf" .Name)}} | ||
|
||
{{ .SchemaMarkdown | trimspace }} | ||
{{- if .HasImport }} | ||
|
||
## Import | ||
|
||
Import is supported using the following syntax: | ||
|
||
{{ codefile "shell" .ImportFile }} | ||
|
||
{{- end }} |