-
Notifications
You must be signed in to change notification settings - Fork 725
Support for custom endpoints #371
Support for custom endpoints #371
Conversation
Hello @hmalphettes. Thanks for your contribution. Is there an easy way to test this? I have concerns that we might break this feature in future commits, if we simply cannot verify it. |
Hi @svenwltr - I am not really sure actually.
I actually don't have an AWS account active at the moment. We could definitely test scanning an AWS account using the default mechanism and using the custom endpoints: as long as we get the same list of resources back, I think we are good to go. If this makes sense, I'll add an example configuration for that. |
@hmalphettes This would be fine for me, if we add a note to the README, that endpoints are only supported as best effort and having an this example. |
d2f6426
to
36b8a3c
Compare
Hi @svenwltr and sorry for dropping the ball for so long. |
@hmalphettes lets rename demo10 to stratoscale :) |
The custom endpoints support was tested against a stratoscale demo cluster.
@rebuy-de/prp-aws-nuke Please review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some doc and formatting issues from me 🙂
Co-Authored-By: Philipp Trulson <[email protected]>
@hmalphettes thank you very much for the contribution, will be in the next release. <3 |
This patch provides the ability to use aws-nuke against non default AWS endpoint.
Terraform's aws provider supports custom endpoints here: https://www.terraform.io/docs/providers/aws/guides/custom-service-endpoints.html
It could be used for integration testing pointing at "local stack".
In my case, I am pointing aws-nuke at Stratoscale clusters.
I am not very happy with the current implementation in this PR, although it does work for our use case.
If it is useful for the community let me know. Happy to refactor according to your guidance and in any case, thanks again for very useful tool.