Hi there, currently encountering an issue I can't get passed. For an existing stack, when we try to update, we receive an error message: failed to upgrade resource state: parsing ID for `azuread_application`: uuid string is wrong length. This errors on azureadindex/applicationApplication. We have multiple stacks in the project and it is only failing for one of them. Any ideas?
m
microscopic-arm-69377
06/17/2024, 6:31 PM
Have you tried a refresh first?
l
little-cartoon-10569
06/17/2024, 7:49 PM
Where are you getting the application ID from? Is it stack config? Check that any values you're setting, from config or code, are correct.
g
great-winter-45034
06/17/2024, 8:19 PM
The application ID is coming from the App creation. When the app is created, it is set to a variable. We are passing that variable for the azureadindex/applicationApplication creation. I have tried refresh, but the same error persists. We use the same code for the other stacks and have no issues. It is just this one stack. I exported the stack and compared it to a stack that is working. I don't see any differences between them.
l
little-cartoon-10569
06/17/2024, 8:49 PM
Can you inspect the application ID or log it somewhere? Is it a valid UUID? Maybe its value will give you a clue.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.