From 2be65332095ee8d030dd67f010328967dbaec279 Mon Sep 17 00:00:00 2001 From: Eric Hartmann <112486+ehartmann@users.noreply.github.com> Date: Tue, 8 Nov 2022 15:09:04 +0100 Subject: [PATCH] Allow side_effect to have parameters Fix #3729 --- src/molecule/data/molecule.json | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/src/molecule/data/molecule.json b/src/molecule/data/molecule.json index 00b867b31f..57f9e4ebcd 100644 --- a/src/molecule/data/molecule.json +++ b/src/molecule/data/molecule.json @@ -457,24 +457,9 @@ "type": "object" }, "ScenarioSequence": { - "additionalProperties": false, "items": { - "enum": [ - "check", - "cleanup", - "converge", - "create", - "dependency", - "destroy", - "idempotence", - "lint", - "prepare", - "side_effect", - "syntax", - "test", - "verify" - ], - "type": "string" + "type": "string", + "pattern": "(^check$)|(^cleanup$)|(^converge$)|(^create$)|(^dependency$)|(^destroy$)|(^idempotence$)|(^lint$)|(^prepare$)|(^side_effect .*$)|(^syntax$)|(^test$)|(^verify$)" }, "title": "ScenarioSequence", "type": "array"