Skip to content

Instantly share code, notes, and snippets.

@alsmola
Last active May 8, 2022 18:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alsmola/e908c4e3d0d326db8f1ac0184d36731d to your computer and use it in GitHub Desktop.
Save alsmola/e908c4e3d0d326db8f1ac0184d36731d to your computer and use it in GitHub Desktop.
Serverless configuration for a SigningProfile and CodeSigningConfig
Resources:
SigningProfile:
Type: AWS::Signer::SigningProfile
Properties:
PlatformId: AWSLambda-SHA384-ECDSA
CodesignedFunctionConfig:
Type: AWS::Lambda::CodeSigningConfig
Properties:
Description: "GitHub Action Code Signing for Lambdas"
AllowedPublishers:
SigningProfileVersionArns:
- "Fn::GetAtt":
- SigningProfile
- Arn
CodeSigningPolicies:
UntrustedArtifactOnDeployment: "Enforce"
extensions:
LambdaFunctionName:
Properties:
CodeSigningConfigArn:
"Fn::GetAtt":
- CodesignedFunctionConfig
- CodeSigningConfigArn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment