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

Pin azurerm version to 3.104.2 as the latest 3.105.0 version made the build to fail #4844

Merged
merged 1 commit into from
May 24, 2024

Conversation

leandroalemao
Copy link
Contributor

@leandroalemao leandroalemao commented May 24, 2024

Context

We're fetching the latest version of azurerm 3.105.0 which is now defaulting public_network_access_enabled from false to true.

public_network_access_enabled = false -> true
https://github.com/DFE-Digital/early-careers-framework/actions/runs/9222398909/job/25374325095

Changes proposed in this pull request

We need to pin/fix the version to the previous version 3.104.2 for now.

Ideally we'd need to set the variable as false in module https://github.com/DFE-Digital/terraform-modules/blob/main/aks/postgres/resources.tf#L39 but that'd cause many projects to get upgraded.

@leandroalemao leandroalemao requested a review from a team May 24, 2024 11:40
Copy link

Review app deployed to https://cpd-ecf-review-4844-web.test.teacherservices.cloud

@ethax-ross
Copy link
Collaborator

ethax-ross commented May 24, 2024

Would setting the variable in our project here not work? probably need to do it for the snapshot DB too

https://github.com/DFE-Digital/npq-registration/blob/main/terraform/application/database.tf#L28

azurerm_postgresql_flexible_server = false

@leandroalemao leandroalemao added this pull request to the merge queue May 24, 2024
Merged via the queue into main with commit 08401f0 May 24, 2024
37 checks passed
@leandroalemao leandroalemao deleted the fix-azurerm-upgrade branch May 24, 2024 14:53
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.

2 participants