AWS Connect automation scripts
Hi , I have created a Terraform scripts for Amazon connect instance like Hour of operation, Queues, Routing Profile etc. . However there are some dependencies like hour of operation dependent on queue etc . My question is do we need to run scripts on sequence wise like hour of operation run first then run queue. Do we need to run as sequential or we can run in one go with some options like depends_on etc. Please Suggest.
Regards Jo
In Terraform, most resource dependencies are handled automatically. It analyses expressions within a resource block to find references to other objects, and treats those references as implicit ordering requirements when creating, updating, or destroying resources.
However, there are some resources that have hidden dependencies and must be explicitly defined by using depends_on.
More information from this document: https://www.terraform.io/language/resources/behavior#resource-dependencies
I've seen a few IaC documentations that mention if you need to explicitly define the dependency but sometimes it doesn't. One way to find out is to test your configuration.
Relevant questions
AWS Connect automation scripts
Accepted Answerasked 3 months agoECS task role chaining limitation to 1 hour
Accepted Answerasked 2 years agoAWS Client VPN Please add support for Login / Logout scripts like OpenVPN has
asked 5 months agoMoving to Amazon connect
asked 4 months agoAmazon Connect instance creation via automated scripts
Accepted Answerasked 5 months agoAWS Connect - Security Profile Permissions
asked 2 months agoUsing Python script to automate Routing Profile change
Accepted Answerasked a month agoAmazon connect quick connect
asked 3 months agoAmazon Connect - Outbound calls only
asked 2 years agoAmazon Connect security profile creation via Terraform scripts
Accepted Answerasked 4 months ago