You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating an azuread_application resource, we define the display name. If we try to redeploy the same resource, since the applicationId is created automatically and is different from the one deployed the first time, terraform creates a new application with the same name but a different applicationId.
I would expect to at least have a parameter to specify if I want a new resource to be created or I'm just redeploying.
Is the applicationId the only way to check if there's an existing application?
The text was updated successfully, but these errors were encountered:
Unfortunately the API works on GUID IDs. For now you can import the application via the app ID. In the future we could add a flag check_name_availiblity/prevent_duplicate_names which checks if the name is in use during creation and fails if it is.
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!
ghost
locked and limited conversation to collaborators
Jul 23, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When creating an azuread_application resource, we define the display name. If we try to redeploy the same resource, since the applicationId is created automatically and is different from the one deployed the first time, terraform creates a new application with the same name but a different applicationId.
I would expect to at least have a parameter to specify if I want a new resource to be created or I'm just redeploying.
Is the applicationId the only way to check if there's an existing application?
The text was updated successfully, but these errors were encountered: