This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"encoding/json" | |
"fmt" | |
"strings" | |
"github.com/slack-go/slack" | |
"github.com/aws/aws-lambda-go/events" | |
"github.com/aws/aws-lambda-go/lambda" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CircleCI configuration to publish markdown files to Confluence | |
version: 2 | |
jobs: | |
build: | |
branches: | |
only: | |
- master | |
docker: | |
- image: circleci/golang:1.13.11 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy main to production | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"signer:GetSigningProfile", | |
"signer:PutSigningProfile" | |
] | |
"Resource": "arn:aws:signer:us-east-1:[account-number]:/signing-profiles/[signing-profile-name]" |
OlderNewer