-
Notifications
You must be signed in to change notification settings - Fork 327
ecs deploy fails #790
Comments
The variable name should be |
Hello @krantzinator ,
yields :
same using :
Is there a fix or a work around ? Thanks |
@philippelegaldeloitte @krantzinator I tried these in sequence.
|
Thanks for sharing your workaround! We likely need to update the handling of |
Hi @aruntomar and @krantzinator,
deployed successfully to aws-ecs. Note that, at the moment, the 2 variables execution_role_name and task_role_name are indicated as optional |
I added the PR that introduced this behaviour, and both should definitely be optional (with the execution role created automatically if not provided). Probably needs a conditional here and when defining the task definition. Given I introduced this bug I feel compelled to fix it so will look at whipping up a PR :) |
The `execution_role_name` is optional, but this is a required parameter, so is automatically created if it's left blank. Setting `task_role_name` should also be optional, but since this is not required it isn't created automatically, and should not be referenced in the task definition if it's not set. Fixes issue: hashicorp#790
Fix ECS task role name bug (issue #790)
just ran into the same issue, specifying |
Describe the bug
Deploying to ECS fails with the following error.
Steps to Reproduce
I'm using the waypoint-example app
https://github.com/hashicorp/waypoint-examples/blob/main/aws-ecs/nodejs/waypoint.hcl
Expected behavior
Application gets deployed on ECS
Additional context
If i add a specific role_name as the doc then i get the following error
The text was updated successfully, but these errors were encountered: