-
-
Notifications
You must be signed in to change notification settings - Fork 246
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
feat: ✨ added restart policies #192
base: main
Are you sure you want to change the base?
feat: ✨ added restart policies #192
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, we need to run some automation to pass our tests. Mind doing the following locally, adding + committing the result, and pushing to your branch?
make init
make readme
Thanks!
|
||
variable "restart_policy" { | ||
type = object({ | ||
enabled = optional(bool) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this variable be valid if something is supplied, but enabled
is left out? Maybe this should be the one required argument to this var?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I'm not sure - I just went off what the AWS Console generated haha
I can make this one non-optional if that is preferred?
Seems |
@JaydenMaalouf I wonder if you have a bad version of |
Turns out the issue was running it on a Windows shell. Switched to WSL and reran make. Seemed to work! |
@JaydenMaalouf could you pls add a description to this input I know that's not a part of the PR changes, but unfortunately, we test all terraform files and have such side effects. |
💥 This pull request now has conflicts. Could you fix it @JaydenMaalouf? 🙏 |
Is there anything that can be done to expedite this PR? It seems like it's already complete, but happy to contribute. |
/terratest |
Hey @JaydenMaalouf any chance you could run Apologies for pinging directly - just very interested in having this feature available :) |
Folks, can we please have this merged? |
@tovbinm not until tests are passing |
what
Adds container restart policies to the container definition
why
This feature was introduced by AWS recently but has not made its way to this container
references