diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 195fd8c..038fe5f 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,4 @@ +0.18.14: RD-4372 Make sure that terraform plan only uses module nodes. 0.18.13: Fix issue in tflint 0.18.12: Soft Fail TF Sec 0.18.11: diff --git a/cloudify_tf/workflows.py b/cloudify_tf/workflows.py index f77ba4b..ca50a67 100644 --- a/cloudify_tf/workflows.py +++ b/cloudify_tf/workflows.py @@ -110,6 +110,8 @@ def terraform_plan(ctx, ) elif node_ids or (not node_ids and not node_instance_ids): for node in ctx.nodes: + if 'cloudify.nodes.terraform.Module' not in node.type_hierarchy: + continue if not node_ids or node.id in node_ids: for instance in node.instances: _plan_module_instance( diff --git a/plugin.yaml b/plugin.yaml index 4968567..64bc353 100644 --- a/plugin.yaml +++ b/plugin.yaml @@ -2,7 +2,7 @@ plugins: tf: executor: central_deployment_agent package_name: cloudify-terraform-plugin - package_version: '0.18.13' + package_version: '0.18.14' dsl_definitions: