-
Notifications
You must be signed in to change notification settings - Fork 8
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
Identifier URI created with ApplicationIdentifierUri is lost on Application update #1036
Comments
Hi @lukaskabrt, thank you for reporting this. This behavior is expected but unfortunately we failed to document it in this case. The problem is that application identifier URIs can be managed either through the Application resource or as stand-alone resources (as in your case). You can either manage your ApplicationIdentifierUri entirely inside the |
Hi @thomas11, thanks you for your suggestion, unfortunately it seems, that the approach with I am no expert on Pulumi internals, but from the linked docs it makes sense.
My understanding is that At the moment I am using the second approach and manage application identifier URIs in the |
Hi @lukaskabrt, it looks like I made a small mistake in my code snippet. It should be
Not quite. When some other property changes and the resource is updated, the property marked with ignoreChanges will be updated with its original value from creation, if any. So if it wasn't specified at all at creation, it should be ignored. |
What happened?
I am trying to set Identifier URI for Azure AD Application using ApplicationIdentifierUri
This code works as expected and creates the application with the specified Identifier URI. However, if I make any change to the Application resource e.g.
and run
pulumi up
the change is applied, but the Identifier URI is removed from the application in Azure AD. TheApplicationIdentifierUri
still exists in the Pulumi stack, but Identifier URI doesn't exist in the actual Azure AD application.Example
Please, see description.
Output of
pulumi about
CLI
Version 3.114.0
Go Version go1.22.2
Go Compiler gc
Plugins
KIND NAME VERSION
language dotnet unknown
Host
OS Microsoft Windows 11 Enterprise
Version 10.0.22621 Build 22621
Arch x86_64
This project is written in dotnet: executable='C:\Program Files\dotnet\dotnet.exe' version='8.0.300-preview.24203.14'
Dependencies:
NAME VERSION
Pulumi 3.62.0
Pulumi.AzureAD 5.48.0
Pulumi.AzureNative 2.38.0
Pulumi.Random 4.16.0
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: