Is there a way to run nf-core/rnaseq -profile test as a non-root user

Getting this error when running the nf-core/rnaseq as the non-root user on an fsx lustre drive with an eks cluster in aws. Is there anyway I can run this as the ec2-user on my instance instead? It also does not use the config file I specify.
Error:

ERROR ~ Error executing process > 'NFCORE_RNASEQ:RNASEQ:ALIGN_STAR:STAR_ALIGN (RAP1_UNINDUCED_REP1)'

Caused by:
  /workspace/nextflow-testing/rnaseq/work/0e/0570647b7f5922d6b76065cff8a146/RAP1_UNINDUCED_REP1._STARpass1

Command run:

nextflow -log nf-core.log run main.nf -profile test --outdir test-results -c /workspace/nex                                                                                tflow-testing/nextflow-og.config