Я регистрирую один JSON
файл с настройкой ecs
aws ecs register-task-definition --cli-input-json file://task-definition.json --region us-west-2
Выдает ошибку
Невозможно найти учетные данные. Вы можете настроить учетные данные, выполнив «aws configure»
Затем я выполняю aws configure
и настраиваю доступ, секрет и регион с выходным форматом по умолчанию. как
AWS Access Key ID [****************WBCK]:
AWS Secret Access Key [****************wrt1]:
Default region name [us-west-2]:
Default output format [None]: text
ubuntu@ip-172-31-27-83:~/SampleDocker$ aws ecs register-task-definition --cli-input-json file://task-definition.json --region us-west-2
Still, I am occurring below error -
An error occurred (AccessDeniedException) when calling the RegisterTaskDefinition operation: User: arn:aws:iam::581143930612:user/Nike is not authorized to perform: ecs:RegisterTaskDefinition on resource: *
Какие недостающие роли? Любые предложения