new
Symbol Details
cli_command: backend_cmd
- source
Since: 0.7.0
def backend_cmd(*, bucket: str = ..., region: str = 'us-east-1', key: str = '{path}/terraform.tfstate') -> None:
...
Write backend.tf to all run-dirs.
CLI Options:
| Flag | Type | Default | Description |
|---|---|---|---|
--bucket, -b |
str |
required | S3 bucket name for Terraform state |
--region, -r |
str |
'us-east-1' |
AWS region |
--key |
str |
'{path}/terraform.tfstate' |
State key template; {path} is resolved per run-dir |
Changes
| Version | Change |
|---|---|
| 0.7.0 | Made public |
cli_command: run_dir_cmd
- source
Since: 0.7.0
Scaffold a new run-dir with module calls, variables, and outputs.
Changes
| Version | Change |
|---|---|
| 0.7.0 | Made public |