-
Notifications
You must be signed in to change notification settings - Fork 151
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: Call to function "merge" failed using cloudfront_origins #66
Comments
Are you able to share what you passed as argument? |
I tried with an empty list cloudfront_origins = [{
domain_name: aws_s3_bucket.storybook.bucket_regional_domain_name,
origin_id: local.s3_origin_id,
s3_origin_config: {
origin_access_identity: "origin-access-identity/cloudfront/XXXXXXXXXXXXXX"
}
}] As the error message says, the module is trying to merge 2 |
We use it internally so I can definitely confirm that it works under normal conditions 😁 Object notation seems incorrect here, cloudfront_origins = [{
domain_name = aws_s3_bucket.storybook.bucket_regional_domain_name
origin_id = local.s3_origin_id
s3_origin_config = {
origin_access_identity = "origin-access-identity/cloudfront/XXXXXXXXXXXXXX"
}
}] |
@jagarzonhuge Were you able to solve the issue or does the problem persist? |
This has been fixed in |
Using the input
cloudfront_origins
results in a terraform error:The text was updated successfully, but these errors were encountered: