internal/keyvaluetags: Generate Context-Aware Functions #16346
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
provider
Pertains to the provider itself, rather than any interaction with AWS.
stale
Old or inactive issues managed by automation, if no further action taken these will get closed.
Community Note
Description
Note: Do not implement this until after version 3.17.0 release
The generators in
internal/keyvaluetags
are tailored to our current AWS Go SDK receiver method usage withoutcontext.Context
. While we do not have a specific need for it today, as we continue our experimentation with end-to-end resource context handling, we will eventually come across the need to pass through the context to AWS Go SDK calls provided by this functionality. Ideally the generators should create both context and non-context functions, in a DRY fashion.Adding something like the below for each of the templates should hopefully be on the right track:
References
The text was updated successfully, but these errors were encountered: