초기화 IAM 사용자 생성
테라폼 초기 세팅을 위한 IAM 사용자 생성
Last updated
Was this helpful?
테라폼 초기 세팅을 위한 IAM 사용자 생성
Last updated
Was this helpful?
Was this helpful?
$ aws configure
AWS Access Key ID [****************MWEY]: < Your Access Key ID >
AWS Secret Access Key [****************2suN]: < Your Secret Access Key >
Default region name [ap-northeast-2]: ap-northeast-2
Default output format [json]: json# vim ~/.aws/credentials
[default]
aws_access_key_id = < Your Access Key ID >
aws_secret_access_key = < Your Secret Access Key >
# vim ~/.aws/config
[default]
region = ap-northeast-2
output = json$ aws sts get-caller-identity | jq -r .
{
"UserId": "XXXXXXXXXXXXXXX",
"Account": "816736805842",
"Arn": "arn:aws:iam::816736805842:user/init-user"
}