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
aws secretsmanager create-secret --name github/personal-access-token --description "GitHub Token" --secret-string "GITHUBTOKEN" |
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
git clone https://github.com/PaulDuvall/cloudproviders.git | |
cd cloudproviders | |
sudo chmod +x launch-stack.sh | |
./launch-stack.sh |
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
GetDataFunction: | |
Type: 'AWS::Serverless::Function' | |
Properties: | |
Handler: index-get.handler | |
CodeUri: src/ | |
Runtime: nodejs12.x | |
AutoPublishAlias: live | |
DeploymentPreference: | |
Type: CodeDeployDefault.LambdaCanary10Percent5Minutes | |
Hooks: |
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
Pipeline: | |
Type: AWS::CodePipeline::Pipeline | |
Properties: | |
RoleArn: !GetAtt CodePipelineRole.Arn | |
Stages: | |
- Name: Source | |
... | |
ActionTypeId: | |
Category: Source | |
Owner: ThirdParty |
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
MyDBInstance: | |
Type: AWS::RDS::DBInstance | |
Properties: | |
AllocatedStorage: 20 | |
DBInstanceClass: db.t2.micro | |
Engine: mysql | |
MasterUsername: !Join ['', ['{{resolve:secretsmanager:', !Ref MyRDSInstanceRotationSecret, ':SecretString:username}}' ]] | |
MasterUserPassword: !Join ['', ['{{resolve:secretsmanager:', !Ref MyRDSInstanceRotationSecret, ':SecretString:password}}' ]] | |
BackupRetentionPeriod: 0 | |
DBInstanceIdentifier: 'rotation-instance' |
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
# https://diagrams.mingrammer.com/docs/nodes/aws | |
from diagrams import Cluster, Diagram | |
from diagrams.aws.compute import Lambda | |
from diagrams.aws.storage import S3 | |
from diagrams.aws.network import APIGateway | |
from diagrams.aws.database import DynamodbTable | |
from diagrams.aws.security import IdentityAndAccessManagementIam | |
from diagrams.aws.devtools import Codebuild | |
from diagrams.aws.devtools import Codecommit | |
from diagrams.aws.devtools import Codedeploy |
OlderNewer