Skip to content

Commit

Permalink
Merge pull request #27347 from GlennChia/b-aws_connect_contact_flow-f…
Browse files Browse the repository at this point in the history
…orce-new

b/aws_connect_contact_flow - type force new
  • Loading branch information
johnsonaj committed Oct 21, 2022
2 parents 246a7d8 + a1e0957 commit 2fad01b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/27347.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/aws_connect_contact_flow: Change `type` to ForceNew
```
1 change: 1 addition & 0 deletions internal/service/connect/contact_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ func ResourceContactFlow() *schema.Resource {
"type": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
Default: connect.ContactFlowTypeContactFlow,
ValidateFunc: validation.StringInSlice(connect.ContactFlowType_Values(), false),
},
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/connect_contact_flow.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ The following arguments are supported:
* `instance_id` - (Required) Specifies the identifier of the hosting Amazon Connect Instance.
* `name` - (Required) Specifies the name of the Contact Flow.
* `tags` - (Optional) Tags to apply to the Contact Flow. If configured with a provider [`default_tags` configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
* `type` - (Optional) Specifies the type of the Contact Flow. Defaults to `CONTACT_FLOW`. Allowed Values are: `CONTACT_FLOW`, `CUSTOMER_QUEUE`, `CUSTOMER_HOLD`, `CUSTOMER_WHISPER`, `AGENT_HOLD`, `AGENT_WHISPER`, `OUTBOUND_WHISPER`, `AGENT_TRANSFER`, `QUEUE_TRANSFER`.
* `type` - (Optional, Forces new resource) Specifies the type of the Contact Flow. Defaults to `CONTACT_FLOW`. Allowed Values are: `CONTACT_FLOW`, `CUSTOMER_QUEUE`, `CUSTOMER_HOLD`, `CUSTOMER_WHISPER`, `AGENT_HOLD`, `AGENT_WHISPER`, `OUTBOUND_WHISPER`, `AGENT_TRANSFER`, `QUEUE_TRANSFER`.

## Attributes Reference

Expand Down

0 comments on commit 2fad01b

Please sign in to comment.