https://pulumi.com logo
Title
a

aloof-gigabyte-74853

02/16/2023, 8:10 PM
Hi everyone! I'm trying to get a base configuration going for an OTA via MQTT implementation for IoT. However, when I try to set it up I'm getting this
error: aws:signer/signingProfile:SigningProfile resource 'signing-profile' has a problem: expected platform_id to be one of [AWSLambda-SHA384-ECDSA], got AWSIoT-Device-SHA256_ECDSA. Examine values at 'SigningProfile.PlatformId'.
Also, I can't seem to select the signing certificate?
b

billowy-army-68599

02/16/2023, 8:24 PM
can you share your code?
a

aloof-gigabyte-74853

02/16/2023, 8:25 PM
Untitled.ts
This is the part that I can't seem to assign a cert to, as in this example from AWS:
aws signer put-signing-profile \
    --profile-name development_signing_profile_2 \
    --signing-material certificateArn="CERTARN" \
    --platform AmazonFreeRTOS-Default
    --signing-parameters certname=NotUsed
b

billowy-army-68599

02/16/2023, 9:09 PM
can you search your repo for this
AWSIoT-Device-SHA256_ECDSA
? i can’t see where that’s coming from
a

aloof-gigabyte-74853

02/16/2023, 9:25 PM
Oh I changed it so the preview would work, but its wrong.
It would have been where it says "lambda" now
@billowy-army-68599 anywhere I should start?
b

billowy-army-68599

02/17/2023, 4:34 PM
it’s sorta hard to figure out where you’re at I’m afraid, this error:
error: aws:signer/signingProfile:SigningProfile resource 'signing-profile' has a problem: expected platform_id to be one of [AWSLambda-SHA384-ECDSA], got AWSIoT-Device-SHA256_ECDSA. Examine values at 'SigningProfile.PlatformId'.
Seems pretty straightforward. The value you’re passing isn’t correct
a

aloof-gigabyte-74853

02/17/2023, 4:36 PM
Right, but the AWS command line /does/ accept that
along with signing material. Am I using the wrong Pulumi call?