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

0.8.1: ECS import issues #210

Closed
jalbstmeijer opened this issue Oct 2, 2019 · 2 comments
Closed

0.8.1: ECS import issues #210

jalbstmeijer opened this issue Oct 2, 2019 · 2 comments

Comments

@jalbstmeijer
Copy link

using:
terraformer-0.8.1
terraform-0.12.9
terraform-provider-aws_v2.3.0

while running terraform plan:

Error: Unsupported argument
on ecs_cluster.tf
An argument named "task_definition" is not expected here.

  • Had to comment it for now

Error: expected propagate_tags to be one of [SERVICE TASK_DEFINITION ], got NONE
on ecs_service.tf

  • had to change it to: propagate_tags = "SERVICE" , for now

Error: Unsupported argument
on ecs_task_definition.tf
An argument named "task_definition" is not expected here.

  • had to comment it for now

Error: "revision": this field cannot be set
on ecs_task_definition.tf

  • had to comment it for now
@jalbstmeijer
Copy link
Author

Error: expected propagate_tags to be one of [SERVICE TASK_DEFINITION ], got NONE
on ecs_service.tf

had to change it to: propagate_tags = "SERVICE" , for now

Commenting propagate_tags worked better for me.. it seems an optional attribute and NONE is not a valid value.

@meshuga
Copy link
Contributor

meshuga commented Oct 5, 2019

For reference: iam_role argument in aws_ecs_service is also generating an error - hashicorp/terraform-provider-aws#10332.

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

3 participants