mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-03 23:04:53 -04:00
Remove manual state migration steps for AWS
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
154d1cc3cf
commit
e30179a8aa
9 changed files with 20 additions and 146 deletions
|
@ -597,7 +597,6 @@ func (c *Client) setLogLevel(logLevel LogLevel) error {
|
|||
}
|
||||
|
||||
// StateMigration is a manual state migration that is not handled by Terraform due to missing features.
|
||||
// TODO(AB#3248): Remove this after we can assume that all existing clusters have been migrated.
|
||||
type StateMigration struct {
|
||||
DisplayName string
|
||||
Hook func(ctx context.Context, tfClient TFMigrator) error
|
||||
|
@ -628,7 +627,6 @@ type tfInterface interface {
|
|||
}
|
||||
|
||||
// TFMigrator is an interface for manual terraform state migrations (terraform state mv).
|
||||
// TODO(AB#3248): Remove this after we can assume that all existing clusters have been migrated.
|
||||
type TFMigrator interface {
|
||||
StateMv(ctx context.Context, src, dst string, opts ...tfexec.StateMvCmdOption) error
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue