Hi there, currently encountering an issue I can't get passed. For an existing stack, when we try to...
g
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
Have you tried a refresh first?
l
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
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
Can you inspect the application ID or log it somewhere? Is it a valid UUID? Maybe its value will give you a clue.