Skip to content

Parameter override in stacks doesn't override the global one #706

@mpratsch

Description

@mpratsch

Hi Eamonn.

Describe the bug
Our puppet manifest.yaml contains a parameter section what looks like that:

  MasterAccountId:
    default: "xxxxx"
  OrgID:
    default: "o-xxxxx"
  LambdaLayerArn
    default: "arn:aws:lambda:eu-central-1:xxxxx:layer:cfn_custom_resource_layer_v5:2"

In a resource in the stacks section we have something like that:

vpc-tagging:
    name: vpc-tagging
    active: true
    execution: spoke
    deploy_to:
      tags:
        - tag: "type:accounts"
          regions: default_region
    version: v1
    capabilities:
      - "CAPABILITY_NAMED_IAM"
    parameters:
      LambdaRuntime:
        default: "3.11"
      LambdaLayerArn:
        ssm:
          name: "/deployment/lambda/lambda_layer_library_311"
          account_id: "${AWS::PuppetAccountId}"

As you can see I try to override the LambdaLayerArnin the resource section it differs.
I deployed that but the lambda layer remains the one from the global parameter section.

Is that by indention or a bug?

This layer is deployed in our puppet account and exists and works when we defined a different variable name.
The stack itself has no default value defined.

Expected behavior
It overrides the value from the global parameter section to the stacks/launches/.. section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions