Commit graph

27 commits

Author SHA1 Message Date
Liam Cervante
a80220dcc9
stacks: rename .tfstack files to .tfcomponent (#37013)
* stacks: rename .tfstack files to .tfcomponent

* fix consistency issues
2025-05-15 08:33:13 +02:00
Liam Cervante
dcff9e4d2c
stacks: improve test coverage for removed blocks (#36914)
* stacks: improve test coverage for removed blocks

* remove leftover comment
2025-04-24 09:22:50 +02:00
Liam Cervante
a06f82746a
stacks: update removed blocks to allow targeting of embedded stacks (#36814)
* stacks: update removed blocks to allow targeting of embedded stacks

* copywrite headers
2025-04-04 15:01:37 +02:00
Liam Cervante
2b5101f734
stacks: include existing components when deferring nested stacks (#36788)
* stacks: include existing components when deferring nested stacks

* improve comments
2025-04-03 10:40:28 +02:00
Liam Cervante
fbd5a7930e
stacks: allow removed blocks to target components in nested stacks (#36787)
* stacks: allow removed blocks to target components in nested stacks

* make copywrite fix

* fix comments
2025-04-03 10:29:18 +02:00
Liam Cervante
c16d466773
stacks: allow multiple removed blocks to target the same component (#36693)
* stacks: allow multiple removed blocks to target the same component

* make linter happy
2025-03-18 08:54:27 +01:00
Liam Cervante
3d014d82f3
stacks: fix errors processing index keys of removed blocks (#36673) 2025-03-12 10:33:18 +01:00
Liam Cervante
7eb94fa7c8 stacks: fix tests broken now that ephemeral outputs aren't allowed 2024-10-11 10:23:10 +02:00
Liam Cervante
bfa320c7b0
stacks: represent ephemeral inputs and outputs as null (#35824)
* stacks: represent ephemeral inputs and outputs as null

* quick fix: remove unnecessary check
2024-10-08 16:46:31 +02:00
Daniel Schmidt
ceb52e65bb
stacks: support forgetting components 2024-09-16 10:20:29 +02:00
Liam Cervante
c00bee8bbd
stacks: add a test for removed blocks in embedded stacks (#35681)
* stacks: add a test for removed blocks in embedded stacks

* restore test files
2024-09-07 15:22:59 +02:00
Liam Cervante
cf49545b5a
stacks: include removed blocks during validate command (#35680) 2024-09-07 15:04:14 +02:00
Liam Cervante
f8fe397d88
stacks: add removed block functionality (#35671)
* stacks: add removed block functionality

* fix compile errors
2024-09-07 14:36:16 +02:00
Liam Cervante
7163c4b6d5
stacks: fix destroy ordering of stacks destroy plans (#35665)
* stacks: remove unneeded required components functions

* stacks: refactor the mock provider for realism

* deferred actions: fix missing features in deletions

* stacks: fix destroy ordering of stacks destroy plans

* fix missing import
2024-09-05 12:10:24 +02:00
Liam Cervante
cb7bae3217
stacks: remove stale state during Stack apply operations (#35639) 2024-08-28 09:23:41 +02:00
Liam Cervante
5939efb798
stacks: add depends_on for embedded stacks and components (#35549) 2024-08-12 15:02:36 +02:00
Liam Cervante
46393f2a92
stacks: apply automatic type conversion before comparing inputs (#35530)
* stacks: apply automatic type conversion before comparing inputs

* correct error message for missing ephemeral value during apply
2024-08-05 10:08:35 +02:00
Liam Cervante
3ecf7655ba
stacks: insert unknown values for missing outputs during applies (#35463)
* stacks: insert unknown values for missing outputs during apply operations

* fix tests
2024-07-17 08:44:39 +02:00
Liam Cervante
dc06717f69
stacks: add support for unknown for_each expressions in providers (#35267)
* stacks: add support for unknown for_each expressions in providers

* return more precise values for the unknown provider
2024-06-04 16:26:23 +02:00
Liam Cervante
7a8ffff66e
stacks: Fix unknown provider values crashing validation phase (#35155)
* test to reproduce

* stacks: Fix unknown provider values crashing validation phase

* remove extra type information

---------

Co-authored-by: CJ Horton <cjhorton@hashicorp.com>
2024-05-16 13:06:13 +02:00
Daniel Schmidt
3267718d3d
stacks: support unknown for_each on embedded stacks 2024-05-06 16:50:48 +02:00
Daniel Schmidt
3a7150b27e
stacks: handle unknown values in component for_each 2024-04-29 16:31:20 +02:00
Liam Cervante
cec4b7b74c
stacks: validate providers based on types instead of local names (#34735)
* stacks: validate providers based on types instead of local names

* fix tests
2024-02-28 08:24:53 +01:00
Liam Cervante
31a7fa88d5
stacks: validate provider configurations during static analysis (#34730) 2024-02-27 08:43:58 +01:00
Liam Cervante
b2cc7dbadf
stacks: validate the types of input variables during validation (#34722) 2024-02-26 11:36:19 +01:00
Liam Cervante
b3abff5750
stacks: check providers blocks in components during validatation (#34707) 2024-02-21 11:07:51 +01:00
Liam Cervante
64b311d53a
stacks: apply sensitive marks to outputs from components (#34684)
* stacks: apply sensitive marks to outputs from components

* gen headers

* ensure consistent test ordering
2024-02-16 10:46:50 +01:00