Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mloskot opened this issue Oct 7, 2023 · 0 comments
Assignees

Comments

@mloskot
Copy link

mloskot commented Oct 7, 2023

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.

@mloskot mloskot changed the title Why template repeats state storage details instead of reading it from conf/state.yml? docs: Why template repeats state storage details instead of reading it from conf/state.yml? Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants