Commit ed060bf 1 parent c781538 commit ed060bf Copy full SHA for ed060bf
File tree 1 file changed +0
-14
lines changed
internal/provider/resources
1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -645,20 +645,6 @@ func (r *DeploymentResource) ValidateConfig(
645
645
return
646
646
}
647
647
648
- // Need to do dynamic validation based on the executor and worker queues
649
- if data .Executor .ValueString () == string (platform .DeploymentExecutorKUBERNETES ) && len (data .WorkerQueues .Elements ()) > 0 {
650
- resp .Diagnostics .AddError (
651
- "worker_queues are not supported for 'KUBERNETES' executor" ,
652
- "Either change the executor to 'CELERY' or remove worker_queues" ,
653
- )
654
- }
655
- if data .Executor .ValueString () == string (platform .DeploymentExecutorCELERY ) && (data .WorkerQueues .IsNull () || len (data .WorkerQueues .Elements ()) == 0 ) {
656
- resp .Diagnostics .AddError (
657
- "worker_queues must be included for 'CELERY' executor" ,
658
- "Either change the executor to 'KUBERNETES' or include worker_queues" ,
659
- )
660
- }
661
-
662
648
// Type specific validation
663
649
switch platform .DeploymentType (data .Type .ValueString ()) {
664
650
case platform .DeploymentTypeSTANDARD :
You can’t perform that action at this time.
0 commit comments