Commit ad0ee58
authored
fix(import): remove resourceName/executionRoleArn co-variance refine (#996)
The refine required both fields to be set together, but resourceName
is always needed on import (to preserve the AWS name) while
executionRoleArn is only present when the gateway has a custom role.
Gateways without a custom role (service auto-creates one) fail the
refine because resourceName is set but executionRoleArn is not.
Keep the individual field validations (GatewayNameSchema for
resourceName, regex for executionRoleArn).1 parent 2df1387 commit ad0ee58
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | | - | |
622 | | - | |
| 618 | + | |
623 | 619 | | |
624 | 620 | | |
625 | 621 | | |
| |||
0 commit comments