File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,8 @@ The private CA needs to be registered with AWS IoT. The example registration ste
5353 $ aws iot register-ca-certificate --ca-certificate file://Certificate.pem --verification-certificate file://Verify.crt --region ap-northeast-1 --set-as-active
5454```
5555
56- The registered CA Certificate ID and PCA Authority Arn needs to be inputted
57- in the in the inquiry prompt in the installer, or request body as parameters.
56+ The registered CA Certificate ID and PCA Authority Arn need to be entered
57+ in the inquiry prompt in the installer or request body as parameters.
5858
5959## Deployment
6060
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ export class CertificateVendorInstaller implements ServiceModule {
104104 askAnswered : true ,
105105 validate : ( answer : string ) => {
106106 if ( answer ?. length === 0 ) {
107- return true ; // TODO: should this be false?
107+ return true ;
108108 }
109109 return CommonArnValidations . validateAwsIAMRoleArn ( answer ) ;
110110 } ,
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export function validateAcmPcaArn(arn: string): boolean | string {
99export function validateAwsIotCaID ( arn : string ) : boolean | string {
1010 return / ^ [ A - Z a - z 0 - 9 ] + (?: [ A - Z a - z 0 - 9 ] + ) + $ / . test ( arn )
1111 ? true
12- : 'Value is not a valid AWS IoT CA Arn ' ;
12+ : 'Value is not a valid AWS IoT CA ID ' ;
1313}
1414
1515export function validateAwsIAMRoleArn ( arn : string ) : boolean | string {
You can’t perform that action at this time.
0 commit comments