summaryrefslogtreecommitdiff
path: root/module/ri-engine/src/main/resources
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2021-01-06 16:04:22 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2021-01-06 16:04:22 +0100
commit149cf9efadb1da64b9ee716ac9bee1ac0c0e1329 (patch)
tree4e4de8f953d1d3ae96911eb190c281476f08b363 /module/ri-engine/src/main/resources
parente84ef1adb8ff0d3b121ea12b2d3e15fa52eb2f00 (diff)
downloadrules-sandbox-149cf9efadb1da64b9ee716ac9bee1ac0c0e1329.tar.gz
rules-sandbox-149cf9efadb1da64b9ee716ac9bee1ac0c0e1329.tar.bz2
rules-sandbox-149cf9efadb1da64b9ee716ac9bee1ac0c0e1329.tar.xz
rules-sandbox-149cf9efadb1da64b9ee716ac9bee1ac0c0e1329.zip
Using agenda groups to sequence phases.
Diffstat (limited to 'module/ri-engine/src/main/resources')
-rw-r--r--module/ri-engine/src/main/resources/io/trygvis/rules/terraform/terraform.drl2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/ri-engine/src/main/resources/io/trygvis/rules/terraform/terraform.drl b/module/ri-engine/src/main/resources/io/trygvis/rules/terraform/terraform.drl
index 40b9f7c..b3d176b 100644
--- a/module/ri-engine/src/main/resources/io/trygvis/rules/terraform/terraform.drl
+++ b/module/ri-engine/src/main/resources/io/trygvis/rules/terraform/terraform.drl
@@ -39,6 +39,7 @@ then
end
rule "TF for TerraformMachine"
+ agenda-group "generate"
when
$m: Machine()
$scw: ScalewayMachine(machine == $m)
@@ -48,6 +49,7 @@ then
end
rule "Terraform for DNS"
+ agenda-group "generate"
when
$entry: DnsEntry()
$tf : DnsEntryTerraformExpression(entry == $entry)