sdess09 2 лет назад
Родитель
Сommit
afd2d445c7

+ 1 - 0
api/server/handlers/project_integration/preflight_check.go

@@ -49,6 +49,7 @@ func (p *CreatePreflightCheckHandler) ServeHTTP(w http.ResponseWriter, r *http.R
 		ProjectId:                  int64(project.ID),
 		CloudProvider:              cloudValues.CloudProvider,
 		CloudProviderCredentialsId: cloudValues.CloudProviderCredentialsId,
+		Contract:                   cloudValues.Contract,
 	}
 
 	if cloudValues.PreflightValues != nil {

+ 1 - 1
dashboard/src/components/ProvisionerSettings.tsx

@@ -536,7 +536,7 @@ const ProvisionerSettings: React.FC<Props> = (props) => {
         preflightValues: {
           case: "eksPreflightValues",
           value: new EKSPreflightValues({
-            region: awsRegion,
+            region: clusterState.awsRegion,
           })
         },
         quotaIncreases: quotaIncrease