将AWS账户添加到Stackdriver Premium监控将导致“用户未授权错误”

我正在按照Stackdriver指示添加要监控的AWS账户:

Authorize AWS for Stackdriver Log in to your Amazon IAM console and click Roles. Click “Create New Role” Enter Stackdriver as the “Role Name” and click “Next Step.” Select “Role for Cross-Account Access” Select “Allows IAM users from a 3rd party AWS account to access this account.” Enter the following: Account ID xxx External ID xxx Require MFA unchecked Select “ReadOnlyAccess” from the policy template list and click “Next Step.” Copy the “Role ARN” value and paste it in the AWS Role ARN field below. Click “Create Role” in the Amazon IAM console before clicking "Add AWS account" below. 

在AWS中创buildangular色并将angular色ARN粘贴回堆栈驱动器后,当我点击stackdriver中的“添加AWS账户”时,出现“用户未被授权”错误。

什么用户没有被授权? Stackdriver是否不能承担AWSangular色? 我的Stackdriver账户是不是可以添加AWS账户? 这是最没用的错误信息。

如果有问题,我通过AWS账户代表login到我的AWS账户。 这会干扰堆栈驱动集成吗?

在这里输入图像说明

将AWS账户添加到Stackdriver时, 会创build一个“AWS connection” 项目 。 因此,要向Stackdriver添加新的AWS账户,用户需要具有组织pipe理员和项目创build者权限。

添加自己作为组织pipe理员 ,然后作为项目创build者 。 那么你应该可以添加一个AWS账户到Stackdriver。