create: deprecate --control-plane-nodes and --worker-nodes flags

Also print and configure node groups
This commit is contained in:
Malte Poll 2023-08-02 10:36:55 +02:00 committed by Malte Poll
parent c0177c565f
commit 3047cb2798
4 changed files with 54 additions and 86 deletions

View file

@ -218,12 +218,9 @@ func TestCreator(t *testing.T) {
}
opts := CreateOptions{
Provider: tc.provider,
Config: tc.config,
InsType: "type",
ControlPlaneCount: 2,
WorkerCount: 3,
TFLogLevel: terraform.LogLevelNone,
Provider: tc.provider,
Config: tc.config,
TFLogLevel: terraform.LogLevelNone,
}
idFile, err := creator.Create(context.Background(), opts)