summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cfn/F17/invalid/AutoScalingMultiAZSample.template (renamed from cfn/F17/AutoScalingMultiAZSample.template)0
-rw-r--r--cfn/F17/invalid/AutoScalingMultiAZSample.yaml (renamed from cfn/F17/AutoScalingMultiAZSample.yaml)0
-rwxr-xr-xtools/validate-templates4
3 files changed, 2 insertions, 2 deletions
diff --git a/cfn/F17/AutoScalingMultiAZSample.template b/cfn/F17/invalid/AutoScalingMultiAZSample.template
index 3271591..3271591 100644
--- a/cfn/F17/AutoScalingMultiAZSample.template
+++ b/cfn/F17/invalid/AutoScalingMultiAZSample.template
diff --git a/cfn/F17/AutoScalingMultiAZSample.yaml b/cfn/F17/invalid/AutoScalingMultiAZSample.yaml
index bc4ca4b..bc4ca4b 100644
--- a/cfn/F17/AutoScalingMultiAZSample.yaml
+++ b/cfn/F17/invalid/AutoScalingMultiAZSample.yaml
diff --git a/tools/validate-templates b/tools/validate-templates
index aea595c..3b58d1b 100755
--- a/tools/validate-templates
+++ b/tools/validate-templates
@@ -6,7 +6,7 @@ import subprocess
import sys
-EXCLUDED_DIRS = ('contrib', 'elements')
+EXCLUDED_DIRS = ('contrib', 'elements', 'invalid')
def main(args):
@@ -37,7 +37,7 @@ def validate(base, name):
try:
subprocess.check_output(args, stderr=subprocess.STDOUT)
except subprocess.CalledProcessError as e:
- print "Got error validating %s , %s" % (name, e.output)
+ print "Got error validating %sputt%s , %s" % (base, name, e.output)
if re.search('ERROR: Service (\S+) does not have required endpoint in'
' service catalog for the resource type (\S+)', e.output):
return False