32 lines
679 B
HCL
32 lines
679 B
HCL
variable "policy_name" {
|
|
description = "Name of the IAM policy"
|
|
type = string
|
|
}
|
|
|
|
variable "policy_description" {
|
|
description = "Description of the IAM policy"
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable "actions" {
|
|
description = "List of IAM actions allowed by this policy"
|
|
type = list(string)
|
|
}
|
|
|
|
variable "resources" {
|
|
description = "List of AWS resources this policy applies to"
|
|
type = list(string)
|
|
}
|
|
|
|
variable "conditions" {
|
|
description = "Optional IAM policy conditions"
|
|
type = any
|
|
default = null
|
|
}
|
|
|
|
variable "tags" {
|
|
description = "Tags to apply to the policy"
|
|
type = map(string)
|
|
default = {}
|
|
}
|