move csp logic to cloudcmd (#2311)

This commit is contained in:
Adrian Stobbe 2023-09-07 12:10:36 +02:00 committed by GitHub
parent 25ba8ecfed
commit 0eb9ca2e18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 8 deletions

View file

@ -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