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

Error: local-exec provisioner error #3

Open
segrem25830-pki opened this issue Jul 14, 2021 · 1 comment
Open

Error: local-exec provisioner error #3

segrem25830-pki opened this issue Jul 14, 2021 · 1 comment

Comments

@segrem25830-pki
Copy link

Hi,
I am getting this error by executing the terraform module, could you please help?

"Module.loadbalancing.aws_alb_listener.http: Creation complete after 0s [id=arn:aws:elasticloadbalancing:eu-central-1:874901147556:listener/app/evoya-alpha-alb/9ebd008aab3641c7/d1886afd3b75667b]

│ Error: local-exec provisioner error

│ with module.cloudfront_auth.null_resource.copy_lambda_artifact,
│ on ../../modules/auth/main.tf line 49, in resource "null_resource" "copy_lambda_artifact":
│ 49: provisioner "local-exec" {

│ Error running command 'cp build/cloudfront-auth-master/distributions/d2f81e36m0by5x.cloudfront.net/d2f81e36m0by5x.cloudfront.net.zip lambda.zip': exit status 1. Output: cp: cannot stat
│ 'build/cloudfront-auth-master/distributions/d2f81e36m0by5x.cloudfront.net/d2f81e36m0by5x.cloudfront.net.zip': No such file or directory
"

@evantobin
Copy link

@segrem25830-pki #6 fixes this issue. I'm guessing you're using an OIDC provider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants