Commit Graph

32326 Commits

Author SHA1 Message Date
Christian Mesh
a11251cb67 RFC: Clarify provider validate special case
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-10-31 10:50:34 -07:00
Christian Mesh
68a3d7fcd3 RFC provider iteration: Update technical details
Now that we have a prototype well understood, we can
better describe the technical challenges and implementation
flow

Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-10-31 10:50:34 -07:00
Martin Atkins
757daacab9 RFC: Updated "Static Evaluation of Provider Iteration"
This is the beginnings of a proposed amendment to the previously-approved
RFC for static-eval-based provider expansion to incorporate the new
constraints discovered for RFC "Dynamic Provider Instances and Instance
Assignment".

This first draft of the changes focuses only on the "User Documentation"
portion to ensure that we have consensus on the intended user-facing
changes before worrying too much about the implementation details. A
subsequent commit will revise the implementation details once the new
version of the language design is settled.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2024-10-31 10:50:34 -07:00
AbstractionFactory
9d842aa920
Fixes #1605: Customizable metadata key on encryption key providers (#2080)
Signed-off-by: AbstractionFactory <179820029+abstractionfactory@users.noreply.github.com>
2024-10-30 19:52:23 +01:00
Oleksandr Levchenkov
0550798ea8
add some missing changelog entries (#2116)
Signed-off-by: ollevche <ollevche@gmail.com>
2024-10-29 12:39:12 +02:00
boaz0
810df00376
Fix exit command in console interactive mode (#2086)
Signed-off-by: Boaz Shuster <boaz.shuster.github@gmail.com>
2024-10-29 12:13:44 +02:00
jinjiadu
384dc4cb93
chore: fix some function names (#2108)
Signed-off-by: jinjiadu <jinjiadu@aliyun.com>
2024-10-29 12:07:10 +02:00
Wojciech Barczyński
de9fb7ccca
[TSC] summary for the 2024-10-22 TSC meeting (#2094)
Signed-off-by: wojciech12 <wojciechb@spacelift.io>
2024-10-23 17:37:51 +02:00
Christian Mesh
e3a6bcab96
Fix provider functions in child modules (#2082)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-10-23 10:42:38 -04:00
James Humphries
c9541d81b6
Fallback to reading the x-terraform-get header if the module registry returns an empty json body (#2079)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
2024-10-23 15:33:56 +01:00
James Humphries
ce6f727755
Ensure config generation does not crash when importing sensitive values (#2077)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
2024-10-23 15:32:48 +01:00
Wojciech Barczyński
41693b781f
[TSC] summary for the 2024-10-15 TSC meeting (#2092)
Signed-off-by: wojciech12 <wojciechb@spacelift.io>
2024-10-22 19:53:08 +02:00
MS99-9
9c379c0dc0
[REFACTORING] Add description to the schemas used by tofu test #894 (#2029)
Signed-off-by: Ioannis Polyzos <git@ipolyzos.com>
Signed-off-by: Mohamed Medhat Mohamed Ibrahim Shalaby <mohamed.shalaby@tum.de>
Signed-off-by: AbstractionFactory <179820029+abstractionfactory@users.noreply.github.com>
Signed-off-by: Yousif Akbar <11247449+yhakbar@users.noreply.github.com>
Co-authored-by: Ioannis Polyzos <git@ipolyzos.com>
Co-authored-by: AbstractionFactory <179820029+abstractionfactory@users.noreply.github.com>
Co-authored-by: Mohamed Medhat Mohamed Ibrahim Shalaby <mohamed.shalaby@tum.de>
Co-authored-by: Yousif Akbar <11247449+yhakbar@users.noreply.github.com>
2024-10-21 11:00:33 +02:00
Christian Mesh
7cacb9f066
Fix function refs in variable validation (#2052)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-10-17 12:37:54 -04:00
Christian Mesh
d36220e44c
Cleanup and encode existing "bugs" in ProviderTransformer (#2069)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-10-16 08:44:40 -04:00
Yousif Akbar
e15543331c
feat: Adding TSC summary for 2024/10/09 (#2073)
Signed-off-by: Yousif Akbar <11247449+yhakbar@users.noreply.github.com>
2024-10-16 11:45:14 +02:00
Andy Hayes
7215ee2ed8
Adds warning if tests don't provide valid variable (#2057)
Signed-off-by: Andrew Hayes <andrew.hayes@harness.io>
2024-10-15 09:20:11 +01:00
AbstractionFactory
44ac3d5eb4
Weekly update 2024-10-11 (#2068)
Signed-off-by: AbstractionFactory <179820029+abstractionfactory@users.noreply.github.com>
2024-10-11 15:20:00 +02:00
Yousif Akbar
7fddff6ba4
feat: Adding 2024-10-09 TSC summary (#2059)
Signed-off-by: Yousif Akbar <11247449+yhakbar@users.noreply.github.com>
2024-10-09 14:35:05 -04:00
Martin Atkins
8b0b5b271b command/init: Support static eval for backend config migration check
The "backendConfigNeedsMigration" helper evaluates the backend
configuration inline to compare it with the object previously saved in the
.terraform/terraform.tfstate file.

However, this wasn't updated to use the new "static eval" functionality
and so was treating any references to variables or function calls as
invalid, causing a spurious "backend configuration changed" error when
re-initializing the working directory with identical backend configuration
settings.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2024-10-09 09:27:11 -07:00
Andy Hayes
de69070b02
Adds prompt for missing static variables (#2047)
Signed-off-by: Andrew Hayes <andrew.hayes@harness.io>
2024-10-07 18:30:42 +01:00
Tibo Beijen
26fd6394c7
Bumped go-cty-yaml to v1.1.0 (#2044)
Signed-off-by: Tibo Beijen <tibobeijen@gmail.com>
2024-10-04 10:12:25 -04:00
Christian Mesh
0d1e6cd5f0
Handle static variable secret flag (#2045)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-10-03 10:46:58 -04:00
Martin Atkins
8638b815dc
moduledeps: Remove this dead code entirely (#2042)
Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2024-10-02 16:45:31 -04:00
Christian Mesh
c8633519b9
Make sure test vars are only processed during test commands (#2039)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-10-02 14:11:42 -04:00
Christian Mesh
cf30f69148
Update lint make target to match CI (#2025)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-10-02 08:26:27 -04:00
Will Yardley
00e17ff51c
test: use regex for expected value in TestUiHookPreApply_periodicTimer (#2035)
Signed-off-by: William Yardley <wyardley@users.noreply.github.com>
2024-10-02 13:16:40 +03:00
Ioannis Polyzos
0cc4301cd5
Add test cases for GetCommand to cover invalid args scenarios (#1940)
Signed-off-by: Ioannis Polyzos <git@ipolyzos.com>
2024-09-27 10:22:47 -04:00
Ioannis Polyzos
4b0a3966cd
Add the test-with-coverage makefile target. (#2017)
Signed-off-by: Ioannis Polyzos <git@ipolyzos.com>
Signed-off-by: AbstractionFactory <179820029+abstractionfactory@users.noreply.github.com>
Co-authored-by: AbstractionFactory <179820029+abstractionfactory@users.noreply.github.com>
2024-09-27 08:07:23 -04:00
Alejandro Sajaroff
ffeb707b44
Adding documentation for HTTP backend user-defined headers (#2020)
Signed-off-by: Alejandro Sajaroff <29068982+asajaroff@users.noreply.github.com>
2024-09-27 10:41:44 +02:00
AbstractionFactory
6ffc1cc0c0
Rewording the feature form (#1992)
Signed-off-by: abstractionfactory <179820029+abstractionfactory@users.noreply.github.com>
Signed-off-by: AbstractionFactory <179820029+abstractionfactory@users.noreply.github.com>
2024-09-27 10:22:24 +02:00
Ioannis Polyzos
34a0e515b9
Add a test target in Makefile to run tests across all packages (#2016)
Signed-off-by: Ioannis Polyzos <git@ipolyzos.com>
2024-09-26 09:14:22 -04:00
Andy Hayes
20187d859f
Prevents providers mirror from crashing with bad lock file (#1985)
Signed-off-by: Andrew Hayes <andrew.hayes@harness.io>
2024-09-25 09:01:17 -04:00
Oleksandr Levchenkov
485be411c0
remove unused arg in test runner start (#2019)
Signed-off-by: ollevche <ollevche@gmail.com>
2024-09-25 09:00:13 -04:00
Arunim Chaudhary
d33ccba2d2
Fix debug logging doesn't show module name (#2009)
Signed-off-by: Arunim Chaudhary <arunim.chaudhary@stackguardian.io>
2024-09-23 08:00:51 -04:00
Christian Mesh
12ed264597
Warning and Error consolidation CLI options (#1894)
Signed-off-by: Hefeweizen <jmales@gmail.com>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Signed-off-by: Syasusu <syasusu@163.com>
Co-authored-by: Hefeweizen <jmales@gmail.com>
Co-authored-by: Syasusu <syasusu@163.com>
2024-09-23 07:31:06 -04:00
Tom Noonan II
bc166ce498
Update CONTRIBUTING.md: Update 'docker run' example (#2005)
Signed-off-by: Tom Noonan II <tom@tjnii.com>
2024-09-23 07:23:32 -04:00
Alexandru Trendler
48abc52e46
bug: add error handling for missing state lock config in S3, HTTP and OSS backends (#1977)
Signed-off-by: g0dfl3sh <alex1trendler@gmail.com>
Signed-off-by: Alexandru Trendler <117138249+g0dfl3sh@users.noreply.github.com>
Co-authored-by: Oleksandr Levchenkov <ollevche@gmail.com>
2024-09-20 18:29:36 +02:00
AbstractionFactory
a9d1af85a9
Weekly updates 2024-09-20 (#2002)
Signed-off-by: AbstractionFactory <179820029+abstractionfactory@users.noreply.github.com>
2024-09-20 12:09:20 +02:00
Arunim Chaudhary
8a9f87316e
Fix Terraform Version in 1.8.x Migration Guide (#1987)
Signed-off-by: Arunim Chaudhary <arunim.chaudhary@stackguardian.io>
2024-09-19 13:28:36 -04:00
Christian Mesh
53130fa487
Fix inverted entries in provider error message (#1991)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-09-18 11:11:15 -04:00
Oleksandr Levchenkov
d896e939f0
fix config generation with optional empty sensitive string (#1986)
Signed-off-by: ollevche <ollevche@gmail.com>
2024-09-18 11:10:56 -04:00
Christian Mesh
aa657ef0fb
Update docs version message (#1990)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-09-18 11:04:59 -04:00
Ioannis Polyzos
beab8cfaba
Add the .POSIX line to Makefile (#1928)
Signed-off-by: Ioannis Polyzos <git@ipolyzos.com>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: Christian Mesh <christianmesh1@gmail.com>
2024-09-18 10:54:39 -04:00
abstractionfactory
892440def6
Fixes #1931: Dockerfile update / base image deprecation (#1993)
Signed-off-by: Janos <179820029+abstractionfactory@users.noreply.github.com>
2024-09-17 16:07:07 +02:00
Burak Şen
854c49e04b
Fix all unknown block not outputted (#1948)
Signed-off-by: buraksenn <buraksenb@gmail.com>
2024-09-17 09:49:33 -04:00
Burak Şen
2091c96984
Fix setops not used in block set renderer (#1950)
Signed-off-by: buraksenn <buraksenb@gmail.com>
2024-09-17 09:36:35 -04:00
Viktor Szépe
bb63574f09
Fix typos (#1954)
Signed-off-by: Viktor Szépe <viktor@szepe.net>
2024-09-17 12:04:30 +02:00
dropbigfish
c068a70a9f
chore: fix some function names (#1957)
Signed-off-by: dropbigfish <fillfish@foxmail.com>
2024-09-16 13:36:15 -04:00
Ronny Orot
becc3ec738
Update WEEKLY_UPDATES.md (#1989)
Signed-off-by: Ronny Orot <ronny.orot@gmail.com>
2024-09-16 11:45:22 +02:00