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

InvalidParameterException in aws_ecs_service #23941

Closed
guidoffm opened this issue Jan 24, 2020 · 6 comments
Closed

InvalidParameterException in aws_ecs_service #23941

guidoffm opened this issue Jan 24, 2020 · 6 comments

Comments

@guidoffm
Copy link

Getting an exception with no further details:

module.terraform.aws_ecs_task_definition.service_definition: Creating...
module.terraform.aws_ecs_task_definition.service_definition: Creation complete after 0s [id=svc1-fargate-definition-1]
module.terraform.aws_ecs_service.ecs_service: Creating...

Error: InvalidParameterException:  "svc1-fargate"
@guidoffm
Copy link
Author

Duplicate of #23920

@guidoffm
Copy link
Author

Run with
TF_LOG=trace terraform apply
you see the cause of the Exception. At the moment the cause of the problem is swallowed by Terraform and it should be displayed.

@guidoffm guidoffm reopened this Jan 24, 2020
@guidoffm
Copy link
Author

In the trace log for #23920 you see the cause too.

@guidoffm
Copy link
Author

I get the exception cause displayed using this command:

TF_LOG=trace terraform apply -auto-approve 2>&1 |grep aws-sdk-go |grep InvalidParameterException|grep message

@bflad
Copy link
Contributor

bflad commented Jan 24, 2020

Hi @guidoffm 👋 Thank you for reporting this issue and sorry you are running into trouble. While you did not provide the information from the bug report template, this appears very similar to a regression in version 2.45.0 of the Terraform AWS Provider (hashicorp/terraform-provider-aws#11682) and was resolved in Terraform AWS Provider version 2.46.0, which was released January 23rd. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. 👍

@bflad bflad closed this as completed Jan 24, 2020
@ghost
Copy link

ghost commented Mar 28, 2020

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.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Mar 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants