aws-appsync
: "Auto-merge failed" when creating Merged AppSync API with Source API merge type set AUTO_MERGE
#26986
Labels
@aws-cdk/aws-appsync
Related to AWS AppSync
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
good first issue
Related to contributions. See CONTRIBUTING.md
p2
Describe the bug
Hi and thank you for your work on the library!
Merged API Execution Role does not automatically merge the Source API, even with
merge_type=appsync.MergeType.AUTO_MERGE
.If I understood correctly, the policy added to this role only allows
appsync:SourceGraphQL
.Expected Behavior
Creating Merged AppSync API should, by default and when
merge_type
is specifically set asAUTO_MERGE
, automatically merge Source AppSync APIs.Current Behavior
Default behaviour for Source APIs does not work. Manually setting
merge_type
toAUTO_MERGE
also does not work.Reproduction Steps
Possible Solution
Manually creating Execution Role fixes the issue:
Additional Information/Context
Extending allowed list of actions should fix the issue.
['appsync:*]
instead of['appsync:SourceGraphQL']
?CDK CLI Version
2.94.0 (build 987c329)
Framework Version
No response
Node.js Version
v18.16.0
OS
MacOS
Language
Python
Language Version
Python (3.11.5)
Other information
The text was updated successfully, but these errors were encountered: