Skip to content

Runner deploy failing trying to get-object from not-yet-created bucket #1

@jeff-wishnie

Description

@jeff-wishnie

Hello, this setup looks very cool. I'm trying to try it out but am getting an error deploying with Terraform, and am not familiar enough with Terraform to easily debug.

There is a step that is attempting to pull a zip from an s3 bucket that has yet to be created that is erroring out.

Any guidance appreciated!

╷
│ Error: local-exec provisioner error
│ 
│   with module.lambda_webhook_pull.null_resource.lambda_github_webhook_pull_zip,
│   on webhook_module/main.tf line 2, in resource "null_resource" "lambda_github_webhook_pull_zip":
│    2:     provisioner "local-exec" {
│ 
│ Error running command 'mkdir -p ../files && aws s3api get-object --bucket lambda-github-webhook --key lambda-github-webhook-function.zip --request-payer true ../files/lambda-github-webhook-function.zip': exit status 254. Output: 
│ An error occurred (AccessDenied) when calling the GetObject operation: Access Denied```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions