mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-28 17:54:09 -04:00
cli: add --subscriptionID
flag for iam create azure
command (#3328)
* deps: update Terraform azurerm to v4 * Set Azure subscription ID when applying Terraform files * Upgrade azurerm to v4.1.0 * Mark subscriptionID flag as not required * deps: tidy all modules --------- Signed-off-by: Daniel Weiße <dw@edgeless.systems> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Weiße <dw@edgeless.systems> Co-authored-by: edgelessci <edgelessci@users.noreply.github.com>
This commit is contained in:
parent
c6a9c2574b
commit
a295ecaffb
33 changed files with 200 additions and 137 deletions
|
@ -2,7 +2,7 @@ terraform {
|
|||
required_providers {
|
||||
azurerm = {
|
||||
source = "hashicorp/azurerm"
|
||||
version = "3.111.0"
|
||||
version = "4.1.0"
|
||||
}
|
||||
random = {
|
||||
source = "hashicorp/random"
|
||||
|
@ -17,6 +17,10 @@ provider "azurerm" {
|
|||
prevent_deletion_if_contains_resources = false
|
||||
}
|
||||
}
|
||||
subscription_id = var.subscription_id
|
||||
# This enables all resource providers.
|
||||
# In the future, we might want to use `resource_providers_to_register` to registers just the ones we need.
|
||||
resource_provider_registrations = "all"
|
||||
}
|
||||
|
||||
locals {
|
||||
|
@ -266,8 +270,8 @@ module "scale_set_group" {
|
|||
marketplace_image = var.marketplace_image
|
||||
|
||||
# We still depend on the backends, since we are not sure if the VMs inside the VMSS have been
|
||||
# "updated" to the new version (note: this is the update in Azure which "refreshes" the NICs and not
|
||||
# our Constellation update).
|
||||
# "updated" to the new version (note: this is the update in Azure which "refreshes" the NICs and not
|
||||
# our Constellation update).
|
||||
# TODO(@3u13r): Remove this dependency after v2.18.0 has been released.
|
||||
depends_on = [module.loadbalancer_backend_worker, azurerm_lb_backend_address_pool.all]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue