-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Not able to specify task definition in ECS service with external deployment #32562
Labels
bug
Addresses a defect in current functionality.
service/ecs
Issues and PRs that pertain to the ecs service.
Comments
tdekoning93
added
bug
Addresses a defect in current functionality.
needs-triage
Waiting for first response or review from a maintainer.
labels
Jul 18, 2023
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
github-actions
bot
added
the
service/ecs
Issues and PRs that pertain to the ecs service.
label
Jul 18, 2023
My bad. Its ecs_task_set |
github-actions
bot
removed
the
needs-triage
Waiting for first response or review from a maintainer.
label
Jul 18, 2023
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bug
Addresses a defect in current functionality.
service/ecs
Issues and PRs that pertain to the ecs service.
Terraform Core Version
1.5.3
AWS Provider Version
5.8.0
Affected Resource(s)
aws_ecs_service
Expected Behavior
Possibility to supply a task definition or family to the service. This is mandatory from the console, so I wouldn't know why its not possible to run a task through Terraform. Maybe I'm doing something wrong here and just need the proper explanation, but I can't figure out how to run a task from Terraform using the aws_ecs_service resource.
Actual Behavior
TaskDefinition must be blank.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
resource "aws_ecs_service" "mosquitto" {
name = "mosquitto"
cluster = aws_ecs_cluster.default.id
task_definition = aws_ecs_task_definition.mosquitto.arn
desired_count = 1
propagate_tags = "TASK_DEFINITION"
deployment_controller {
type = "EXTERNAL"
}
}
Steps to Reproduce
Literally putting in the mentioned config
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: