[Resource Type] - [BUG] - CloudControl cannot update AWS::ApiGateway::Stage
with empty Tags array
#2236
Labels
AWS::ApiGateway::Stage
with empty Tags array
#2236
Name of the resource
AWS::ApiGateway::Stage
Resource Name
No response
Issue Description
When trying to update the tags of an
AWS::ApiGateway::Stage
that currently has an empty tag array, Cloud Control fails with:An error occurred (ValidationException) when calling the UpdateResource operation: [REPLACE Operation] noSuchPath in source, path provided : //Tags
Expected Behavior
Updating an API Gateway Stage with Tags that were explicitly set to an empty array should work.
Observed Behavior
It fails with the above mentioned error message. It seems like the JSON patch semantics aren't properly respected. Going from an empty
Tags
array to one with entries should be possible with a replace operation.Test Cases
Other Details
No response
The text was updated successfully, but these errors were encountered: