claranet / claranet/tfwrapper

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

Open
#243 0 comments 0 reactions 1 assignee View on GitHub

@Shr3ps is already working on this.

Since Oct 9, 2023.

documentation
Dominant language
Python
Stars
155
Forks
26
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.