mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-12 11:12:27 -04:00
cli: re-introduce iam upgrade check (#3657)
This commit is contained in:
parent
494eb265c6
commit
fab1c8e149
2 changed files with 16 additions and 2 deletions
|
@ -368,7 +368,7 @@ func (a *applyCmd) apply(
|
|||
// Check current Terraform state, if it exists and infrastructure upgrades are not skipped,
|
||||
// and apply migrations if necessary.
|
||||
if !a.flags.skipPhases.contains(skipInfrastructurePhase) {
|
||||
if err := a.runTerraformApply(cmd, conf, stateFile, upgradeDir); err != nil {
|
||||
if err := a.runTerraformApply(cmd, conf, stateFile, upgradeDir, a.flags.yes); err != nil {
|
||||
return fmt.Errorf("applying Terraform configuration: %w", err)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue