Thanks to visit codestin.com
Credit goes to github.com

Skip to content

v1.536.0

Latest
Compare
Choose a tag to compare
@cloudposse-releaser cloudposse-releaser released this 31 Mar 11:07
· 1 commit to refs/heads/main since this release
5272408
fix: 'Missing required argument' when using image_uri @supersidor (#16) ## what

While applying Lambda component from image_uri next error reported: "s3_key": all of s3_bucket,s3_key must be specified
The reason for this problem is that locals.s3_key is always not null, which conflicts with not null image_url
(see cloudposse/lambda-function/aws).
The solution is to add a additional check when generating locals.s3_key

how to reproduce

components:
  terraform:
    lambda2-test/lambda:
      metadata:
        component: lambda
      vars:
        name: my-service-lambda-test
        service_name: lambda2-test
        package_type: Image
        timeout: 15
        image_uri: "778631511111.dkr.ecr.us-east-1.amazonaws.com/hello:latest"
        image_config:
          command:
            - "test.handler.handler"

why

Lambda component should work with image_url variable

references

Summary by CodeRabbit

  • Chores
    • Updated internal asset handling to better manage image inputs, ensuring more streamlined processing in the background.
Update teams access @goruha (#14) ## what * Update teams access

Summary by CodeRabbit

  • Chores
    • Minor whitespace update in configuration file