-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
terraform -version
Terraform v1.0.11
on darwin_amd64
- provider registry.terraform.io/hashicorp/archive v2.2.0
- provider registry.terraform.io/hashicorp/aws v3.66.0
I get this error when run this command:
terraform init
terraform apply
Error:
with module.redirect_externalurl_lambda.data.archive_file.zip_file_for_lambda, │ on .terraform/modules/redirect_externalurl_lambda/main.tf line 9, in data "archive_file" "zip_file_for_lambda": │ 9: data "archive_file" "zip_file_for_lambda" {
This is my main.tf file
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.65"
}
}
required_version = ">= 0.14.9"
}
provider "aws" {
profile = "default"
region = "us-east-1"
}
module "abcdef_lambda_edge_module" {
source = "transcend-io/lambda-at-edge/aws"
version = "0.4.0"
name = "abcdef_lambda_edge"
description = "Some description..."
runtime = "nodejs14.x"
lambda_code_source_dir = "${path.module}"
s3_artifact_bucket = "abcdef.lambda.deploy"
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels