Skip to content

Getting error message: 'Template format error: unsupported structure.', code: 'ValidationError', while trying to use mode: validate #14

Description

@parikshit-dev

Hi, Robert

I am facing this template format error while using validate mode to validate the CFT template, while aws cli for validate-template suggest to add file:// tag .. can you please look into this .. I providing the step below :

Also what is correct location to put the region, inside settings or in params: , if someone want to not use the default aws region

  • name: Cloudformation_Validate
    image: robertstettner/drone-cloudformation
    pull: true
    region: ${region}
    mode: validate
    settings:
    stackname: my-${svc_name}-${DRONE_BRANCH}
    template: Infra/CFT/${svc_name}/env_params/${env}.yml
    region: ${region}
    params:
    Version: ${DRONE_BUILD_NUMBER}
    Environment: ${env}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions