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] Create stacks without description #1435

Open
cwe1ss opened this issue Feb 8, 2024 · 1 comment
Open

[FEATURE] Create stacks without description #1435

cwe1ss opened this issue Feb 8, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@cwe1ss
Copy link

cwe1ss commented Feb 8, 2024

Is your feature request related to a problem? Please describe.
When using terramate create, the resulting stack.tm.hcl always contains a description that equals the name, even if I set --description="".

We do not need the description field in many cases because the name and directory-path are self-explanatory.

Describe the solution you'd like
The description should either not be created at all (like all other optional fields) or there should be a way to omit it via a flag on terramate create.

Describe alternatives you've considered
The current workaround is to manually delete the description field and call terramate fmt afterwards (since the indentation needs to change)

@cwe1ss cwe1ss added the enhancement New feature or request label Feb 8, 2024
@i4ki
Copy link
Contributor

i4ki commented Feb 9, 2024

The stack.description is an optional stack field, then I think makes sense supporting not setting it if the user requests to do so. I think --description="" should work as intended or maybe making this flag negatable with --no-description.

@mariux wdyt?

@mariux mariux removed their assignment Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants