Skip to content

Commit 23e0bea

Browse files
committed
test
1 parent 4a303c1 commit 23e0bea

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/test-apply.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1532,11 +1532,6 @@ jobs:
15321532
deprecated_var_ephemeral:
15331533
runs-on: ubuntu-24.04
15341534
name: Nice error message for ephemeral var
1535-
permissions:
1536-
contents: read
1537-
pull-requests: write
1538-
env:
1539-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15401535
steps:
15411536
- name: Checkout
15421537
uses: actions/checkout@v4
@@ -1545,17 +1540,18 @@ jobs:
15451540

15461541
- name: Plan using explicit ephemeral value
15471542
uses: ./terraform-plan
1543+
id: plan
15481544
with:
1549-
label: test-apply deprecated_var_ephemeral
1550-
path: tests/workflows/test-apply/ephemeral
15511545
var: mv=hello
1546+
path: tests/workflows/test-apply/ephemeral
15521547

15531548
- name: Apply using explicit ephemeral value
15541549
uses: ./terraform-apply
15551550
id: apply
15561551
with:
1557-
label: test-apply deprecated_var_ephemeral
15581552
path: tests/workflows/test-apply/ephemeral
1553+
plan_path: ${{ steps.plan.outputs.plan_path }}
1554+
auto_approve: 'true'
15591555
var: mv=hello
15601556

15611557
- name: Check failed to apply

0 commit comments

Comments
 (0)