Skip to content
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

Updated to full connection string to support all regions #842

Conversation

dayland
Copy link
Contributor

@dayland dayland commented Sep 5, 2024

This pull request primarily focuses on cleaning up and simplifying the configuration and output of storage-related settings in the infrastructure files. The most important changes include the removal of several output variables and the modification of a storage connection string reference.

Removal of Output Variables:

  • infra/core/host/functions/outputs.tf: Removed output variables AzureWebJobsStorage__accountName, AzureWebJobsStorage__blobServiceUri, and STORAGE_CONNECTION_STRING__accountName.
  • infra/outputs.tf: Removed output variables FUNC_AzureWebJobsStorage__accountName, FUNC_AzureWebJobsStorage__blobServiceUri, and FUNC_STORAGE_CONNECTION_STRING__accountName.

Modification of Storage Connection String:

  • infra/core/storage/storage-account.tf: Changed the secret_value to use azurerm_storage_account.storage.primary_connection_string instead of azurerm_storage_account.storage.primary_blob_connection_string.

Script Adjustments:

  • scripts/json-to-env.function.debug.sh: Removed entries related to FUNC_AzureWebJobsStorage__accountName, FUNC_AzureWebJobsStorage__blobServiceUri, and FUNC_STORAGE_CONNECTION_STRING__accountName.

@dayland dayland requested a review from wotey as a code owner September 5, 2024 15:28
@dayland dayland merged commit 7be4943 into vNext-Dev Sep 5, 2024
5 of 6 checks passed
@dayland dayland deleted the dayland/7950-update-storage-connection-string-to-work-in-all-regions branch September 5, 2024 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants