-
Notifications
You must be signed in to change notification settings - Fork 301
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 data source 'azuread_domains' #27
Conversation
hey @tiwood Thanks for this PR :) I've spent a little bit of time playing with this and on the whole this looks pretty good - however I'm wondering if we want to expose a couple of extra filters here? I've put together this gist showing what I mean - what do you think? Thanks |
Hey @tombuildsstuff, I'm still thinking about what the default output and the parameters should be, as I'm not 100% sold on only filters, as each domain can have multiple of the "only properties" at once. What do you think about the following:
I think this is easier to understand, WDYT? |
@tiwood The only question I've got is around the |
@tombuildsstuff, I've changed the resource like I proposed and updated the original description accordingly. For consistency I've renamed the attribute Again a short summary:
|
Thanks @tiwood, I think you may want to mark the Also |
@katbyte, they actually may be use cases where you want to create objects in the default domain, therefore I've added the option to set Additionally I've added the ConflictsWith validation:
|
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.
Thanks for the updates @tiwood LGTM now 👍
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
This PR adds a new data source for Domains registered in Azure AD.
Example Usage
Example Output
Use cases