Terraform 0.13.1 crash on aws_cloudfront_distribution import #14986
Labels
bug
Addresses a defect in current functionality.
crash
Results from or addresses a Terraform crash or kernel panic.
service/cloudfront
Issues and PRs that pertain to the cloudfront service.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/peterpakos/83d322403fa4d9fb421f5e53392f32a3
Panic Output
https://gist.github.com/peterpakos/9b0a15f84a5e1afb9b1c136288218782
Expected Behavior
Terraform import command successful with Cloudfront Distribution successfully imported to the state file.
Actual Behavior
Terraform import command crashed.
Steps to Reproduce
terraform import module.s3-cdn.aws_cloudfront_distribution.default E32EAQRW369ZYR
Important Factoids
Cloudfront Distribution E32EAQRW369ZYR contains 2 Origins:
It also has 2 Behaviours configured:
ui/*
for S3 Origin.The latter Behaviour also has Lambda@Edge Function associated with
Viewer Request
.References
The text was updated successfully, but these errors were encountered: