Skip to content

Commit

Permalink
♻️ feat: add memorydb to addons (#683)
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudpossebot authored Sep 11, 2024
2 parents 09f0561 + 9efd3a0 commit 96a27ec
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 40 deletions.
88 changes: 48 additions & 40 deletions examples/snippets/stacks/workflows/addons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,50 +9,70 @@ workflows:
description: Vendor addon components.
steps:
- command: workflow vendor -f addons/alb
- command: workflow vendor -f addons/api-gateway
- command: workflow vendor -f addons/cognito
- command: workflow vendor -f addons/ec2-instance
- command: workflow vendor -f addons/kinesis-stream
- command: workflow vendor -f addons/kms
- command: workflow vendor -f addons/lambda
- command: workflow vendor -f addons/memorydb
- command: workflow vendor -f addons/s3-bucket
- command: workflow vendor -f addons/ses
- command: workflow vendor -f addons/sns-topic
- command: workflow vendor -f addons/spa-s3-cloudfront
- command: workflow vendor -f addons/sqs-queue
- command: workflow vendor -f addons/ssm-parameters
- command: workflow vendor -f addons/waf
- command: workflow vendor -f addons/api-gateway
- command: workflow vendor -f addons/kinesis-stream
- command: workflow vendor -f addons/ses
- command: workflow vendor -f addons/spa-s3-cloudfront
- command: workflow vendor -f addons/ec2-instance

deploy/all:
description: run all deploy workflows
steps:
- command: workflow deploy/alb -f addons
- command: workflow deploy/api-gateway -f addons
- command: workflow deploy/cognito -f addons
- command: workflow deploy/ec2-instance -f addons
- command: workflow deploy/kinesis-stream -f addons
- command: workflow deploy/kms -f addons
- command: workflow deploy/lambda -f addons
- command: workflow deploy/memorydb -f addons
- command: workflow deploy/s3-bucket -f addons
- command: workflow deploy/ses -f addons
- command: workflow deploy/sns-topic -f addons
- command: workflow deploy/spa-s3-cloudfront -f addons
- command: workflow deploy/sqs-queue -f addons
- command: workflow deploy/ssm-parameters -f addons
- command: workflow deploy/waf -f addons
- command: workflow deploy/api-gateway -f addons
- command: workflow deploy/kinesis-stream -f addons
- command: workflow deploy/ses -f addons
- command: workflow deploy/spa-s3-cloudfront -f addons
- command: workflow deploy/ec2-instance -f addons

deploy/alb:
description: >-
Deploy Alb Component.
Please modify the stacks/workflows/addons/alb.yaml to customize
steps:
- command: workflow all -f addons/alb
deploy/api-gateway:
description: >-
Deploy Api-Gateway Component.
Please modify the stacks/workflows/addons/api-gateway.yaml to customize
steps:
- command: workflow all -f addons/api-gateway
deploy/cognito:
description: >-
Deploy Cognito Component.
Please modify the stacks/workflows/addons/cognito.yaml to customize
steps:
- command: workflow all -f addons/cognito
deploy/ec2-instance:
description: >-
Deploy Ec2-Instance Component.
Please modify the stacks/workflows/addons/ec2-instance.yaml to customize
steps:
- command: workflow all -f addons/ec2-instance
deploy/kinesis-stream:
description: >-
Deploy Kinesis-Stream Component.
Please modify the stacks/workflows/addons/kinesis-stream.yaml to customize
steps:
- command: workflow all -f addons/kinesis-stream
deploy/kms:
description: >-
Deploy Kms Component.
Expand All @@ -65,18 +85,36 @@ workflows:
Please modify the stacks/workflows/addons/lambda.yaml to customize
steps:
- command: workflow all -f addons/lambda
deploy/memorydb:
description: >-
Deploy Memorydb Component.
Please modify the stacks/workflows/addons/memorydb.yaml to customize
steps:
- command: workflow all -f addons/memorydb
deploy/s3-bucket:
description: >-
Deploy S3-Bucket Component.
Please modify the stacks/workflows/addons/s3-bucket.yaml to customize
steps:
- command: workflow all -f addons/s3-bucket
deploy/ses:
description: >-
Deploy Ses Component.
Please modify the stacks/workflows/addons/ses.yaml to customize
steps:
- command: workflow all -f addons/ses
deploy/sns-topic:
description: >-
Deploy Sns-Topic Component.
Please modify the stacks/workflows/addons/sns-topic.yaml to customize
steps:
- command: workflow all -f addons/sns-topic
deploy/spa-s3-cloudfront:
description: >-
Deploy Spa-S3-Cloudfront Component.
Please modify the stacks/workflows/addons/spa-s3-cloudfront.yaml to customize
steps:
- command: workflow all -f addons/spa-s3-cloudfront
deploy/sqs-queue:
description: >-
Deploy Sqs-Queue Component.
Expand All @@ -95,33 +133,3 @@ workflows:
Please modify the stacks/workflows/addons/waf.yaml to customize
steps:
- command: workflow all -f addons/waf
deploy/api-gateway:
description: >-
Deploy Api-Gateway Component.
Please modify the stacks/workflows/addons/api-gateway.yaml to customize
steps:
- command: workflow all -f addons/api-gateway
deploy/kinesis-stream:
description: >-
Deploy Kinesis-Stream Component.
Please modify the stacks/workflows/addons/kinesis-stream.yaml to customize
steps:
- command: workflow all -f addons/kinesis-stream
deploy/ses:
description: >-
Deploy Ses Component.
Please modify the stacks/workflows/addons/ses.yaml to customize
steps:
- command: workflow all -f addons/ses
deploy/spa-s3-cloudfront:
description: >-
Deploy Spa-S3-Cloudfront Component.
Please modify the stacks/workflows/addons/spa-s3-cloudfront.yaml to customize
steps:
- command: workflow all -f addons/spa-s3-cloudfront
deploy/ec2-instance:
description: >-
Deploy Ec2-Instance Component.
Please modify the stacks/workflows/addons/ec2-instance.yaml to customize
steps:
- command: workflow all -f addons/ec2-instance
10 changes: 10 additions & 0 deletions examples/snippets/stacks/workflows/addons/memorydb.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
workflows:
all:
description: run all workflows
steps:
- command: terraform deploy memorydb --stack plat-use1-sandbox

vendor:
description: vendor all components required for this addon
steps:
- command: vendor pull --component memorydb

0 comments on commit 96a27ec

Please sign in to comment.