-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Adding passthrough behavior for API Gateway integration #7801
Adding passthrough behavior for API Gateway integration #7801
Conversation
Thanks so much for the PR here @iceycake Just running the tests now :) Will merge if all goes green! Paul |
Credentials: credentials, | ||
CacheNamespace: nil, | ||
CacheKeyParameters: nil, | ||
PassthroughBehavior: aws.String(d.Get("passthrough_behavior").(string)), |
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.
As this is an optional value and has no default value, we should check to see if it is set before adding to the params
Hi @iceycake When trying to run the tests, I get the following:
Thoughts on this? I also left 1 small comment inline Paul |
c8f8cba
to
d48f312
Compare
@stack72 Sorry about not being test carefully. Hopefully, this fixed the issue. |
d48f312
to
8720248
Compare
8720248
to
3007cda
Compare
Since the field is not |
Hi @iceycake The changes now allow the tests to pass :)
We just need to make sure that @radeksimko's comments are taken onboard, what happens when an Update to the PassthroughBehaviour is made? P. |
Ignore my previous comment - I overlooked this piece of code: func resourceAwsApiGatewayIntegrationUpdate(d *schema.ResourceData, meta interface{}) error {
return resourceAwsApiGatewayIntegrationCreate(d, meta)
} This LGTM then. |
ah perfect - thanks @radeksimko :) @iceycake this LGTM! Merging now :) thanks for all the work here! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Should address #7475 and #7141