Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: What happens if amiParametersToTags contains used config? #397

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- uses: guardian/actions-riff-raff@v2
with:
projectName: devx::cdk-playground
configPath: cdk/cdk.out/riff-raff.yaml
configPath: riff-raff.yaml
contentDirectories: |
cdk.out:
- cdk/cdk.out
Expand Down
86 changes: 86 additions & 0 deletions riff-raff.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
allowedStages:
- PROD
deployments:
lambda-upload-eu-west-1-playground-cdk-playground-lambda:
type: aws-lambda
stacks:
- playground
regions:
- eu-west-1
app: cdk-playground-lambda
contentDirectory: cdk-playground-lambda
parameters:
bucketSsmLookup: true
lookupByTags: true
fileName: cdk-playground-lambda.zip
actions:
- uploadLambda
asg-upload-eu-west-1-playground-cdk-playground:
type: autoscaling
actions:
- uploadArtifacts
regions:
- eu-west-1
stacks:
- playground
app: cdk-playground
parameters:
bucketSsmLookup: true
prefixApp: true
contentDirectory: cdk-playground
cfn-eu-west-1-playground-cdk-playground:
type: cloud-formation
regions:
- eu-west-1
stacks:
- playground
app: cdk-playground
contentDirectory: cdk.out
parameters:
templateStagePaths:
PROD: CdkPlayground.template.json
amiParametersToTags:
AMICdkplayground:
BuiltBy: amigo
AmigoStage: PROD
Recipe: developerPlayground-arm64-java11
Encrypted: 'true'
NotUsed:
BuiltBy: amigo
AmigoStage: PROD
Recipe: developerPlayground-arm64-java11
Encrypted: 'true'
dependencies:
- lambda-upload-eu-west-1-playground-cdk-playground-lambda
- asg-upload-eu-west-1-playground-cdk-playground
lambda-update-eu-west-1-playground-cdk-playground-lambda:
type: aws-lambda
stacks:
- playground
regions:
- eu-west-1
app: cdk-playground-lambda
contentDirectory: cdk-playground-lambda
parameters:
bucketSsmLookup: true
lookupByTags: true
fileName: cdk-playground-lambda.zip
actions:
- updateLambda
dependencies:
- cfn-eu-west-1-playground-cdk-playground
asg-update-eu-west-1-playground-cdk-playground:
type: autoscaling
actions:
- deploy
regions:
- eu-west-1
stacks:
- playground
app: cdk-playground
parameters:
bucketSsmLookup: true
prefixApp: true
dependencies:
- cfn-eu-west-1-playground-cdk-playground
contentDirectory: cdk-playground