Skip to content

User

User

resource "aws_account" "name" {
user "name" {
...
}
}
Attribute Description
Name name required


type: string
The username of the user.
user "username" {
...
}
IAMPolicy iam_policy

type: string
The IAM policy to apply to the user.
iam_policy = file("./files/policy.json")
ManagedPolicies managed_policies

type: []string
The managed policies to apply to the user.
managed_policies = [
"arn:aws:iam::aws:policy/AmazonSQSFullAccess",
"arn:aws:iam::aws:policy/AmazonEC2FullAccess"
]
Username username

type: string
Output parameters
Password password

type: string
AccessKey access_key

type: AccessKey

These attributes are computed when the config is parsed and applied, and are therefore only known at parsetime or runtime.

Attribute Description