Hello my friends, im with a doubt if theres a better way to do it, im want to set on a httpv2 path my stage set in provider but it doesnt working an say at console that “Warning: Invalid configuration encountered at ‘functions.api.events.0.httpApi.path’: must be string”
Follow the code (the code shows the truth xD)
PS: at the output section it works fine
outputs:
ApiEndpoint:
Description: "Endpoint da API HTTP"
Value: !Sub "https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/{self:provider.stage}/"