Commit Graph

3963 Commits (sarah/init-cmd-testing-comments)

Author SHA1 Message Date
Sarah French 085c53c3f2 docs: Add godoc comments to tests in command package for the init command
4 months ago
Sarah French 827f693e32
test: Update `TestInit_fromModule_dstInSrc` to reflect current behaviour when -from-module references the location of the current directory (#38059)
4 months ago
Radek Simko 1186262c8c
backend/http: Refresh state earlier (align with other backends) (#38033)
4 months ago
Mark Hall 7029dfac86
Fix nil pointer dereference in backend state migration (#38028)
4 months ago
Michael Yocca 810f497ecd
fix(cloud): cloud backend rendering query warning diags (#38040)
4 months ago
Jared Baker 4f53303c12
Merge branch 'main' into fix/s3-backend-fips-env-var-parsing
4 months ago
Andy Hay e3263bece0
cleanup: remove stale FIXME in terraform provider (#38031)
4 months ago
Sarah French 193867f060
test: Add E2E test coverage for inspecting a plan file using the `terraform show` command (#38020)
5 months ago
Sarah French fd7f25120b
PSS: Allow pluggable state store configuration to be read from a plan file (#37957)
5 months ago
Kevin Vu c36c81431a
fix: validate replace_triggered_by attribute references (#38010)
5 months ago
Sarah French f88d09544e
PSS: Add tests showing `provider` commands being used with PSS (#37959)
5 months ago
Sarah French 578766bdc0
PSS: Add tests showing `output` and `show` commands being used with PSS (#37894)
5 months ago
Sarah French 940fbfb7ed
test: Add more test coverage of `validate` command's interaction with `backend` blocks (#37977)
5 months ago
Sarah French 33d54b9a7c
test: Update module used for testing `init`'s `-from-module` feature, so that the test can be run on darwin_arm64 platforms. (#38015)
5 months ago
Radek Simko 213d133d86
command/meta: Enable migration from PSS to a backend (#37949)
5 months ago
Nick Fagerlund b2aad914f1
stacks: Make path.module and path.root relative, to match documentation (#37982)
5 months ago
Sarah French f591872699
PSS: Allow pluggable state store configuration to be stored in a plan file (#37956)
5 months ago
Matej Risek 768b7bd0bc Add local values walk to walk_dynamic
5 months ago
Daniel Schmidt 871e836fc7 failing resource instance apply should keep prior state
5 months ago
stephybun c9d024062a
Generate Resource Config: set state in proto req (#37895)
5 months ago
James Pogran 2c075b9f8e
Add component registry source resolution support to Terraform Stacks (#37888)
5 months ago
Sarah French a83b7402c2
PSS: Add tests showing `state` subcommands being used with PSS (#37891)
5 months ago
Sarah French 3eea12a1d8
test: Add test coverage for what validate command checks in resource blocks versus backend blocks. (#37972)
5 months ago
Sarah French 0941763d05
test: Add a test that shows a custom workspace being baked-into a planfile (#37917)
5 months ago
Vasist10 fe70f0a7db
fix: prevent zero-byte remote state writes (#37947)
6 months ago
Kristin Laemmert 869058f995
chore: add default events to the MockProvider's InvokeAction response (#37961)
6 months ago
Sarah French 9fb91c2229
PSS: Refactor Plan struct to reference `Backend` and `StateStore` via pointers, update calling code (#37946)
6 months ago
Sarah French 64015ca6d2
refactor: let panic arise directly if the provider doesn't implement providers.StateStoreChunkSizeSetter (#37942)
6 months ago
Sarah French cf047be4e4
PSS: Use interfaces to configure state stores (#37899)
6 months ago
Kevin Vu b62d97ac88 fix: parse boolean env vars in S3 backend correctly
6 months ago
James Bardin 6ed7151b2c
Merge pull request #37923 from hashicorp/jbardin/nesting-group-schema-fixes
6 months ago
Kevin Vu 87b3390189
fix: Make init backend messages JSON-compatible (#37920)
6 months ago
Daniel Schmidt 65a23ed352 action: also set edges to expandable nodes on apply
6 months ago
Daniel Schmidt 7647923c53 actions: connect resource instance nodes to after actions
6 months ago
Sarah French 4381860dc6
fix: Make `state show` command exit with code 1 if the stored state cannot be marshalled for rendering (#37933)
6 months ago
Sarah French 1a547775ff
refactor: Make the JSON view for `init` commands use defaults from the hclog package (#37840)
6 months ago
Steven Masley 3df28c3101
fix: Make `terraform init` JSON log timestamps include millisecond precision (#37818)
6 months ago
dependabot[bot] 7034a193d9
build(deps): bump golang.org/x/crypto from 0.44.0 to 0.45.0 (#37925)
6 months ago
James Bardin 07a7d50f14 fix handling of NestingGroup
6 months ago
Radek Simko d884031b4b
PSS: Implement unsetting of a state store (#37875)
6 months ago
Sarah French 4420c4dcc0
PSS: Update the `workspace new` subcommand to work with PSS, add E2E and integration tests for using `workspace` commands with PSS. (#37855)
6 months ago
Kevin Vu dc0eba33af
fix: support ephemeral resources in jsonchecks (#37893)
6 months ago
Sarah French 1dd8e60f15
chore: Bump golang.org/x/crypto dependency, ignore SA4003 linting errors globally (#37901)
6 months ago
Liam Cervante cfbfdc5797
providers lock: include test files when loading configuration (#37851)
6 months ago
Daniel Schmidt 1cd08351fb add test cases for invoking an action in a module
6 months ago
Daniel Schmidt 053738fbf0 add additional warning that providers won't be downloaded
6 months ago
Daniel Schmidt 1b662d78e5 init: skip dependencies declared in development override
6 months ago
Sarah French f2818db795
PSS : Add `fs` and `inmem` state storage implementations to the builtin `simplev6` provider, update `grpcwrap` package, use PSS implementation in E2E test (#37790)
6 months ago
Max Qian 078ac7cb21
fix: `TestTest_Parallel` adds delay to ensure order (#37890)
6 months ago
James Bardin 64f2b5d9c6
Merge pull request #37886 from hashicorp/jbardin/state-deep-equal
6 months ago