azurerm_logic_app_standard - fix issue when updating an app with file share mount#31668
azurerm_logic_app_standard - fix issue when updating an app with file share mount#31668ziyeqf wants to merge 5 commits into
azurerm_logic_app_standard - fix issue when updating an app with file share mount#31668Conversation
…MountUpdate` test case
|
test over latest change: https://hashicorp.teamcity.com/buildConfiguration/TF_AzureRM_AZURERM_SERVICE_PUBLIC_LOGIC/630958 |
| storage_account_access_key = azurerm_storage_account.test.primary_access_key | ||
| } | ||
|
|
||
| resource "azapi_resource_action" "logicapp_storage_config" { |
There was a problem hiding this comment.
The acctest failed here because you haven't configured azapi provider block
There was a problem hiding this comment.
updated, but tbh I'm a bit concerned invovling azapi provider in the test
|
This draft pull request is being closed because it has been inactive for 60 days ⏳. This helps our maintainers find and focus on the active contributions. If you would like to continue working on this, please reopen the pull request and mark it as ready for review when complete. Thank you! |
| "azapi": { | ||
| VersionConstraint: "=2.8.0", | ||
| Source: "azure/azapi", | ||
| }, |
There was a problem hiding this comment.
can we please remove this? we should not be adding tests involving azAPI
| siteEnvelope.SiteConfig = existingSiteConfig | ||
|
|
||
| // The `AzureStorageAccounts` received does not contain `endpoint`, which is required in some cases. | ||
| // Since we currently do not support this property, we remove it from the payload. |
There was a problem hiding this comment.
technically this is
| // Since we currently do not support this property, we remove it from the payload. | |
| // Since the rest API spects do not contain this property, we remove it from the payload. |

Community Note
Description
The
endpointis required for file share mount, however the property is not exposed on rest api spec. remove it from the update payload to avoid override.rest api side issue: Azure/azure-rest-api-specs#40128
PR Checklist
For example: “
resource_name_here- description of change e.g. adding propertynew_property_name_here”Changes to existing Resource / Data Source
Testing
the failed one shall be not related to this change.
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_logic_app_standard- removeAzurestorageaccountfrom update payload [GH-00000]This is a (please select all that apply):
Related Issue(s)
Fixes #31606
AI Assistance Disclosure
Rollback Plan
If a change needs to be reverted, we will publish an updated version of the provider.
Changes to Security Controls
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.
Note
If this PR changes meaningfully during the course of review please update the title and description as required.