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

Azure User/Group/Role Integration Testing #573

Open
simplyvishal opened this issue Jul 20, 2020 · 1 comment
Open

Azure User/Group/Role Integration Testing #573

simplyvishal opened this issue Jul 20, 2020 · 1 comment
Labels

Comments

@simplyvishal
Copy link

Hi All .I am new to Terratest.We have main.tf which call 3 modules users, group, and role.So this code creates user(s) then associate with the group and lastly it assign role to Group. We have unit test but how and what integration test i can achieve for this using terratest .Thnaks in advance for your reply .

@brikis98 brikis98 added the Azure label Jul 20, 2020
@tsalright
Copy link

@simplyvishal we are working on the CI pipeline for Azure support. See #89 for the whole story. With that we are establishing the pattern for contributing Azure modules in Terratest with examples and tests.

Until there are modules for User, Group, and Role, you can use Terratest to execute your terraform and destroy it like the samples show you and use the Azure SDK for Go to interact with Azure Resources in Go. I believe the specific resource you would use is authorization or authorization preview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants