Skip to content

Commit

Permalink
restore s3 handler test
Browse files Browse the repository at this point in the history
restore an integration test to validate that the s3 template handler can
deploy python based templates.
  • Loading branch information
zaro0508 committed Oct 13, 2021
1 parent e63e712 commit 51636d4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
5 changes: 5 additions & 0 deletions integration-tests/features/generate-template-s3.feature
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@ Feature: Generate template s3
Given the template for stack "13/C" is "jinja/valid_template.j2"
When the user generates the template for stack "13/C"
Then the output is the same as the contents of "valid_template.json" template

Scenario: Render python templates with S3 template handler
Given the template for stack "13/D" is "python/valid_template.py"
When the user generates the template for stack "13/D"
Then the output is the same as the contents of "valid_template.json" template
5 changes: 5 additions & 0 deletions integration-tests/sceptre-project/config/13/D.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sceptre_user_data:
type: AWS::CloudFormation::WaitConditionHandle
template:
path: sceptre-test-artifacts/13/python/valid_template.json
type: s3

This file was deleted.

0 comments on commit 51636d4

Please sign in to comment.