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

Feature Request - Allow a parameter for the name of DynamoDB table #87

Closed
vikas027 opened this issue Feb 13, 2021 · 1 comment · Fixed by #97
Closed

Feature Request - Allow a parameter for the name of DynamoDB table #87

vikas027 opened this issue Feb 13, 2021 · 1 comment · Fixed by #97

Comments

@vikas027
Copy link

Describe the Feature

By default, the name of the DynamoDB Table is lock

Use Case

It will be good to have a customized name just in case I have a different environment and I want to name my table differently. (I know we can use a common table but good to have an option)

Describe Ideal Solution

A variable like dynamodb_table_name = "terraform-lock"

Alternatives Considered

After running terraform init, I went to file .terraform/modules/terraform_state_backend/main.tf and added name = "terraform" to this block

module "dynamodb_table_label" {
  source     = "cloudposse/label/null"
  version    = "0.22.0"
  attributes = compact(concat(var.attributes, ["lock"]))
  context    = module.this.context
  name       = "terraform"
}
@vikas027
Copy link
Author

Anyone?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant