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

Add reachability E2E test using Terratest #30

Open
dragonfleas opened this issue Oct 18, 2023 · 3 comments
Open

Add reachability E2E test using Terratest #30

dragonfleas opened this issue Oct 18, 2023 · 3 comments
Assignees

Comments

@dragonfleas
Copy link
Contributor

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 dragonfleas self-assigned this Oct 18, 2023
@dragonfleas
Copy link
Contributor Author

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 dragonfleas changed the title Implement testing using terratest/check blocks Add integration tests using terraform's native testing Feb 29, 2024
@dragonfleas
Copy link
Contributor Author

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
Copy link
Contributor Author

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)

@dragonfleas dragonfleas changed the title Add integration tests using terraform's native testing Add reachability E2E test using Terratest Aug 21, 2024
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

1 participant