mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-04 07:15:05 -04:00
ref: pre v2.15 cleanup (#2871)
This commit is contained in:
parent
3799525103
commit
489e07677e
12 changed files with 35 additions and 215 deletions
|
@ -64,14 +64,6 @@ func TerraformIAMUpgradeVars(conf *config.Config, fileHandler file.Handler) (ter
|
|||
if err := terraform.VariablesFromBytes(oldVarBytes, &oldVars); err != nil {
|
||||
return nil, fmt.Errorf("parsing existing IAM workspace: %w", err)
|
||||
}
|
||||
|
||||
// Migration from the "region" to the "location" field na.
|
||||
// TODO(msanft): Remove after v2.14.0 is released.
|
||||
if oldVars.Region != nil && *oldVars.Region != "" && oldVars.Location == "" {
|
||||
oldVars.Location = *oldVars.Region
|
||||
oldVars.Region = nil
|
||||
}
|
||||
|
||||
vars = azureTerraformIAMVars(conf, oldVars)
|
||||
case cloudprovider.GCP:
|
||||
var oldVars terraform.GCPIAMVariables
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue