Referencing the Region in the Graphql Schema #6520
Open
Comments
|
Hi @amirmishani, we don't currently have support for passing in values to the http directive. Marking this as a feature request. |
|
Hi @jhockett I'd like to work on this issue. However, I am new to the |
|
Glad to hear it @meehawk! I recommend taking a look at our contributing guide. For tackling this issue, I would look to the various graphql packages, mainly graphql-http-transformer. Good luck! Edit: Also, our community discord can be a great resource. |
|
@jhockett thank you so much. I have already started to work on this issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Which Category is your question related to?
API
Amplify CLI Version
4.39.0
What AWS Services are you utilizing?
API, Auth, Function
Provide additional details e.g. code snippets
I'm trying to configure an HTTP resolver to call a step function. The url needs the correct aws region. I know you can pass the environment like so
${env}but I couldn't find anything in the docs stating how to pass the aws region. Is this possible right now or does it need to be feature request?Something like this:
@http(method: POST, url: "https://states.${region}.amazonaws.com/")The text was updated successfully, but these errors were encountered: