Skip to content

Commit 512e574

Browse files
committed
fixup! Add OpenTofu 1.9 exclude parameter support
1 parent dd44cfd commit 512e574

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/test-target-replace-exclude.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,7 @@ jobs:
586586
uses: ./tofu-apply
587587
id: apply-exclude
588588
with:
589+
label: test-exclude tofu_exclude_testing
589590
path: tests/workflows/test-target-replace-exclude
590591
exclude: |
591592
random_string.exclude_me

image/src/github_pr_comment/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def format_description(action_inputs: PlanPrInputs, sensitive_variables: List[st
140140
label += '\nTargeting resources: '
141141
label += ', '.join(f'`{res.strip()}`' for res in action_inputs['INPUT_TARGET'].splitlines())
142142

143-
if action_inputs["INPUT_EXCLUDE"]:
143+
if action_inputs.get("INPUT_EXCLUDE"):
144144
label += '\nExcluding resources: '
145145
label += ', '.join(f'`{res.strip()}`' for res in action_inputs['INPUT_EXCLUDE'].splitlines())
146146

0 commit comments

Comments
 (0)