feat: [PAYMCLOUD-574] Update Terraform azurerm module and PDF engine configuration#3618
Open
feat: [PAYMCLOUD-574] Update Terraform azurerm module and PDF engine configuration#3618
Conversation
…3650) Upgrade Terraform azurerm provider to v4 and migrate all related modules and resources from v3 to v4. Add new variables and settings to align with the v4 module structure. Refactor configurations to enhance maintainability and enable feature parity with the updated provider version. Signed-off-by: ffppa <fabio.felici@pagopa.it>
…odule - Refactor `docker_image` definitions for PDF engines to remove registry references. - Update private DNS zone references to align with Azure Web Apps private endpoints. - Add `allowed_service_tags` for improved network configuration. - Remove staging slot configurations for both PDF engine modules. - Upgrade Terraform azurerm module to v8.3.5. Signed-off-by: ffppa <fabio.felici@pagopa.it>
Signed-off-by: ffppa <fabio.felici@pagopa.it>
…kflow Signed-off-by: ffppa <fabio.felici@pagopa.it>
- Migrate app service and staging slot references to updated module paths. - Add `idh_app_service_resource_tier` variable with "premium" tier in UAT and PROD environments. Signed-off-by: ffppa <fabio.felici@pagopa.it>
…urerm module - Remove redundant autoscale resource definitions, consolidating settings within `autoscale_settings` blocks. - Update maximum capacity and thresholds for requests, response time, and CPU usage for improved scaling behavior. - Upgrade azurerm Terraform module to v8.5.3 for additional compatibility and features. Signed-off-by: ffppa <fabio.felici@pagopa.it>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
List of changes
docker_imagedefinitions.allowed_service_tagsfor improved network configuration.Motivation and context
This change ensures compatibility with the latest Terraform azurerm module and provider versions. It optimizes PDF engine configurations for better network connectivity and removes deprecated elements, improving overall maintainability and performance.
Type of changes
Does this introduce a change to production resources with possible user impact?
Does this introduce an unwanted change on infrastructure? Check terraform plan execution result
Other information
This update also includes a refactor to align with the updated Terraform provider structure, streamlining resource and module management for future changes.
If PR is partially applied, why? (reserved to mantainers)