aws-connected-device-framework icon indicating copy to clipboard operation
aws-connected-device-framework copied to clipboard

Bulkcerts installer does not allow for configuring supplier ca aliases

Open boardthatpowder opened this issue 3 years ago • 0 comments

Aws Connected Device Framework Affected Module(s):

  • bulkcerts
  • installer

I'm submitting a ...

  • [X] bug report
  • [ ] feature request

Description:

The bulkcerts POST /suppliers/<alias>/certificates requires an alias configuring that points to either a registered custom CA certificateId or AwsIotDefault.

Current behavior:

The installer module is not asking for this information. As a workaround, the SUPPLIER_CA_<ALIAS> environment variables can be configured manually against the lambda function but these will be wiped by the installer if a cdf upgrade is run.

Expected behavior:

  • If the installer detects the presence of the cdf-bulkCerts-sns-<env> lambda function, its current environment configuration should be queried and current SUPPLIER_CA_<ALIAS> configuration added to the installer config
  • The installer module should then prompt the user if updates to the supplier ca aliases is required

Steps to reproduce:

Additional Information:

boardthatpowder avatar Mar 18 '22 15:03 boardthatpowder