Opsman fails with AWS with error "You are not authorized to perform this operation"
search cancel

Opsman fails with AWS with error "You are not authorized to perform this operation"

book

Article ID: 446466

calendar_today

Updated On:

Products

VMware Tanzu Platform

Issue/Introduction

Apply Changes fail in OpsMan v3.3.x with error:

 "CPI 'create_vm' method responded with error: CmdError{"type":"Bosh::Clouds::CloudError","message":"Failed to create network interface for nic_group 'xxx: You are not authorized to perform this operation."

Environment

Operations Manager v3.3.x

Cause

This is due to additional permissions required for the OpsMan v3.3.x 

Resolution

As per the release notes https://techdocs.broadcom.com/us/en/vmware-tanzu/platform/tanzu-operations-manager/3-3/tanzu-ops-manager/release-notes.html#aws-permissions the following new permissions are required:

  • ec2:CreateNetworkInterface
  • ec2:DeleteNetworkInterface
  • ec2:DescribeNetworkInterfaces
  • ec2:ModifyNetworkInterfaceAttribute