feat: Add support for custom IAM role policy (#3087)

This commit is contained in:
Bryant Biggs authored and GitHub committed 2024-07-02 10:56:19 -04:00
1 parent 17448b4782
commit 1604c6cdc8
15 files changed
+314 -1

No files matched your search

+16
View File
@@ -80,6 +80,22 @@ variable "iam_role_tags" {
default = {}
}
################################################################################
# IAM Role Policy
################################################################################
variable "create_iam_role_policy" {
description = "Determines whether an IAM role policy is created or not"
type = bool
default = true
}
variable "iam_role_policy_statements" {
description = "A list of IAM policy [statements](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document#statement) - used for adding specific IAM permissions as needed"
type = any
default = []
}
################################################################################
# Fargate Profile
################################################################################