synapsestudios / terraform-aws-ecs-service

MIT License
1 stars 0 forks source link

Add reachability E2E test using Terratest #30

Open dragonfleas opened 1 year ago

dragonfleas commented 1 year ago

Implement the following tests:

End to End tests verifying that the ECS service can deploy and run using a nginx web server and is reachable with a public IP Check block assertion that returns an error if the task definition provided cannot be used/isn't parsable

dragonfleas commented 9 months ago

I think we are going to pivot and upgrade the modules to use Terraform 1.7.X and use native testing functionality first. If we encounter any big restrictions or need to just use terratest to integration testing or smoke tests we will do that.

dragonfleas commented 2 months ago

Closing as we're going to opt to keep using Terratest until something promising comes from OpenTofu or Hashicorp, right now the current testing implementation sucks.

dragonfleas commented 2 months ago

On second thought, I'm going to re-purpose this issue so we can track our findings of ☝🏼 (that being terraform's native testing suite not being great)