variable "create_group_name" { type = string description = "Name of new group to be created and add user to" default = null } variable "user_name" { type = string description = "Name of IAM user" } variable "existing_group_name" { type = string description = "Name of existing group to add user to" default = null } variable "enable_console_access" { type = bool description = "Enable console access" } 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" {}