Skip to content

Add CONTROL_PLANE_REGION to common app settings#182

Merged
kendlelam680 merged 1 commit into
mainfrom
kendle.lam/azure-control-plane-region-env
May 7, 2026
Merged

Add CONTROL_PLANE_REGION to common app settings#182
kendlelam680 merged 1 commit into
mainfrom
kendle.lam/azure-control-plane-region-env

Conversation

@kendlelam680
Copy link
Copy Markdown
Contributor

@kendlelam680 kendlelam680 commented May 7, 2026

Summary

All three LFO tasks currently use the CONTROL_PLANE_REGION env var. The PR moves this into the common app settings shared by all three control plane function apps. Previously only scaling-task got it, so the other two function apps couldn't read their own region from env.

Makes the change for the arm template and python installer.

  • ARM/Bicepazure/logging_install/bicep/control_plane.bicep: moved CONTROL_PLANE_REGION_SETTING out of scalingTask's app-specific settings into commonAppSettings.
  • Python imperative installerazure/logging_install/src/azure_logging_install/resource_setup.py: moved CONTROL_PLANE_REGION out of the scaling-task branch in set_function_app_env_vars into common_settings.

@kendlelam680 kendlelam680 requested a review from a team as a code owner May 7, 2026 15:12
@kendlelam680 kendlelam680 requested a review from benblaustein May 7, 2026 15:12
@kendlelam680 kendlelam680 marked this pull request as draft May 7, 2026 15:13
@kendlelam680 kendlelam680 marked this pull request as ready for review May 7, 2026 19:59
All three control plane function apps (resource-task, diagnostic-settings-task,
scaling-task) now receive CONTROL_PLANE_REGION via commonAppSettings, not just
scaling-task. Mirrors the change across both deployment paths so they stay in
lockstep:

- ARM/Bicep (control_plane.bicep, dist/azuredeploy.json)
- Python imperative installer (resource_setup.py)

Rebuilt dist artifacts whose contents bundle logging_install/src:
- logging_install/dist/azure_logging_install.pyz
- integration_quickstart/dist/azure_app_registration_quickstart.pyz
- integration_quickstart/dist/azure_log_forwarding_quickstart.pyz

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@kendlelam680 kendlelam680 force-pushed the kendle.lam/azure-control-plane-region-env branch from 6b60bfb to d50ed51 Compare May 7, 2026 20:05
@kendlelam680 kendlelam680 merged commit 7cfeb70 into main May 7, 2026
13 checks passed
@kendlelam680 kendlelam680 deleted the kendle.lam/azure-control-plane-region-env branch May 7, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants