I’m fairly new to terraform and have been reading O’Reily - Up and running with Terraform. The examples include setting remote state backend variables on the commandline which don’t seem to work. Looking at the current documentation remote state backend information seems to be configured as part of the main terraform config now. Has the command line option been removed or am I missing something?
CLI argument is below.
terraform remote config -backend=s3 -backend-config=“bucket=tf_test_state” -backend-config=“key=global/s3/terraform.tfstate” -backend-config=“region=ap-southeast-2” -backend-config=“encrypt=true” validate