Terraform import aws_customer_gateway using assume roles

There is existing aws_customer_gateways inside an AWS federated structured account.

When the following, terraform import is done, a failure occurs when the state is refreshed:

terraform import aws_customer_gateway.cgw_ter1 cgw-xxxxx
aws_customer_gateway.cgw_ter1: Importing from ID "cgw-xxxxx"...
aws_customer_gateway.cgw_ter1: Import complete!
  Imported aws_customer_gateway
aws_customer_gateway.cgw_ter1: Refreshing state... [id=cgw-xxxxx]
Error: Error finding CustomerGateway: cgw-xxxxx

Can the terraform import support using assume roles ?