mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-01 04:24:38 -04:00
move csp logic to cloudcmd (#2311)
This commit is contained in:
parent
25ba8ecfed
commit
0eb9ca2e18
3 changed files with 9 additions and 8 deletions
|
@ -19,6 +19,14 @@ import (
|
|||
"github.com/edgelesssys/constellation/v2/internal/file"
|
||||
)
|
||||
|
||||
// UpgradeRequiresIAMMigration returns true if the given cloud provider requires an IAM migration.
|
||||
func UpgradeRequiresIAMMigration(provider cloudprovider.Provider) bool {
|
||||
switch provider {
|
||||
default:
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
// IAMUpgrader handles upgrades to IAM resources required by Constellation.
|
||||
type IAMUpgrader struct {
|
||||
tf tfIAMUpgradeClient
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue