Hi everyone! I'm trying to get a base configuratio...
# aws
a
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
Copy code
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
can you share your code?
a
Untitled.ts
This is the part that I can't seem to assign a cert to, as in this example from AWS:
Copy code
aws signer put-signing-profile \
    --profile-name development_signing_profile_2 \
    --signing-material certificateArn="CERTARN" \
    --platform AmazonFreeRTOS-Default
    --signing-parameters certname=NotUsed
b
can you search your repo for this
AWSIoT-Device-SHA256_ECDSA
? i can’t see where that’s coming from
a
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
it’s sorta hard to figure out where you’re at I’m afraid, this error:
Copy code
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
Right, but the AWS command line /does/ accept that
along with signing material. Am I using the wrong Pulumi call?