-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
New resource - azurerm_active_directory_domain_service_trust
#17045
Conversation
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.
Hi @magodo, thanks for this PR! I've made some minor comments below and I'm going to have a go at running these tests later today.
internal/services/domainservices/active_directory_domain_service_trust_resource.go
Outdated
Show resolved
Hide resolved
website/docs/r/active_directory_domain_service_trust.html.markdown
Outdated
Show resolved
Hide resolved
internal/services/domainservices/active_directory_domain_service_trust_resource_test.go
Show resolved
Hide resolved
@manicminer Is there anything I can do to make this PR merge? |
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.
@magodo Thanks for updating. We don't have a way to easily test at the moment but this LGTM and it's passing for you. Thanks again 👍
This functionality has been released in v3.12.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
This PR adds a new resource
azurerm_active_directory_domain_service_trust
, which is actually a property of the Azure resource: Azure Active Directory Domain Service. This modeling is inspired by the corresponding powershell cmdlet.This resource represents a trust relationship between an AADDS and a on-premise ADDS. To setup the E2E testing, there are following steps needed:
(See: https://docs.microsoft.com/en-us/azure/active-directory-domain-services/tutorial-create-forest-trust)
Therefore, in the acctest, I'm passing in all the needed information which are setup previously via env vars. Also the tests are run in sequential, as at most there is only one AADDS in each tenant.
Test Result