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

Create Waypoint resources with module ID #198

Merged
merged 4 commits into from
Dec 16, 2024
Merged

Create Waypoint resources with module ID #198

merged 4 commits into from
Dec 16, 2024

Conversation

paladin-devops
Copy link
Contributor

@paladin-devops paladin-devops commented Dec 3, 2024

BREAKING CHANGE: The no-code module ID is required when creating a template or add-on definition for Waypoint.

πŸ› οΈ Description

πŸ”— Additional Link

πŸ—οΈ Local Testing

πŸ‘ Checklist

  • The PR has a descriptive title.
  • Input validation updated
  • Unit tests updated
  • Documentation updated
  • Major architecture changes have a corresponding RFC
  • Tests added if applicable
  • CHANGELOG entry added or label 'pr/no-changelog' added to PR

    Run CHANGELOG_PR=<PR number> make changelog/new-entry for guidance
    in authoring a changelog entry, and commit the resulting file, which should
    have a name matching your PR number. Entries should use imperative present
    tense (e.g. Add support for...)

@paladin-devops paladin-devops self-assigned this Dec 3, 2024
@paladin-devops paladin-devops changed the title feat: Create Waypoint resources with module ID. Create Waypoint resources with module ID Dec 3, 2024
@paladin-devops paladin-devops marked this pull request as ready for review December 4, 2024 15:39
@paladin-devops paladin-devops requested a review from a team as a code owner December 4, 2024 15:39
paladin-devops and others added 4 commits December 4, 2024 14:00
BREAKING CHANGE: The no-code module ID is required when creating a template or add-on definition for Waypoint.
@@ -135,6 +136,15 @@ $ hcp waypoint add-ons definitions create -n=my-add-on-definition \
"when the execution mode is set to 'agent'.",
Value: flagvalue.Simple("", &opts.TerraformAgentPoolID),
},
{
Name: "tf-no-code-module-id",
Copy link
Contributor

@HenryEstberg HenryEstberg Dec 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally nonblocking and more of just a general observation about the Waypoint CLI commands:

With flags like this that have longer names, typing them out can be fairly frustrating in my experience when you have to enter a bunch of them. To alleviate this, I think a useful pattern for us to adopt would be adding many more "shorthand" options to these flags.

Not necessarily something you have to do here as it might be useful to do en masse if we go in this direction, but reading your PR reminded me of it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that having shorthand flags for these longer-named flags would be nice shortcuts for users who frequent the CLI!

@paladin-devops paladin-devops merged commit bb8688c into main Dec 16, 2024
6 checks passed
@paladin-devops paladin-devops deleted the WAYP-3107 branch December 16, 2024 21:27
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 this pull request may close these issues.

3 participants