mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-17 11:10:37 -04:00
cli: add --workspace
flag to set base directory for Constellation workspace (#2148)
* Remove `--config` and `--master-secret` falgs * Add `--workspace` flag * In CLI, only work on files with paths created from `cli/internal/cmd` * Properly print values for GCP on IAM create when not directly updating the config --------- Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
ec33530c38
commit
d1ace13713
57 changed files with 966 additions and 1145 deletions
|
@ -33,10 +33,10 @@ type cloudIAMCreator interface {
|
|||
}
|
||||
|
||||
type iamDestroyer interface {
|
||||
DestroyIAMConfiguration(ctx context.Context, logLevel terraform.LogLevel) error
|
||||
GetTfstateServiceAccountKey(ctx context.Context) (gcpshared.ServiceAccountKey, error)
|
||||
DestroyIAMConfiguration(ctx context.Context, tfWorkspace string, logLevel terraform.LogLevel) error
|
||||
GetTfStateServiceAccountKey(ctx context.Context, tfWorkspace string) (gcpshared.ServiceAccountKey, error)
|
||||
}
|
||||
|
||||
type cloudTerminator interface {
|
||||
Terminate(ctx context.Context, logLevel terraform.LogLevel) error
|
||||
Terminate(ctx context.Context, workspace string, logLevel terraform.LogLevel) error
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue