localstack / localstack-terraform-test

Utilities to run Terraform tests against LocalStack
25 stars 6 forks source link

Broken scripts after package changes in terraform-provider-aws #11

Closed giograno closed 1 year ago

giograno commented 2 years ago

When this pipeline has been written, all the tests were located in the aws package. Later, the terraform-provider-aws changed this package structure, breaking our scripts. At the moment, each service has tests located in a distinct package, specifically under internal/service/<service>. Our script was designed to compile a single test executable with: https://github.com/localstack/localstack-terraform-test/blob/a4194078d2905d33ce22997abd85924ab98c414b/bin/install-aws-test#L36 At the moment, we would need to generate multiple executable, one for each service, since the -c flag cannot be used with multiple packages (a proposal for this feature has been accepted though).

macnev2013 commented 1 year ago

Hey @giograno, Thanks for reporting. It has been fixed in the latest version. Please let me know if the issue still persists.