Terraform AWS provider - is it possible to skip IAM role arn validation?

Hello,

I am running Terraform AWS provider against Cloudian S3 system. Everything seems to be working as expected, except IAM roles.

Cloudian uses a different format to define ARN and this seems to be problematic because Terraform AWS provider fails the regex validation for ARN for the role, even though it does exist and it does work when using AWS CLI.

I am trying to use the assume_role option under the provider “aws”. Is there a way to skip the regex validation? Are there any other workarounds? Assuming role does work when using aws cli, so it should work with terraform too if the regex validation for arn wasn’t present.

Looks like you’ve already created a GitHub issue. Adding the link here for reference: