Skip to content

DevFile support for runAsUser

0

We have some startup commands in our DevFile that are required to be run as the executing user (mde-user). I noticed that you only support

  • commandLine
  • component
  • id
  • workingDir

We would also like to see runAsUser supported as well. For now, we have a workaround which I'm posting here which may work for others commandLine: "sudo runuser -l mde-user -c 'my command"

I did attempt to use the runAsUser attribute in my DevFile and saw a schema error violation in my devfile.log.

asked 2 years ago205 views

1 Answer
0

Hello,

Thank you for providing your valuable feedback on the service. I have raised a feature request for adding support for runAsUser with the service team on your behalf. While I am unable to comment on if/when this feature may get released, I request you to keep an eye on our What's New and Blog pages for any new feature announcements.

AWS
SUPPORT ENGINEER

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.