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

Update Core Subnets Creation and upgrade core Terraform to 4.14.0 #4255

Merged
merged 36 commits into from
Feb 11, 2025

Conversation

ShakutaiGit
Copy link
Collaborator

@ShakutaiGit ShakutaiGit commented Jan 6, 2025

What is being addressed

Summary of Main Changes:

  1. Terraform Provider Upgrade

    • The AzureRM provider is upgraded from version 3.117.0 to 4.14.0, adjusting various Terraform files and lock files accordingly.
  2. Network Subnets Refactor

    • Subnets are now defined inline within the azurerm_virtual_network resource instead of using separate azurerm_subnet resources.
    • Network Security Group (NSG) associations are handled through the security_group property directly in each subnet block, removing the need for individual azurerm_subnet_network_security_group_association resources.
    • Outputs now reference subnet IDs through a local.subnet_ids_map rather than separate subnet resources.
  3. Migration Added

Testing
These changes were validated by:

Copy link

github-actions bot commented Jan 6, 2025

Unit Test Results

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

Results for commit a24ae1b.

♻️ This comment has been updated with latest results.

@ShakutaiGit ShakutaiGit changed the title Update Azure RM provider version and refactor subnet IP range filters… Update Core Subnet Creation and upgrade core Terraform to 4.14.0 Jan 6, 2025
@ShakutaiGit ShakutaiGit changed the title Update Core Subnet Creation and upgrade core Terraform to 4.14.0 Update Core Subnets Creation and upgrade core Terraform to 4.14.0 Jan 6, 2025
@ShakutaiGit
Copy link
Collaborator Author

/test-extended

Copy link

github-actions bot commented Jan 6, 2025

🤖 pr-bot 🤖

🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/12637008228 (with refid 1112296b)

(in response to this comment from @ShakutaiGit)

Copy link
Member

@marrobi marrobi left a comment

Choose a reason for hiding this comment

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

Blocking this to ensure it doesn't get merged without upgrade considerations. But supportive if it works.

@ShakutaiGit
Copy link
Collaborator Author

/test-extended

Copy link

github-actions bot commented Jan 7, 2025

🤖 pr-bot 🤖

🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/12648030988 (with refid 1112296b)

(in response to this comment from @ShakutaiGit)

@ShakutaiGit
Copy link
Collaborator Author

/test-extended

Copy link

github-actions bot commented Jan 7, 2025

🤖 pr-bot 🤖

🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/12649874700 (with refid 1112296b)

(in response to this comment from @ShakutaiGit)

@ShakutaiGit
Copy link
Collaborator Author

/help

Copy link

github-actions bot commented Jan 7, 2025

🤖 pr-bot 🤖

Hello!

You can use the following commands:
    /test - build, deploy and run smoke tests on a PR
    /test-extended - build, deploy and run smoke & extended tests on a PR
    /test-extended-aad - build, deploy and run smoke & extended AAD tests on a PR
    /test-shared-services - test the deployment of shared services on a PR build
    /test-force-approve - force approval of the PR tests (i.e. skip the deployment checks)
    /test-destroy-env - delete the validation environment for a PR (e.g. to enable testing a deployment from a clean start after previous tests)
    /help - show this help

(in response to this comment from @ShakutaiGit)

@ShakutaiGit
Copy link
Collaborator Author

/test-destroy-env

Copy link

github-actions bot commented Jan 7, 2025

Destroying PR test environment (RG: rg-tre1112296b)... (run: https://github.com/microsoft/AzureTRE/actions/runs/12655217007)

Copy link

github-actions bot commented Jan 7, 2025

Destroying branch test environment (RG: rg-tre1dfa8de5)... (run: https://github.com/microsoft/AzureTRE/actions/runs/12655217007)

Copy link

github-actions bot commented Jan 7, 2025

Branch test environment destroy complete (RG: rg-tre1dfa8de5)

Copy link

github-actions bot commented Jan 7, 2025

PR test environment destroy complete (RG: rg-tre1112296b)

@ShakutaiGit
Copy link
Collaborator Author

/test-extended

Copy link

github-actions bot commented Jan 7, 2025

🤖 pr-bot 🤖

🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/12656026868 (with refid 1112296b)

(in response to this comment from @ShakutaiGit)

@ShakutaiGit
Copy link
Collaborator Author

/test-extended

Copy link

github-actions bot commented Jan 7, 2025

🤖 pr-bot 🤖

🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/12656575532 (with refid 1112296b)

(in response to this comment from @ShakutaiGit)

Copy link

PR test environment destroy complete (RG: rg-tre1112296b)

@ShakutaiGit
Copy link
Collaborator Author

/test

Copy link

🤖 pr-bot 🤖

🏃 Running tests: https://github.com/microsoft/AzureTRE/actions/runs/13242610159 (with refid 1112296b)

(in response to this comment from @ShakutaiGit)

@ShakutaiGit
Copy link
Collaborator Author

/test

Copy link

🤖 pr-bot 🤖

🏃 Running tests: https://github.com/microsoft/AzureTRE/actions/runs/13244671813 (with refid 1112296b)

(in response to this comment from @ShakutaiGit)

Copy link
Collaborator

@LizaShak LizaShak left a comment

Choose a reason for hiding this comment

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

LGTM. Following our online review everything looks good. Great job!

@ShakutaiGit ShakutaiGit self-assigned this Feb 11, 2025
Copy link
Member

@marrobi marrobi left a comment

Choose a reason for hiding this comment

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

Please wait until I've finished testing manually.

Copy link
Member

@marrobi marrobi left a comment

Choose a reason for hiding this comment

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

LGTM, tested upgrade locally.

@marrobi
Copy link
Member

marrobi commented Feb 11, 2025

/test-force-approve

already tested

Copy link

🤖 pr-bot 🤖

✅ Marking tests as complete (for commit a24ae1b)

(in response to this comment from @marrobi)

@marrobi marrobi enabled auto-merge (squash) February 11, 2025 23:57
@marrobi marrobi merged commit 78f4a13 into main Feb 11, 2025
12 checks passed
@marrobi marrobi deleted the core-network-subnets-change branch February 11, 2025 23:57
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.

5 participants