From 9efd3a0b101416d093c1b145abd0601d713550f8 Mon Sep 17 00:00:00 2001 From: dudymas <928448+dudymas@users.noreply.github.com> Date: Mon, 2 Sep 2024 17:09:15 +0000 Subject: [PATCH] (github actions) generated latest snippets --- .../snippets/stacks/workflows/addons.yaml | 88 ++++++++++--------- .../stacks/workflows/addons/memorydb.yaml | 10 +++ 2 files changed, 58 insertions(+), 40 deletions(-) create mode 100644 examples/snippets/stacks/workflows/addons/memorydb.yaml diff --git a/examples/snippets/stacks/workflows/addons.yaml b/examples/snippets/stacks/workflows/addons.yaml index 66a8d947b..1f46f57aa 100644 --- a/examples/snippets/stacks/workflows/addons.yaml +++ b/examples/snippets/stacks/workflows/addons.yaml @@ -9,37 +9,39 @@ 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: >- @@ -47,12 +49,30 @@ workflows: 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. @@ -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. @@ -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 diff --git a/examples/snippets/stacks/workflows/addons/memorydb.yaml b/examples/snippets/stacks/workflows/addons/memorydb.yaml new file mode 100644 index 000000000..1ec2d9f7d --- /dev/null +++ b/examples/snippets/stacks/workflows/addons/memorydb.yaml @@ -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