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]" |
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
| 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
| # 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
| 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
| package main | |
| import ( | |
| "context" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "os" | |
| "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
| package main | |
| import ( | |
| "context" | |
| "encoding/json" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "os" | |
| "github.com/aws/aws-lambda-go/events" |
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" | |
| "net/url" | |
| "strings" | |
| "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
| .PHONY: build clean deploy | |
| build: | |
| env GOOS=linux go build -ldflags="-s -w" -o bin/interactionsBin interactions/main.go | |
| env GOOS=linux go build -ldflags="-s -w" -o bin/eventHandlerBin eventhandler/main.go | |
| env GOOS=linux go build -ldflags="-s -w" -o bin/authCallbackBin authcallback/main.go | |
| env GOOS=linux go build -ldflags="-s -w" -o bin/selectMenuBin selectmenu/main.go | |
| clean: | |
| rm -rf ./bin ./vendor Gopkg.lock |
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
| service: pupster # change service name | |
| provider: | |
| name: aws | |
| runtime: go1.x | |
| region: us-east-1 #update region | |
| iamRoleStatements: # add IAM statements here | |
| package: | |
| exclude: | |
| - ./** |
NewerOlder