Closed szemek closed 2 years ago
FWIW I used this successfully to tee up some cloudfront distribution tf configs from existing resources. It worked pretty well overall. I noticed a while later that it had ignored custom error responses on the resources I was basing new distributions on.
Also tried it out and same experience as @ehershey - worked but without custom error responses.
When I recently used this branch to pull my cloudfront distributions states the resulting terraform state file was invalid because the boolean values in the attributes blocks did not have quotes around them. Relevant attributes: enabled is_ipv6_enabled
It might be nice to sort by id
, which is what the S3 importer does:
<% distributions.sort_by(&:id).each do |distribution| %>
Nice work! I also used this to export a distribution. It missed the custom origin_path
for my s3 bucket. other than that, everything seems to be fine.
I wonder when this PR can be merged and released? this feature will be pretty helpful to have 👍
This pull request is more like a good start than complete implementation of CloudFrontDistribution resource. I'm adding this resource under
cfd
subcommand.I appreciate any feedback on that.