stacks: [cmp-monitoring]
allowedStages:
    - CODE
    - PROD
deployments:
    cmp-monitoring-cdk-eu-west-1:
        regions: [eu-west-1]
        type: cloud-formation
        contentDirectory: "cloud-formation"
        parameters:
            prependStackToCloudFormationStackName: false
            cloudFormationStackName: cmp-monitoring
            templateStagePaths:
                CODE: CmpMonitoringStackEuWest1Code.template.json
                PROD: CmpMonitoringStackEuWest1Prod.template.json
            cloudFormationStackByTags: false
    cmp-monitoring-lambda-eu-west-1:
        dependencies: [cmp-monitoring-cdk-eu-west-1]
        regions: [eu-west-1]
        type: aws-lambda
        actions: [uploadLambda, updateLambda]
        parameters:
            prefixStack: false
            bucketSsmLookup: true
            fileName: cmp-monitoring-lambda.zip
            lookupByTags: true
    cmp-monitoring-cdk-eu-west-2:
        regions: [eu-west-2]
        type: cloud-formation
        contentDirectory: "cloud-formation"
        parameters:
            prependStackToCloudFormationStackName: false
            cloudFormationStackName: cmp-monitoring
            templateStagePaths:
                CODE: CmpMonitoringStackEuWest2Code.template.json
                PROD: CmpMonitoringStackEuWest2Prod.template.json
            cloudFormationStackByTags: false
    cmp-monitoring-lambda-eu-west-2:
        dependencies: [cmp-monitoring-cdk-eu-west-2]
        regions: [eu-west-2]
        type: aws-lambda
        actions: [uploadLambda, updateLambda]
        parameters:
            prefixStack: false
            bucketSsmLookup: true
            fileName: cmp-monitoring-lambda.zip
            lookupByTags: true
    cmp-monitoring-cdk-us-west-1:
        regions: [us-west-1]
        type: cloud-formation
        contentDirectory: "cloud-formation"
        parameters:
            prependStackToCloudFormationStackName: false
            cloudFormationStackName: cmp-monitoring
            templateStagePaths:
                CODE: CmpMonitoringStackUsWest1Code.template.json
                PROD: CmpMonitoringStackUsWest1Prod.template.json
            cloudFormationStackByTags: false
    cmp-monitoring-lambda-us-west-1:
        dependencies: [cmp-monitoring-cdk-us-west-1]
        regions: [us-west-1]
        type: aws-lambda
        actions: [uploadLambda, updateLambda]
        parameters:
            prefixStack: false
            bucketSsmLookup: true
            fileName: cmp-monitoring-lambda.zip
            lookupByTags: true
    cmp-monitoring-cdk-ap-southeast-2:
        regions: [ap-southeast-2]
        type: cloud-formation
        contentDirectory: "cloud-formation"
        parameters:
            prependStackToCloudFormationStackName: false
            cloudFormationStackName: cmp-monitoring
            templateStagePaths:
                CODE: CmpMonitoringStackApSoutheast2Code.template.json
                PROD: CmpMonitoringStackApSoutheast2Prod.template.json
            cloudFormationStackByTags: false
    cmp-monitoring-lambda-ap-southeast-2:
        dependencies: [cmp-monitoring-cdk-ap-southeast-2]
        regions: [ap-southeast-2]
        type: aws-lambda
        actions: [uploadLambda, updateLambda]
        parameters:
            prefixStack: false
            bucketSsmLookup: true
            fileName: cmp-monitoring-lambda.zip
            lookupByTags: true
    cmp-monitoring-cdk-ca-central-1:
        regions: [ca-central-1]
        type: cloud-formation
        contentDirectory: "cloud-formation"
        parameters:
            prependStackToCloudFormationStackName: false
            cloudFormationStackName: cmp-monitoring
            templateStagePaths:
                CODE: CmpMonitoringStackCaCentral1Code.template.json
                PROD: CmpMonitoringStackCaCentral1Prod.template.json
            cloudFormationStackByTags: false
    cmp-monitoring-lambda-ca-central-1:
        dependencies: [cmp-monitoring-cdk-ca-central-1]
        regions: [ca-central-1]
        type: aws-lambda
        actions: [uploadLambda, updateLambda]
        parameters:
            prefixStack: false
            bucketSsmLookup: true
            fileName: cmp-monitoring-lambda.zip
            lookupByTags: true
