Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support FireLens configuration #93

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kaorimatz
Copy link
Collaborator

This adds a new parameter called firelens_configuration, which maps to ContainerDefinition's firelensConfiguration, to the container definition.

References:

user = container.user
# Set user to '0' if not specified, otherwise a new task definition is
# always registered because user is set to '0' on a firelens container.
# If a user other than root is specified on a firelens container,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The exception I've got when specifying a non-root user is:

Aws::ECS::Errors::ClientException: If 'user' field is specified on firelens container, then 'UID' has to be '0'.

@fukajun
Copy link

fukajun commented May 17, 2023

How is this PR? I would like to merge this PR.

@kaorimatz kaorimatz force-pushed the support-firelens-configuration branch from 1f1fd36 to 8e86753 Compare May 17, 2023 20:42
@kaorimatz
Copy link
Collaborator Author

@eagletmt Would you mind taking a look at the change, because it's been a while since I last worked on this project? 🙇‍♂️

The failure in CI / RuboCop is not related to this change. I can push a fix to the master branch if that's okay with you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants