View install_packages_github_actions.yaml
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
name: Automated Unit Tests | |
on: [pull_request] | |
jobs: | |
automated-unit-tests: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read |
View publish_package_github_actions.yaml
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
name: Publish Package | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish: |
View repository_installer_role.yaml
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
AWSTemplateFormatVersion: 2010-09-09 | |
# See https://github.com/aws-actions/configure-aws-credentials#sample-iam-role-cloudformation-template | |
Parameters: | |
GitHubOrg: | |
Type: String | |
RepositoryName: | |
Type: String |
View codeartifact_repository.yaml
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
AWSTemplateFormatVersion: 2010-09-09 | |
Parameters: | |
DomainName: | |
Type: String | |
AllowedPattern: "^[a-z][a-z0-9-]{0,48}[a-z0-9]$" | |
RepositoryName: | |
Type: String |
View repository_publisher_role.yaml
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
AWSTemplateFormatVersion: 2010-09-09 | |
# See https://github.com/aws-actions/configure-aws-credentials#sample-iam-role-cloudformation-template | |
Parameters: | |
GitHubOrg: | |
Type: String | |
RepositoryName: | |
Type: String |
View github_oidc_provider.yaml
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
AWSTemplateFormatVersion: 2010-09-09 | |
# This can only be deployed once per account. | |
Resources: | |
GitHubOIDC: | |
Type: AWS::IAM::OIDCProvider | |
Properties: | |
Url: https://token.actions.githubusercontent.com | |
ClientIdList: |
View api-queue-template.yaml
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
AWSTemplateFormatVersion: 2010-09-09 | |
Transform: AWS::Serverless-2016-10-31 | |
Description: Creates an API Gateway to publish data to a SQS queue. | |
Resources: | |
ApiQueue: | |
Type: AWS::SQS::Queue | |
ApiRole: |
View s3tester.py
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
import hashlib | |
import time | |
import boto3 | |
s3 = boto3.resource("s3") | |
BUCKET = "my-bucket" | |
KEYS = [ | |
"test100mb.file", |
View stepception-template.yaml
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
AWSTemplateFormatVersion: 2010-09-09 | |
Transform: AWS::Serverless-2016-10-31 | |
Resources: | |
HttpApi: | |
Type: AWS::Serverless::HttpApi | |
Properties: | |
StageName: prod | |
DefinitionBody: |
View example-table.yaml
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
MyTable: | |
Type: AWS::DynamoDB::Table | |
Properties: | |
BillingMode: PAY_PER_REQUEST | |
AttributeDefinitions: | |
- AttributeName: pk | |
AttributeType: S | |
- AttributeName: sk | |
AttributeType: S | |
- AttributeName: gsi1_pk |
NewerOlder