Skip to content

Commit

Permalink
r/aws_connect_quick_connect (#22250)
Browse files Browse the repository at this point in the history
* feat(connect): add QuickConnect schema

* feat(connect): add aws_connect_quick_connect

* feat(connect): add QuickConnect expand, flatten

condition on QuickConnectType that has values USER, QUEUE, PHONE_NUMBER

* feat(connect): add QuickConnect ParseID func

* feat(connect): add QuickConnect read

DescribeQuickConnectWithContext api

* feat(connect): add QuickConnect create

CreateQuickConnectWithContext api

* feat(connect): add QuickConnect update

QuickConnect has 2 update APIs
UpdateQuickConnectConfigWithContext: for configuration settings
UpdateQuickConnectNameWithContext for name and description

* feat(connect): add QuickConnect delete

DeleteQuickConnectWithContext api

* test(connect): config for instance, QuickConnect

* test(connect): serialise tests

* test(connect): check QuickConnect exists

* test(connect): check QuickConnect destroy

* test(connect): QuickConnect create and update

update description field

* test(connect): QuickConnect disappear

* fix(connect): update for name req name or desc

* test(connect): QuickConnect change phone number

* docs(connect): add aws_connect_quick_connect

* ci(connect): add CHANGELOG entry

* style(connect): fix terrafmt errors

* refactor(connect): many HasChange to 1 HasChanges

* refactor(connect): rename quick_connect_arn to arn

* style(connect): reorder comments for update

* refactor(connect): remove quickConnect timeouts

* chore(connect): remove unused variables
  • Loading branch information
GlennChia authored Jan 11, 2022
1 parent 3e26096 commit 46486ce
Show file tree
Hide file tree
Showing 5 changed files with 736 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/22250.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:new-resource
aws_connect_quick_connect
```
1 change: 1 addition & 0 deletions internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,7 @@ func Provider() *schema.Provider {
"aws_connect_instance": connect.ResourceInstance(),
"aws_connect_hours_of_operation": connect.ResourceHoursOfOperation(),
"aws_connect_lambda_function_association": connect.ResourceLambdaFunctionAssociation(),
"aws_connect_quick_connect": connect.ResourceQuickConnect(),

"aws_cur_report_definition": cur.ResourceReportDefinition(),

Expand Down
Loading

0 comments on commit 46486ce

Please sign in to comment.