Skip to content
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

fix(cli): wrong account used when containers are pushed, a followup from #7022 #14151

Closed
wants to merge 1 commit into from

Conversation

bigkraig
Copy link

Continuation on fix from #7022, the container push was missed.

Duplicates account lookup used on files, for containers: afd7045#diff-ae0c51f3723b61d922c2c1db93891e22ab0b78b95a24b9794044d4c140bfd649L28-R30

Resolves #14008


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@gitpod-io
Copy link

gitpod-io bot commented Apr 13, 2021

@github-actions github-actions bot added the package/tools Related to AWS CDK Tools or CLI label Apr 13, 2021
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 4535e42
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Copy link
Contributor

@rix0rrr rix0rrr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe you, but I have a hard time understanding the PR message and the code confuses me.

It's turning a VALUE into a FUNCTION? And this is correct?

Can you please explain the PR body what the issue is, what the root cause is and why the code change fixes it?

And this probably needs a test as well...

@rix0rrr
Copy link
Contributor

rix0rrr commented Apr 21, 2021

Ah I see, we're purposely turning a value into a thunk.

That's fine I suppose, but we need the thunk evaluated properly in the places where we used to use the value. That code you linked had more changes than just this one, as you'll see.

@jmortlock
Copy link
Contributor

@rix0rrr I believe this ticket can be closed as I fixed this in #14816

Didn't realize there was already open tickets for it!

@rix0rrr rix0rrr closed this Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package/tools Related to AWS CDK Tools or CLI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(aws-lambda): Problem when using lambda.DockerImageCode.fromImageAsset
4 participants