Liam Cervante
c9a7b7f082
cleanup after 1.6.0-alpha20230802 release ( #33623 )
2023-08-02 13:50:11 +02:00
Liam Cervante
1ecd1233dc
alpha20230802 release - fix tag in VERSION
2023-08-02 12:10:36 +02:00
Liam Cervante
6ec59e6cef
alpha20230802 release - fix tag in CHANGELOG
2023-08-02 12:10:07 +02:00
Liam Cervante
21eebb74fa
Merge pull request #33621 from hashicorp/liamcervante/1.6.0-alpha20230208
...
Prepare for the 1.6.0-alpha20230208 release
2023-08-02 11:48:56 +02:00
Liam Cervante
8c757c65fb
Prepare for the 1.6.0-alpha20230208 release
2023-08-02 11:38:41 +02:00
kmoe
fa977f684c
Update CHANGELOG.md
2023-08-02 10:24:29 +01:00
kmoe
765c25d2ed
allow interpolation in import block id ( #33618 )
...
The import block id field can now reference variables, attributes, and module outputs, as long as the result is a known non-empty string at plan time. A null or unknown value will result in an error.
This commit slightly modifies the legacy CLI terraform import code path to construct a synthetic hcl.Expression from the import id passed in from the command line, with no intended change of functionality.
2023-08-02 10:20:27 +01:00
Liam Cervante
8b764f2e1b
fix race condition in no_provides_in_main test ( #33616 )
2023-08-02 11:02:26 +02:00
Karl Kirch
d7e07e66fc
Add ability to specify Terraform Cloud Project in cloud block ( #33489 )
...
* Add ability to specify Terraform Cloud Project in cloud block
Adds project configuration to the workspaces section of the cloud block.
Also configurable via the `TF_CLOUD_PROJECT` environment variable.
When a project is configured, the following behaviors will occur:
- `terraform init` with workspaces.name configured will create the workspace in the given project
- `terraform workspace new <name>` with workspaces.tags configured will create workspaces in the given project
- `terraform workspace list` will list workspaces only from the given project
The following behaviors are NOT affected by project configuration
- `terraform workspace delete <name>` does not validate the workspace's inclusion in the given project
- When initializing a workspace that already exists in Terraform Cloud, the workspace's parent project is NOT validated against the given project
Adds tests for cloud block configuration of project
Update changelog
* Update cloud block docs
* Fix typos and changelog entry
* Add speculative project lookup early in the cloud initialize process to capture inability to find a configured project
* Add project config for alias test
2023-08-01 13:43:07 -07:00
Liam Cervante
3bea1171af
test framework: expand variables available to test assertions ( #33611 )
2023-08-01 09:59:29 +02:00
Liam Cervante
bf6f32c19a
test framework: fix bug preventing remaining assertions being checked after one has failed ( #33601 )
2023-08-01 09:56:51 +02:00
Liam Cervante
4560a83721
test framework: include transformed config before validating config ( #33608 )
2023-08-01 09:47:00 +02:00
Graham Davison
84edaaed57
Merge pull request #33571 from hashicorp/s3/add-legacy-acceptance-tests
...
S3 Backend: Add legacy authentication flow tests
2023-07-31 13:27:02 -07:00
Craig Wright
52c7332d8a
Merge pull request #33604 from hashicorp/crw-patch-1
2023-07-31 10:59:22 -07:00
Craig Wright
58fc822ec4
Update tostring.mdx
2023-07-31 10:37:00 -07:00
Craig Wright
e1148b3ad7
Update website/docs/language/functions/tostring.mdx
...
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2023-07-31 10:35:33 -07:00
Craig Wright
40dfd20dda
Update tostring.mdx for null value conversion
...
Per https://github.com/hashicorp/terraform/issues/33603 , updating the documentation to accurately reflect the current implementation.
2023-07-28 15:11:06 -07:00
CJ Horton
76b504f6d7
Update CHANGELOG.md
2023-07-27 09:57:03 -07:00
CJ Horton
28615e63ca
Merge pull request #33592 from hashicorp/radditude/update-go-getter
...
update go-getter to v1.7.2
2023-07-27 09:54:09 -07:00
Liam Cervante
f397954c52
testing framework: allow users to specify deeply nested testing directories ( #33584 )
2023-07-27 10:38:21 +02:00
Liam Cervante
4122ba86fc
terraform test: fix crash when using nested modules from test run blocks ( #33589 )
2023-07-27 10:22:53 +02:00
CJ Horton
4c834e0831
go get github.com/hashicorp/go-getter@v1.7.2
2023-07-26 18:10:52 -07:00
Sebastian Rivera
088b5724e1
Merge pull request #33587 from hashicorp/sebasslash/saved-cloud-plans-changelog
...
Add changelog entry for saved cloud plans
2023-07-26 11:40:46 -04:00
Sebastian Rivera
e69152ab04
Update CHANGELOG.md
...
Co-authored-by: Brandon Croft <brandon.croft@gmail.com>
2023-07-26 11:29:38 -04:00
Sebastian Rivera
6a8f10c1fa
Update Changelog
2023-07-26 08:58:46 -04:00
Liam Cervante
e1019b3641
testing framework: validate the configuration before terraform test ( #33559 )
...
* testing framework: call validate on the configuration before running terraform test
* address comments
* make tests pass after merge
* fix tests
2023-07-26 10:56:44 +02:00
Liam Cervante
55792309eb
test framework: add support for testing files to fmt command ( #33576 )
2023-07-26 10:38:47 +02:00
Liam Cervante
080ddead6e
testing framework: perform a plan before starting any tests ( #33561 )
2023-07-26 10:24:25 +02:00
Liam Cervante
083c9afd5b
testing framework: add trace and debug statements during test executions ( #33554 )
2023-07-26 10:11:27 +02:00
Liam Cervante
222676390c
testing framework: add validation for provider blocks in test files ( #33542 )
...
* testing framework: add validation for provider blocks in test files
* .tftest -> .tftest.hcl
2023-07-26 10:01:18 +02:00
Liam Cervante
dff447bc9f
fix crash when nested data blocks are mixed with the import command ( #33578 )
2023-07-26 09:41:00 +02:00
Brandon Croft
e32526f852
Merge pull request #33463 from hashicorp/TF-7583-integrate-terraform-cloudplugin-protocol-and-client-in-terraform
...
Integrate terraform cloudplugin protocol and client
2023-07-25 16:53:23 -06:00
Craig Wright
f2749f843d
Merge pull request #32279 from Tensho/doc-create-before-destroy-propagation
2023-07-25 15:11:44 -07:00
Brandon Croft
14628b9246
Update cloudproto1.pb.go
2023-07-25 09:30:25 -06:00
Brandon Croft
e5ce25099c
Apply suggestions from code review
...
Co-authored-by: Sebastian Rivera <sebastian.rivera@hashicorp.com>
2023-07-25 09:28:32 -06:00
Brandon Croft
9bb566dcdb
Update cloudplugin type casting to simplify adding future versions
2023-07-25 09:28:32 -06:00
Brandon Croft
2c3d134705
Adds cloud
subcommand with some toy options
2023-07-25 09:28:32 -06:00
Brandon Croft
7111fd1170
Adds cloudproto1 to make protobuf
2023-07-25 09:28:31 -06:00
Brandon Croft
a806f6220a
Tests the cloudplugin1 gRPC client
2023-07-25 09:28:31 -06:00
Brandon Croft
539e140d3e
Introduces cloudproto1 plugin interface
2023-07-25 09:28:31 -06:00
Brandon Croft
fec1ca69ac
Fix console godoc
2023-07-25 09:28:30 -06:00
Sebastian Rivera
dceb8453af
Merge pull request #33492 from hashicorp/cli-team/saved-cloud-plans
...
Implement saved cloud plans
2023-07-25 10:29:19 -04:00
Sebastian Rivera
08e58fd484
Fix saved plan test regressions, fixtures
2023-07-25 10:22:46 -04:00
Andrew Babichev
91c7402bad
Update website/docs/language/meta-arguments/lifecycle.mdx
...
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2023-07-25 09:38:49 +01:00
Andrew Babichev
06c6532681
Update website/docs/language/meta-arguments/lifecycle.mdx
...
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2023-07-25 09:38:42 +01:00
Graham Davison
5588603822
Merge pull request #33534 from hashicorp/s3/update-configschema
...
S3 Backend: Converts from `legacy/helper/schema` to `configschema`
2023-07-24 17:46:09 -07:00
Graham Davison
8564a5bf0e
Fixes type of parameter skip_credentials_validation
2023-07-24 17:36:51 -07:00
Graham Davison
47fc769da9
Adds tests for region
2023-07-24 17:20:16 -07:00
Graham Davison
f3ce646756
Adds authentication tests
2023-07-24 16:23:52 -07:00
Sebastian Rivera
31cf55fe12
Reword error message when using local exec
2023-07-24 14:12:44 -04:00