sid88in / sid88in/serverless-appsync-plugin
Inherit `provider.tags` onto the AppSync API
@sid88in is already working on this.
Since Jun 2, 2026.
- Dominant language
- TypeScript
- Stars
- 955
- Forks
- 187
- PR merge metrics
- No merged PRs in 30d
Description
Split out from the v2 RFC (#378 thread, raised by @tuukkafc).
Problem
Tags defined at the Serverless provider level are not applied to the AppSync API. Users
expect provider tags to propagate to resources the way they do for other resources, but the
plugin only uses tags defined under appSync.tags.
Current state (v2)
Api.getTagsConfig() reads only this.config.tags (the appSync.tags block) and there is
no reference to provider.tags (or provider.stackTags) anywhere in the plugin. So
provider-level tags are dropped for the AppSync API.
Proposal
Merge provider.tags with appSync.tags when building the API's Tags, with appSync.tags
taking precedence on key conflicts. Small, surgical change in getTagsConfig().
Scope notes
AWS::AppSync::GraphQLApisupportsTags;AWS::AppSync::DataSourceand
AWS::AppSync::Resolverdo not, so the practical scope is the API resource (and
potentially the log group, which is a separateAWS::Logs::LogGroup).- Worth deciding whether to also fold in
provider.stackTags.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.