-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
provider/aws: Support 'publish' attribute in lambda_function #8653
Conversation
Actually, marking this as WIP, until I re-read #6233 which I forgot about. |
4e7df53
to
03df836
Compare
AWS support confirmed |
@@ -270,6 +284,45 @@ func resourceAwsLambdaFunctionRead(d *schema.ResourceData, meta interface{}) err | |||
} | |||
d.Set("source_code_hash", function.CodeSha256) | |||
|
|||
// List is sorted from oldest to latest | |||
// so this may get costly over time :'( | |||
var lastVersion, lastQualifiedArn 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.
:( My eyes are bleeding to know that you had to do that and also go to the last page or results LOL
Hi @radeksimko This LGTM! thanks for following up with AWS on that
P. |
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. |
Closes #6067
Test plan
See #8652 first before running these tests and actually merging this PR.