-
Notifications
You must be signed in to change notification settings - Fork 0
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
Task/dev275 tf upgrades #571
Open
m-juckes-pins
wants to merge
20
commits into
main
Choose a base branch
from
task/dev275-tf-upgrades
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 14 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
cc57d84
upgrading azurerm 4
m-juckes-pins d0fcb26
upgrading azurerm 4
m-juckes-pins d0dce1f
chore(infrastructure): upgrading azurerm to v4
m-juckes-pins fbdbb0a
chore(infrastructure): upgrading azurerm to v4
m-juckes-pins 262c270
chore(infrastructure): upgrading azurerm to v4
m-juckes-pins a6b25cf
chore(infrastructure): upgrading azurerm to v4
m-juckes-pins e8a12ab
chore(infrastructure): testing with the azurerm tooling included in t…
m-juckes-pins ce8da35
chore(infrastructure): testing with the azurerm providers alias
m-juckes-pins df3647f
adding in tooling_config into web_app.tf and have removed the terrafo…
m-juckes-pins 42de6c4
adding health_check_eviction_time_in_min into the web app>site_config
m-juckes-pins 0bc2b4a
changing sensitive to base64
m-juckes-pins 88bbe15
adding output in module
m-juckes-pins 463c81f
changing docker settings on the module
m-juckes-pins 15642fe
changing monitoring location to global
m-juckes-pins 0787023
changing application_stack and docker settings
m-juckes-pins ee2e45d
upgrading to azreurm to version 4 to match modules
m-juckes-pins 8d3a2b7
feat(appeals): upgrading to azreurm to version 4 to match modules
m-juckes-pins c7de746
upgrading azurerm 4
m-juckes-pins a33a50d
feat(appeals): upgrading to azreurm to version 4 to match modules
m-juckes-pins 59a783b
feat(appeals): upgrading to azreurm to version 4 to match modules
m-juckes-pins File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
default_install_hook_types: [commit-msg, pre-commit] | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: end-of-file-fixer | ||
stages: [pre-commit] | ||
- id: trailing-whitespace | ||
stages: [pre-commit] | ||
- id: check-json | ||
stages: [pre-commit] | ||
- id: check-yaml | ||
stages: [pre-commit] | ||
args: | ||
- --unsafe | ||
- id: check-symlinks | ||
stages: [pre-commit] | ||
- id: check-added-large-files | ||
stages: [pre-commit] | ||
args: | ||
- --maxkb=15000 | ||
- id: detect-private-key | ||
stages: [pre-commit] | ||
|
||
- repo: https://github.com/antonbabenko/pre-commit-terraform.git | ||
rev: v1.96.1 | ||
hooks: | ||
- id: terraform_fmt | ||
stages: [pre-commit] | ||
- id: terraform_docs | ||
stages: [pre-commit] | ||
args: | ||
- --args=--config=.config/terraform-docs.yml | ||
- --hook-config=--use-standard-markers=true | ||
exclude: "^modules|^example|^tools" | ||
- id: terraform_validate | ||
stages: [pre-commit] | ||
exclude: ^examples | ||
args: | ||
- --tf-init-args=-upgrade | ||
- --hook-config=--retry-once-with-cleanup=true | ||
- id: terraform_tflint | ||
stages: [pre-commit] | ||
exclude: ^examples | ||
args: | ||
- --args=--config=__GIT_WORKING_DIR__/.tflint.hcl | ||
- id: terraform_trivy | ||
stages: [pre-commit] | ||
- id: terraform_checkov | ||
|
||
# - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook | ||
# rev: v9.18.0 | ||
# hooks: | ||
# - id: commitlint | ||
# stages: [commit-msg] | ||
# additional_dependencies: ["@commitlint/config-conventional"] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
config { | ||
disabled_by_default = false | ||
} | ||
|
||
plugin "azurerm" { | ||
enabled = true | ||
version = "0.26.0" | ||
source = "github.com/terraform-linters/tflint-ruleset-azurerm" | ||
} | ||
|
||
rule "terraform_comment_syntax" { | ||
enabled = true | ||
} | ||
|
||
rule "terraform_documented_outputs" { | ||
enabled = true | ||
} | ||
|
||
rule "terraform_documented_variables" { | ||
enabled = true | ||
} | ||
|
||
rule "terraform_required_providers" { | ||
enabled = false | ||
} | ||
|
||
rule "terraform_required_version" { | ||
enabled = false | ||
} | ||
|
||
rule "terraform_naming_convention" { | ||
enabled = true | ||
} | ||
|
||
rule "terraform_typed_variables" { | ||
enabled = true | ||
} | ||
|
||
rule "terraform_unused_declarations" { | ||
enabled = true | ||
} | ||
|
||
rule "terraform_unused_required_providers" { | ||
enabled = true | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
trigger: | ||
trigger: | ||
branches: | ||
include: | ||
- main | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ terraform { | |
required_providers { | ||
azurerm = { | ||
source = "hashicorp/azurerm" | ||
version = "~> 3.99.0" | ||
version = "=4.5.0" | ||
} | ||
} | ||
required_version = ">= 1.1.6, < 1.10.0" | ||
|
@@ -27,9 +27,9 @@ provider "azurerm" { | |
} | ||
|
||
provider "azurerm" { | ||
alias = "horizon" | ||
subscription_id = var.horizon_infra_config.subscription_id | ||
skip_provider_registration = true | ||
alias = "horizon" | ||
subscription_id = var.horizon_infra_config.subscription_id | ||
resource_provider_registrations = "none" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
||
features {} | ||
} |
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This couldn't pass the validation with it in