-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SQL-167 Automate deployment of DBfn on release by LRS version (#279)
* SQL-167 templates for OIDC link and deploy bucket * SQL-167 latest package-lock for db-init script * SQL-167 make target for db-init script * SQL-167 attempt upload as part of release workflow * SQL-167 added missing perms block * SQL-167 separate workflow for upload * SQL-167 rename workflow so as not to clash * SQL-167 updated template to use public bukkit * SQL-167 update doc * SQL-167 correct if syntax * SQL-167 make the upload a job on build after release * SQL-167 S3Key -> S3KeyOverride * SQL-167 docs for s3 key param name change
- Loading branch information
Showing
7 changed files
with
364 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
212 changes: 210 additions & 2 deletions
212
dev-resources/template/db-init-script/package-lock.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
AWSTemplateFormatVersion: "2010-09-09" | ||
Description: Yet Analytics GitHub OIDC Identity Provider setup. This template is provided for documentation purposes only. You do not need to run it to run SQL LRS. | ||
|
||
Parameters: | ||
ThumbprintList: | ||
Type: CommaDelimitedList | ||
Default: 6938fd4d98bab03faadb97b34396831e3780aea1 | ||
|
||
Resources: | ||
GithubOidc: | ||
Type: AWS::IAM::OIDCProvider | ||
DeletionPolicy: Retain | ||
Properties: | ||
Url: https://token.actions.githubusercontent.com | ||
ClientIdList: | ||
- sts.amazonaws.com | ||
ThumbprintList: !Ref ThumbprintList | ||
|
||
Outputs: | ||
OIDCProviderArn: | ||
Description: ARN of AWS IAM entry for GitHub OIDC Provider | ||
Value: !Ref GithubOidc | ||
Export: | ||
Name: !Sub "${AWS::StackName}:OIDCProviderArn" |
Oops, something went wrong.