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: Terraform Plan | |
# yamllint disable-line rule:truthy | |
on: | |
pull_request: | |
branches: [master, main] | |
workflow_dispatch: |
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
{ | |
"detail-type": ["workflow_job"] | |
} |
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: > | |
github-webhook | |
Amazon EventBridge Inbound webhooks using lambda fURLs CFN Template. | |
Parameters: | |
GithubWebhookSecret: | |
Type: String |
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
CREATE EXTERNAL TABLE IF NOT EXISTS `twgflowlogs`.`awslogs` ( | |
version int, | |
resource_type string, | |
account_id string, | |
tgw_id string, | |
tgw_attachment_id string, | |
tgw_src_vpc_account_id string, | |
tgw_dst_vpc_account_id string, | |
tgw_src_vpc_id string, | |
tgw_dst_vpc_id string, |
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
Type: AWS::IAM::ManagedPolicy | |
Properties: | |
Description: 'IAM Roles for Terraform State Resources' | |
PolicyDocument: | |
Version: '2012-10-17' | |
Statement: | |
- Effect: Allow | |
Action: | |
- dynamodb:GetItem | |
- dynamodb:PutItem |
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 | |
Description: GitHub Actions AWS Authentication with OIDC for GitHub Enterprise | |
Parameters: | |
GithubOrg: # can also be a regular user | |
Type: String | |
Default: mygithuborg | |
FullRepoName: |
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
#!/usr/bin/env python | |
from diagrams import Cluster, Diagram | |
from diagrams.aws.network import Route53 | |
from diagrams.aws.management import Cloudwatch, SSM, Cloudtrail, Config | |
from diagrams.aws.analytics import Analytics | |
from diagrams.aws.security import Detective, Guardduty, IAMAccessAnalyzer, SecurityHub, Inspector | |
from diagrams.aws.integration import Eventbridge | |
with Diagram("AWS Security Services Data Flow", show=False, direction="TB"): |