-
-
Notifications
You must be signed in to change notification settings - Fork 154
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
if exec is enabled, also enable init process #189
Conversation
(if initProcessEnabled is already defined, var.linux_parameters.initProcessEnabled will remain.)
Tough to implement because both results of a conditional must be the same type, but container_definition module expects either the defined object as input variable, or Will be easier when defaults are released. |
Would this work now? |
@kevcube any movement on this one? Worth continuing or should we close it out? |
@Gowiem this is ready for review I based the optional/required state of parameters on this page https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-tmpfs.html This also raises minimum terraform version to 1.3.0, not sure if we're ok with this (cc @nitrocode) |
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.
See comments
@nitrocode now that a decision has been made regarding updating terraform, can this be merged? |
@kevcube can you run |
/test all |
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.
LGTM, but we still need admins to weigh in as nitro mentioned. I'll share with the rest of the maintainers and we'll get it merged soon 👍
/test all |
@kevcube there is a |
/test all |
@kevcube test failure 😔
|
@Gowiem yeah... I had this same error locally but it went away on second apply. It might be a race condition that requires a sleep, but it's deep in the module.alb.module.access_logs... might be due to amazon's recent global changes to S3 permissions |
/test terratest |
Seems breakage can be traced to here cloudposse/terraform-aws-s3-bucket#174 After that is fixed, we will need to update terraform-aws-lb-s3-bucket, terraform-aws-alb, then finally update the test. |
Could this please be reopened/rebased? |
@mschfh please add linux_parameters support in a separate PR. thank you |
Seems PR template is ignored if I create PR from GitHub.dev
what
initProcessEnabled = true
in container definition if user has opted to enable ecs_exec (it is optional, but recommended by AWS)why