Skip to content

add RESOURCE_PROCESSOR_VMSS_SKU to inputs converted to TF_VAR_#4936

Merged
ChrisChapman-gh merged 4 commits into
mainfrom
4934-allow-setting-resource_processor_vmss_sku-from-github-variable
Jun 19, 2026
Merged

add RESOURCE_PROCESSOR_VMSS_SKU to inputs converted to TF_VAR_#4936
ChrisChapman-gh merged 4 commits into
mainfrom
4934-allow-setting-resource_processor_vmss_sku-from-github-variable

Conversation

@ChrisChapman-gh

Copy link
Copy Markdown
Collaborator

#4934

What is being addressed

Allowing resource_processor_vmss_sku to be set from GitHub vars as well as via config.yaml

How is this addressed

Following the pattern established for resource_processor_number_processes_per_instance

@github-actions

github-actions Bot commented Jun 19, 2026

Copy link
Copy Markdown

Unit Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 7c2df1b.

♻️ This comment has been updated with latest results.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the CI/CD workflow inputs-to-TF_VAR_ conversion so resource_processor_vmss_sku can be overridden via GitHub Environment variables (in addition to config.yaml), enabling E2E runs in regions where the default VM size isn’t available.

Changes:

  • Pass RESOURCE_PROCESSOR_VMSS_SKU from GitHub environment variables into the reusable deploy workflow.
  • Add a corresponding input to the devcontainer_run_command composite action and map it to TF_VAR_resource_processor_vmss_sku with a default of Standard_B2s.
  • Document the new GitHub variable in setup docs (with some doc fixes still needed).

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
docs/tre-admins/setup-instructions/workflows.md Documents RESOURCE_PROCESSOR_VMSS_SKU for workflow-based deployments.
docs/tre-admins/setup-instructions/cicd-pre-deployment-steps.md Documents RESOURCE_PROCESSOR_VMSS_SKU for CI/CD pre-deployment steps.
docs/tre-admins/environment-variables.md Updates environment variable reference (currently introduces a duplicate row that needs consolidation).
.github/workflows/deploy_tre_reusable.yml Wires GitHub env var RESOURCE_PROCESSOR_VMSS_SKU into the action inputs.
.github/actions/devcontainer_run_command/action.yml Adds action input and exports TF_VAR_resource_processor_vmss_sku for Terraform usage.

Comment thread docs/tre-admins/setup-instructions/workflows.md Outdated
Comment thread docs/tre-admins/setup-instructions/cicd-pre-deployment-steps.md Outdated
Comment thread docs/tre-admins/environment-variables.md Outdated
@ChrisChapman-gh

Copy link
Copy Markdown
Collaborator Author

Not run test (smoke) as that will run the workflows/actions from the main branch and not pick up the changes in this PR.
Have run the equivalent branch deploy which completed successfully

https://github.com/microsoft/AzureTRE/actions/runs/27815402091

suggesting we test-force-approve

@marrobi marrobi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - agree, force approve this.

@ChrisChapman-gh

Copy link
Copy Markdown
Collaborator Author

/test-force-approve

@github-actions

Copy link
Copy Markdown

🤖 pr-bot 🤖

✅ Marking tests as complete (for commit 7e98ecf)

(in response to this comment from @ChrisChapman-gh)

@jonnyry jonnyry left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just the CHANGELOG to update

@ChrisChapman-gh

ChrisChapman-gh commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator Author

Thanks @jonnyry, change log updated.

@ChrisChapman-gh

Copy link
Copy Markdown
Collaborator Author

/test-force-approve

@github-actions

Copy link
Copy Markdown

🤖 pr-bot 🤖

✅ Marking tests as complete (for commit 7c2df1b)

(in response to this comment from @ChrisChapman-gh)

@jonnyry jonnyry left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

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.

4 participants