-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for AWS API GatewayV2 HTTP & WebSocket API. #12
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice one! Added my tiny suggestions, I'm happy to merge this PR without the validateFunc too as that can be done in a separate PR if we decide to do it...
Read: dataSourceRead, | ||
Schema: map[string]*schema.Schema{ | ||
"resources": resourcesSchema(), | ||
"average_message_size": usageSchema(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we should change usageSchema to accept an optional validateFunc? see https://www.terraform.io/docs/extend/schemas/schema-behaviors.html#validatefunc
@aliscott any thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This compliments infracost pull request infracost/infracost#207. This provides the ability to estimate HTTP & WebSocket API requests & messages.
** Testing Output **