Skip to content

Skip validation of compiled inlined templates  #155

@Guslington

Description

@Guslington

When a sub component inlines another component all templates compiled are validated which can sometimes lead to validation errors of templates that are not required as they've been inlined.

for example the fargate-v2 component inlines the ecs-task component. If add a custom parameter to the fargate-v2 component that's used in the task definition, validation for the ecs-task template fails because it doesn't have the parameter.

However there is no point in validating the ecs-task template as it's been inlined into the fargate template.
I think we should delete all inlined templates before validation

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions