Skip to content

Commit

Permalink
make sure terraform plan only uses module nodes (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
EarthmanT authored Mar 16, 2022
1 parent da91b85 commit 428afb7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 2 additions & 0 deletions cloudify_tf/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 428afb7

Please sign in to comment.