feat: new iam-user module and secretsmanager-2025 module
This commit is contained in:
@@ -1,20 +1,44 @@
|
||||
variable "iam-user-name" {}
|
||||
variable "iam-user-policy" {
|
||||
type = string
|
||||
default = ""
|
||||
variable "create_group_name" {
|
||||
type = string
|
||||
description = "Name of new group to be created and add user to"
|
||||
default = null
|
||||
}
|
||||
variable "iam-user-policy-name" {
|
||||
type = string
|
||||
default = ""
|
||||
|
||||
variable "user_name" {
|
||||
type = string
|
||||
description = "Name of IAM user"
|
||||
}
|
||||
variable "create-access-key" {
|
||||
type = bool
|
||||
|
||||
variable "existing_group_name" {
|
||||
type = string
|
||||
description = "Name of existing group to add user to"
|
||||
default = null
|
||||
}
|
||||
variable "create-password" {
|
||||
type = bool
|
||||
|
||||
variable "enable_console_access" {
|
||||
type = bool
|
||||
description = "Enable console access"
|
||||
}
|
||||
variable "managed-policy-arns" {}
|
||||
variable "add-to-groups" {
|
||||
type = list(string)
|
||||
default = []
|
||||
}
|
||||
|
||||
variable "custom_iam_policy_json" {
|
||||
type = string
|
||||
description = "Json encoded aws_iam_policy_document, only applicable when create_group_name is used."
|
||||
}
|
||||
|
||||
variable "attach_iam_policies" {
|
||||
type = list(string)
|
||||
description = "Aws-Managed iam policies to be attached"
|
||||
default = []
|
||||
}
|
||||
|
||||
variable "create_access_key" {
|
||||
type = bool
|
||||
description = "Create access key for user"
|
||||
}
|
||||
|
||||
variable "secretsmanager_kms_arn" {
|
||||
type = string
|
||||
description = "KMS key arn of secretsmanager"
|
||||
}
|
||||
|
||||
data "aws_caller_identity" "this" {}
|
||||
|
||||
Reference in New Issue
Block a user