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}
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
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}