Skip to content

docs: Why template repeats state storage details instead of reading it from conf/state.yml? #243

@mloskot

Description

@mloskot

Since the State centralization configuration explains details of storage configuration live in conf/state.yml, then why in templates section instructs to repeat that same information in the template?

terraform {
  backend "azurerm" {
    subscription_id      = "00000000-0000-0000-0000-000000000000"
    resource_group_name  = "my-resource-group"
    storage_account_name = "my-centralized-terraform-states-account"
    container_name       = "terraform-states"

Why those values are not templated and tfwrapper is let to read those from the conf/state.yml to fill the template with the values?
Or that is the case but the documentation is not explaining it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions