- Newest
- Most votes
- Most comments
Terraform should be able to support the security profile permissions listed in the Amazon Connect documentation here: https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html
Based on this list, you can choose which ones to add. You can also combine the permissions as per your desired value. For example, "Routing: Routing Profiles" will need all the listed "RoutingPolicies" permissions (Create, Edit and View) declared in your TF file.
Terraform can natively support Connect profiles with the aws_connect_security_profile
resource. Below is an example, but you can find detailed examples and documentation on the Hashicorp documentation registry.
Hashicorp Documentation (external link) https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/connect_security_profile
resource "aws_connect_security_profile" "example" {
instance_id = "aaaaaaaa-bbbb-cccc-dddd-111111111111"
name = "example"
description = "example description"
permissions = [
"BasicAgentAccess",
"OutboundCallAccess",
]
tags = {
"Name" = "Example Security Profile"
}
}
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago