bholzer / AutoBlenderRender

Render farm for baking and rendering Blender creations.
MIT License
9 stars 5 forks source link

Error: Unable to load "./src/lambda_layer/ruby/lambda_layer.zip" #4

Open RidaAyed opened 3 years ago

RidaAyed commented 3 years ago

Thank you for that promising looking piece of work Brennan

$ terraform init ... $ terraform apply

var.node_key_name
  Enter a value:

$ abr [enter] ...

  aws_efs_mount_target.shared_mount: Creation complete after 1m24s [id=fsmt-9a7df92f]
  ╷
  │ Error: Unable to load "./src/lambda_layer/ruby/lambda_layer.zip": open ./src/lambda_layer/ruby/lambda_layer.zip: no such file or directory
  │ 
  │   with module.api.aws_lambda_layer_version.api_lambda_layer,
  │   on modules/api/main.tf line 22, in resource "aws_lambda_layer_version" "api_lambda_layer":
  │   22: resource "aws_lambda_layer_version" "api_lambda_layer" {
  │ 
  ╵
  ╷
  │ Error: Error creating Cognito User Pool Domain: InvalidParameterException: Domain already associated with another user pool.
  │ 
  │   with module.api.aws_cognito_user_pool_domain.farm_users_pool_domain,
  │   on modules/api/main.tf line 49, in resource "aws_cognito_user_pool_domain" "farm_users_pool_domain":
  │   49: resource "aws_cognito_user_pool_domain" "farm_users_pool_domain" {
  │ 
  ╵
  ╷
  │ Error: Error creating AutoScaling Group: AccessDenied: You are not authorized to use launch template: lt-024260a5fb4297a51
  │       status code: 403, request id: f6af5acb-fbf0-4300-9a15-4c748f353492
  │ 
  │   with module.worker_node.aws_autoscaling_group.worker_nodes,
  │   on modules/worker_node/main.tf line 31, in resource "aws_autoscaling_group" "worker_nodes":
  │   31: resource "aws_autoscaling_group" "worker_nodes" {
  │ 
  ╵
bholzer commented 3 years ago

Thanks for your interest! It’s been a while since I’ve had some time to work on this, and I know there were some pieces that I left in a non-working condition. The lambda layer stuff was what I was working on when I put this aside.

I’ll try to take a look at this sometime over the next week to see if I can get it back in working order.

On Jun 9, 2021, at 2:56 AM, Rida Ayed @.***> wrote:

 Thank you for that promising looking piece of work Brennan

$ terraform init ... $ terraform apply

var.node_key_name Enter a value: $ abr [enter] ...

aws_efs_mount_target.shared_mount: Creation complete after 1m24s [id=fsmt-9a7df92f] ╷ │ Error: Unable to load "./src/lambda_layer/ruby/lambda_layer.zip": open ./src/lambda_layer/ruby/lambda_layer.zip: no such file or directory │ │ with module.api.aws_lambda_layer_version.api_lambda_layer, │ on modules/api/main.tf line 22, in resource "aws_lambda_layer_version" "api_lambda_layer": │ 22: resource "aws_lambda_layer_version" "api_lambda_layer" { │ ╵ ╷ │ Error: Error creating Cognito User Pool Domain: InvalidParameterException: Domain already associated with another user pool. │ │ with module.api.aws_cognito_user_pool_domain.farm_users_pool_domain, │ on modules/api/main.tf line 49, in resource "aws_cognito_user_pool_domain" "farm_users_pool_domain": │ 49: resource "aws_cognito_user_pool_domain" "farm_users_pool_domain" { │ ╵ ╷ │ Error: Error creating AutoScaling Group: AccessDenied: You are not authorized to use launch template: lt-024260a5fb4297a51 │ status code: 403, request id: f6af5acb-fbf0-4300-9a15-4c748f353492 │ │ with module.worker_node.aws_autoscaling_group.worker_nodes, │ on modules/worker_node/main.tf line 31, in resource "aws_autoscaling_group" "worker_nodes": │ 31: resource "aws_autoscaling_group" "worker_nodes" { │ ╵ — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

martingaleano commented 3 years ago

I've created a pull request that will solve the first issue

https://github.com/bholzer/AutoBlenderRender/pull/5

RidaAyed commented 3 years ago

Hi Brennan

I'm having a hard time figuring out the issue. Any chance of having you look into it?