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

Introduce global resource prefix #14

Open
bobbyiliev opened this issue Dec 20, 2024 · 0 comments · May be fixed by #15
Open

Introduce global resource prefix #14

bobbyiliev opened this issue Dec 20, 2024 · 0 comments · May be fixed by #15

Comments

@bobbyiliev
Copy link
Collaborator

As Kay suggested here: #13 (review)

Would it be possible to have a variable name_prefix so that for people can specify a unique name for the following?

  1. cluster_name
  2. environment
  3. vpc_name
  4. bucket_name
  5. service_account_name
  6. db_identifier

Otherwise, I think people in the same org trying this out can run into an error due to naming collision.

A popular prefix variable name in other TF modules is namespace:

variable "namespace" {
  type        = string
  description = "String used for prefix resources."
}

We should be careful and make sure that the string length is limited so that users don't use too long of a name.

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