-
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
base: main
Are you sure you want to change the base?
Conversation
Had to delete the .terraform folder and then re-run tf init as it was erroring |
infrastructure/app-api.tf
Outdated
@@ -97,8 +97,8 @@ module "app_api" { | |||
} | |||
|
|||
providers = { | |||
azurerm = azurerm | |||
azurerm.tooling = azurerm.tooling |
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
│ Error: Cannot override provider configuration
│
│ on app-api.tf line 101, in module "app_api":
│ 101: azurerm.tooling = azurerm.tooling
│
│ The configuration of module.app_api has its own local configuration for azurerm.tooling, and so it cannot accept an overridden configuration provided by the root module.
This comment was marked as outdated.
This comment was marked as outdated.
Tflint needs to be at root level also for it to work with pre-commits |
This comment was marked as outdated.
This comment was marked as outdated.
…rm block from the module itself and tagged to latest github commit
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 comment
The 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 comment
The reason will be displayed to describe this comment to others. Learn more.
Describe your changes
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/4.0-upgrade-guide
Upgrading Terraform from version 3 -> 4.5.0
---- The flag is obsolete because the goal is to have each namespace AZ by default in the supported regions.
---- Registration: Some resource providers need to be registered manually before you can use them
Issue ticket number and link
Type of change 🧩
Checklist before requesting a review