- Fixed styles after [#26](https://github.com/terraform-aws-modules/terraform-aws-iam/issues/26)
- Fixed styles after [#26](https://github.com/terraform-aws-modules/terraform-aws-iam/issues/26)
- iam-user,iam-assumable-role,iam-assumable-roles,iam-assumable-roles-with-saml tags support ([#26](https://github.com/terraform-aws-modules/terraform-aws-iam/issues/26))
- iam-user,iam-assumable-role,iam-assumable-roles,iam-assumable-roles-with-saml tags support ([#26](https://github.com/terraform-aws-modules/terraform-aws-iam/issues/26))
description="Indicates whether passwords in the account expire. Returns true if max_password_age contains a value greater than 0. Returns false if it is 0 or not present."
description="Indicates whether passwords in the account expire. Returns true if max_password_age contains a value greater than 0. Returns false if it is 0 or not present."
description="Indicates whether passwords in the account expire. Returns true if max_password_age contains a value greater than 0. Returns false if it is 0 or not present."
description="Indicates whether passwords in the account expire. Returns true if max_password_age contains a value greater than 0. Returns false if it is 0 or not present."
description="Whether to create IAM user login profile"
description="Whether to create IAM user login profile"
type=bool
default=true
default=true
}
}
variable"create_iam_access_key"{
variable"create_iam_access_key"{
description="Whether to create IAM access key"
description="Whether to create IAM access key"
type=bool
default=true
default=true
}
}
variable"name"{
variable"name"{
description="Desired name for the IAM user"
description="Desired name for the IAM user"
type=string
}
}
variable"path"{
variable"path"{
description="Desired path for the IAM user"
description="Desired path for the IAM user"
type=string
default="/"
default="/"
}
}
variable"force_destroy"{
variable"force_destroy"{
description="When destroying this user, destroy even if it has non-Terraform-managed IAM access keys, login profile or MFA devices. Without force_destroy a user with non-Terraform-managed access keys and login profile will fail to be destroyed."
description="When destroying this user, destroy even if it has non-Terraform-managed IAM access keys, login profile or MFA devices. Without force_destroy a user with non-Terraform-managed access keys and login profile will fail to be destroyed."
type=bool
default=false
default=false
}
}
variable"pgp_key"{
variable"pgp_key"{
description="Either a base-64 encoded PGP public key, or a keybase username in the form keybase:username. Used to encrypt password and access key."
description="Either a base-64 encoded PGP public key, or a keybase username in the form keybase:username. Used to encrypt password and access key."
type=string
default=""
default=""
}
}
variable"password_reset_required"{
variable"password_reset_required"{
description="Whether the user should be forced to reset the generated password on first login."
description="Whether the user should be forced to reset the generated password on first login."
type=bool
default=true
default=true
}
}
variable"password_length"{
variable"password_length"{
description="The length of the generated password"
description="The length of the generated password"
type=number
default=20
default=20
}
}
variable"upload_iam_user_ssh_key"{
variable"upload_iam_user_ssh_key"{
description="Whether to upload a public ssh key to the IAM user"
description="Whether to upload a public ssh key to the IAM user"
type=bool
default=false
default=false
}
}
variable"ssh_key_encoding"{
variable"ssh_key_encoding"{
description="Specifies the public key encoding format to use in the response. To retrieve the public key in ssh-rsa format, use SSH. To retrieve the public key in PEM format, use PEM"
description="Specifies the public key encoding format to use in the response. To retrieve the public key in ssh-rsa format, use SSH. To retrieve the public key in PEM format, use PEM"
type=string
default="SSH"
default="SSH"
}
}
variable"ssh_public_key"{
variable"ssh_public_key"{
description="The SSH public key. The public key must be encoded in ssh-rsa format or PEM format"
description="The SSH public key. The public key must be encoded in ssh-rsa format or PEM format"
type=string
default=""
default=""
}
}
...
@@ -65,5 +77,12 @@ variable "tags" {
...
@@ -65,5 +77,12 @@ variable "tags" {
variable"permissions_boundary"{
variable"permissions_boundary"{
description="The ARN of the policy that is used to set the permissions boundary for the user."
description="The ARN of the policy that is used to set the permissions boundary for the user."
type=string
default=""
default=""
}
}
variable"tags"{
description="A map of tags to add to all resources."