-
Notifications
You must be signed in to change notification settings - Fork 50
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
[WAYP-3107] Add module ID to Waypoint resources #1146
Conversation
cfea23a
to
474110f
Compare
@paladin-devops I know we are pre 1.0.0, but it the breaking change necessary? |
@pierluc-codes I classified this as a breaking change because I added a new required attribute to two resources, is that an appropriate classification or should this just be a "feature" update? |
it is correct. I am asking if pushing this breaking change worth breaking the customer terraform files and what are the benefit of doing so. |
@pierluc-codes The module ID will be the "canonical way" to reference no-code modules in Waypoint templates and add-on definitions. The module source, a separate attribute, will be used not for the creation of any resources but really just for informational purposes to the user. Aside from this, on the backend one of the benefits of doing this is reducing unnecessary/redundant API calls to HCP Terraform, while the user already has the module ID available. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Pretty straighforward!
BREAKING CHANGE: The no-code module ID is required when creating a template or add-on definition for Waypoint.
Also fix a test for templates.
902fc97
c140e23
to
902fc97
Compare
In a future PR we should include examples of the template + add-on definition resources (and others) under @pierluc-codes @teresamychu I'm requesting your re-review as I needed to rebase to address a merge conflict on |
BREAKING CHANGE: The no-code module ID is required when creating a template or add-on definition for Waypoint.
This PR also contains a fix for the add-on definition data source, for reading the execution mode.
🛠️ Description
🏗️ Acceptance tests
Output from acceptance testing: