terraform-provider-netapp-cloudmanager
terraform-provider-netapp-cloudmanager copied to clipboard
Assume Role does not work for NetApp connector & CVO deployment
Hello
We are trying to deploy Connector and CVO via assume role as shown below but it returns an error 'UnauthorizedOperation'. When we deploy the connector and CVO with IAM user, the deployment works fine. Both IAM user and Assume role use the same policy. AWS resources are also created with the assume role but only netapp-cloudmanager_connector_aws and netapp-cloudmanager_cvo_aws are not created
Can NetApp resources be deployed by Assume role rather than IAM user?
provider "aws" {
region = var.region
assume_role {
role_arn = "arn:aws:iam::${var.account_id}:role/tfe-netapp-deploy"
session_name = "tfe-netapp"
}
}
Error

Regards Moon
Yes, this is not supported at present. This is something we are currently working on for FSxN.
@lonico Thank you for the confirmation. We will use IAM user for now
DEVOPS-5351