mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-05 07:45:27 -04:00
Make AWS vars passing consistent with other CSPs
This commit is contained in:
parent
158dfe0e2b
commit
19fb6f1233
1 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ func (c *Creator) createAWS(ctx context.Context, cl terraformClient, config *con
|
||||||
) (idFile clusterid.File, retErr error) {
|
) (idFile clusterid.File, retErr error) {
|
||||||
defer rollbackOnError(context.Background(), c.out, &retErr, &rollbackerTerraform{client: cl})
|
defer rollbackOnError(context.Background(), c.out, &retErr, &rollbackerTerraform{client: cl})
|
||||||
|
|
||||||
vars := &terraform.AWSVariables{
|
vars := terraform.AWSVariables{
|
||||||
CommonVariables: terraform.CommonVariables{
|
CommonVariables: terraform.CommonVariables{
|
||||||
Name: name,
|
Name: name,
|
||||||
CountControlPlanes: controlPlaneCount,
|
CountControlPlanes: controlPlaneCount,
|
||||||
|
@ -107,7 +107,7 @@ func (c *Creator) createAWS(ctx context.Context, cl terraformClient, config *con
|
||||||
Debug: config.IsDebugCluster(),
|
Debug: config.IsDebugCluster(),
|
||||||
}
|
}
|
||||||
|
|
||||||
ip, err := cl.CreateCluster(ctx, cloudprovider.AWS, vars)
|
ip, err := cl.CreateCluster(ctx, cloudprovider.AWS, &vars)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return clusterid.File{}, err
|
return clusterid.File{}, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue