-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Unknown properties key_vault_secret_id in Microsoft.ContainerApps.WebApi.Views.Version20230501.ContainerAppSecretView are not supported #25820
Comments
I did a quick check, and a |
Hi @dhduvall 👋 First of all, nice stuff, haven't seen this Secondly, can you explain what you expect here to be done? I'm afraid on the provider side it cannot be prevented that these kind of changes and updates happen. My impression is that this is not a provider error, but client-side implementation bug. Because of the extra properties and the usage of the secret object with these extra properties (without filtering) your logic is broken (as too much properties are now send in the PATCH request and the API signals that back). This could probably be fixed by adding in the necessary filters on the secret object in your logic. If you want I could give you the code for that, but shouldn't be too hard to figure out. |
Thank you! I got the idea from #21739 (comment) and expanded on it until it did what I needed. (There's another resource to manage the environment variables, too.)
Oh, of course. I feel thick-headed. I ran into a similar problem when I was putting together what I have, but didn't make the connection. I'll follow up when I've gotten it fixed. Thank you! |
Indeed, that seems to have been the issue, and instantiating a new secret object instead of copying the original works well:
(Well, the Now I just need to go actually use the new functionality, and I should be able to drop this whole |
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. |
Is there an existing issue for this?
Community Note
Terraform Version
tofu 1.6.2
AzureRM Provider Version
3.98.0
Affected Resource(s)/Data Source(s)
azurerm_container_app
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
A secret named
extra-secret
should have been added the container app.Actual Behaviour
Steps to Reproduce
No response
Important Factoids
No response
References
Looks like this might have been introduced by #24773. At least, it works with 3.97.0 and not with 3.98.0 or 3.101.0.
The text was updated successfully, but these errors were encountered: