I'm studying AWS EKS and I'm following the ufficial
CodePudding user response:
After run the command
aws iam create-policy --policy-name AWSLoadBalancerControllerIAMPolicyTest --policy-document file://iam_policy.json
you get a response like this:
{
"Policy": {
"PolicyName": "AWSLoadBalancerControllerIAMPolicyTest",
"PolicyId": "ANPA2BMVX57HOOWXXXXXX",
"Arn": "arn:aws:iam::<ACCOUNT_ID>:policy/AWSLoadBalancerControllerIAMPolicyTest",
"Path": "/",
"DefaultVersionId": "v1",
"AttachmentCount": 0,
"PermissionsBoundaryUsageCount": 0,
"IsAttachable": true,
"CreateDate": "2022-01-XXTXX:XX:XX 00:00",
"UpdateDate": "2022-01-XXTXX:XX:XX 00:00"
}
}
Make sure the account you are using when running the command is the same you are checking on the web console.