-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Adding a basic framework for a new Azure module #333
Adding a basic framework for a new Azure module #333
Conversation
Includes support for: - Getting authorized access based on env variables or arguments - 2 basic tests against Azure Virtual Machines, just as a starting point
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.
This looks like a great start. Thank you! 👍
I left a few minor code style comments in the PR. The only major thing before merging this is:
- Add a simple, minimal Azure example to the
examples
folder. - Add a corresponding test for that example to the
test
folder. - Update the root README to mention Azure support.
Work has been busy, still working on this. Also duplicating region selection functionality from the AWS module into the Azure module, small complexities there. |
Renamed variables for easier reading Refactored Azure tests to use assert/require from Testify Updated GetSizeOfVirtualMachineE to return custom type instead of string casting Adding region helpers and respective tests to mimic AWS module
Renaming Azure subscription ID env var to match Terraform provider spec Fixing subnet mistake in Terraform example code
This is ready for re-review now. Thanks! |
@mcalhoun Could you review this one? You have more experience with Azure than I do! |
How's it going? Anyone had a chance to take a look here? |
Released as v0.18.4 |
Includes support for:
The idea here was just to socialize an approach to the beginnings of an Azure module. In true open source fashion, someone else contributed an approach to the Azure model 2 hours before me here haha!
I'm trying to approach the testing methods in a way that somewhat closely aligns to the existing methods for AWS, just to keep the style in line with the rest of the suite. Happy to take consolidated feedback from you (the maintainers) and work together with the author of the other PR on an approach that will accelerate Azure capabilities in Terratest.
Issue link: #89
Related PR: #332