-
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
Support creation of Azure AD Application with "Native" application type #13
Comments
Was looking for the same feature so I started mocking it out. I am fairly new to terraform/azure world, so was looking to bounce off some ideas.
|
@tombuildsstuff if you have any thoughts on this one would appreciate it. Tagged you because you were the last one to commit to this repo :) |
Hi @sshkel, This looks like a good start to me. Do we need to clear the homepage? How does the CLI handle the homepage, does it allow an empty one to be set or does it simply ignore the property in the long run? |
Hi @katbyte, thanks for volunteering to help out ^_^
|
Hmm, so it sounds like the CLI is passing nil, and your saying if you make homepage optional and try: if v, ok := d.GetOk("homepage"); ok {
properties. Homepage = expandADApplicationHomepage(d, name)
} doesn't it work? |
ahhh, no, you are right we can totally do that. Looks like current application module diverged from what cli does. With cli if you don't provide a homepage it sets it to null, while terraform module uses expandADApplicationHomepage that helpfully replaces it to https:// + name, if homepage not defined. I will cleanup my code a little bit and get something for a PR. |
Happy to help @sshkel 🙂 look forward to the PR |
An AAD application of type "native" has the property To keep consistency with the Azure API, I suggest to name the Terraform resource attribute |
@katbyte was wondering if you can give me a hand again. There are a couple things I am stuck with.
|
@dominik-lekse makes sense, happy to refactor things if anyone else doesn't have strong objections. |
how's this coming along? |
@jjgrayston there is a PR currently in review |
@sshkel just wondering if you think the linked PR would be merged soon? Thank you so much for doing the work on this! This is an essential feature for being able to manage AAD apps. |
@praneetloke I am waiting for @katbyte to do a final review, any further tweaks should be minor and quick. |
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 👉 [email protected]. Thanks! |
Please add ability to create azuread_application resource with application type "Native". By default, azuread_application resource is being created with application type is "Web app / API"
For example:
resource "azuread_application" "app" {
name = "app"
type = "native"
}
The text was updated successfully, but these errors were encountered: