-
-
Notifications
You must be signed in to change notification settings - Fork 355
Support ECS volumes independent of EFS (for init containers) #408
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
Comments
This issue has been automatically marked as stale because it has been open 30 days |
Still valuable 🤗 |
This issue has been automatically marked as stale because it has been open 30 days |
I have the same issue. I need this! |
This issue has been automatically marked as stale because it has been open 30 days |
Still need this. |
This issue has been automatically marked as stale because it has been open 30 days |
Is your request related to a new offering from AWS?
No.
Is your request related to a problem? Please describe.
Currently, the module forces volume configuration to be tied to EFS (
enable_efs
). This means we can't use standard ECS volumes for common use cases like init containers that need to share files with the main Atlantis container.A specific example is needing to configure Atlantis Slack webhooks, which according to the documentation must be configured via the server side config file. This is not the same as the server-side repo config.
ATLANTIS_REPO_CONFIG
is the path to the server-side repo config.ATLANTIS_REPO_CONFIG_JSON
lets you specify the server-side repo config as a JSON string directlyATLANTIS_CONFIG
is the path to the server-side config.Describe the solution you'd like.
Allow volume configuration to work independently of the EFS setting. Something like this:
I'm not 100% sure this code is correct for all cases, but it works in my case.
This enables use cases like:
I can show a full example if necessary.
Describe alternatives you've considered.
enable_efs = true
withcreate = false
- but this isn't possible as creation is tied toenable_efs
. Even if it did work, it would be an ugly solution.The text was updated successfully, but these errors were encountered: