【发布时间】:2018-11-10 14:24:34
【问题描述】:
我将通过 AWS CodePipeline 的 aws cli 命令 (https://docs.aws.amazon.com/cli/latest/reference/apigateway/put-rest-api.html) 更新现有的 Api 网关,并解决 CodeBuild 遇到的问题
An error occurred (AccessDeniedException) when calling the GetRestApis operation: User: arn:aws:sts:<skipped_text> is not authorized to perform: apigateway:GET on resource: arn:aws:apigateway:us-west-2::/restapis
是否可以使用 CodePipeline 和 aws cli 通过代码更新 Api 网关? 或者您使用什么作为更新 apigateway 的工具?
【问题讨论】:
-
已解决。问题在于我需要的操作的角色策略
标签: amazon-web-services aws-api-gateway aws-code-deploy aws-codepipeline aws-codebuild