mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
There are a few command line options for "terraform init" which are only relevant when working with traditional backends, with the Cloud integration previously just mostly ignoring them, or sometimes misbehaving slightly due to them creating an unreasonable situation. Now we'll catch these and return explicit errors, in order to be clear that these options are not needed nor supported in Cloud mode.
14 lines
377 B
HCL
14 lines
377 B
HCL
# This is a simple configuration with Terraform Cloud mode minimally
|
|
# activated, but it's suitable only for testing things that we can exercise
|
|
# without actually accessing Terraform Cloud, such as checking of invalid
|
|
# command-line options to "terraform init".
|
|
|
|
terraform {
|
|
cloud {
|
|
organization = "PLACEHOLDER"
|
|
workspaces {
|
|
name = "PLACEHOLDER"
|
|
}
|
|
}
|
|
}
|