【问题标题】:AWS Spinnaker local install on ec2 issues: You are not authorized to perform this operationAWS Spinnaker 本地安装 ec2 问题:您无权执行此操作
【发布时间】:2017-08-15 01:55:10
【问题描述】:

我按照https://www.spinnaker.io/setup/providers/aws/ 中的说明进行了配置,并启动了 spinnaker 并在 clouddriver.logs 中不断收到此错误

Caused by: com.amazonaws.services.ec2.model.AmazonEC2Exception: You are not authorized to perform this operation. (Service: AmazonEC2; Status Code: 403; Error Code: UnauthorizedOperation; Request ID: fb3144e7-7105-44e1-917c-60c6de551d83)

我的安装环境是 AWS ec2 环境,该实例具有角色 BaseIAMRole 并附加了 SpinnakerAssumeRolePolicyPowerUserAccess

我的 clouddriver.yml 中有管理账户和被管理账户的配置如下:

aws:
  enabled: true
  accounts:
  - name: '07xxxx...'
#    requiredGroupMembership: []
    accountId: '07xxxx...'
    regions: []
    assumeRole: role/spinnakerManaged
  - name: '19xxxx...'
  #    requiredGroupMembership: []
    accountId: '19xxxx...'
    regions: []
    assumeRole: role/spinnakerManaged
  primaryAccount: '07xxxx...'
  defaultKeyPairTemplate: '{{name}}-keypair'
  defaultRegions:
  - name: ap-southeast-2
  defaultAssumeRole: role/spinnakerManaged
  defaults:
    iamRole: BaseIAMRole

我对管理帐户和受管理帐户都有管理员权限...

任何帮助将不胜感激

【问题讨论】:

    标签: amazon-ec2 amazon-iam spinnaker


    【解决方案1】:

    IT 似乎缺少必须附加和设置的 AWS IAM 策略,以便管理角色和托管角色设置生效。 请参考文档:Armory AWS IAM set up

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-10-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-09-30
      • 2018-12-28
      • 1970-01-01
      • 2022-01-22
      相关资源
      最近更新 更多