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

Create Execution Role for EC2 Tasks #222

Closed
fdmsantos opened this issue May 12, 2021 · 0 comments
Closed

Create Execution Role for EC2 Tasks #222

fdmsantos opened this issue May 12, 2021 · 0 comments

Comments

@fdmsantos
Copy link
Contributor

I Have several ECS Tasks deployed in EC2 (Not Fargate), but this module don't create the execution role if the task is not Fargate.

Add new variable, something like ec2_task_execution_role create. With this new variable add a new condition to create execution role:

  • If ecs_fargate is true => Create the execution role (Current condition)

  • if ecs_fargate is false but ec2_task_execution_role is true => create the execution rule

If makes sense, i can create the PR

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

No branches or pull requests

2 participants