GoogleCloudPlatform / terraformer

CLI tool to generate terraform files from existing infrastructure (reverse Terraform). Infrastructure to Code
Apache License 2.0
12.47k stars 1.64k forks source link

Failing to fetch ECS resources when fetching multiple resource types #1886

Closed cwatson-im closed 1 week ago

cwatson-im commented 3 months ago

Running terraformer plan aws --resources=ecs works. terraformer plan aws --resources=iam works terraformer plan aws --resources=route53,iam works

However, terraformer plan aws --resources=ecs,iam does not work. It fetches iam resources correctly, but fails to fetch ECS infrastructure.

The --verbose output seems to indicate that the resources are not being fetched at all.

2024/06/14 19:26:10 aws importing... ecs
2024/06/14 19:26:12 aws done importing ecs
2024/06/14 19:26:12 Number of resources for service ecs: 0

I have not tested with more resources types, so I do not know what all is affected.

Lewiscowles1986 commented 2 months ago

I've seen this too. Luckily you can run multiple times, specifying a single resource at a time

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 1 week ago

This issue was closed because it has been stalled for 7 days with no activity.