community.aws icon indicating copy to clipboard operation
community.aws copied to clipboard

Indentation inconsistent on cloudfront_distribution module

Open RHeynsZa opened this issue 1 year ago • 0 comments

Summary

A few things seem to be inconsistently indented on the cloudfront_distribution module

ie Look at viewer_protocol_policy seems to be indented under forwarded_values, however, under the example, it isnt under forwarded_values at all

    default_cache_behavior:
      target_origin_id: 'my test origin-000111'
      forwarded_values:
        query_string: true
        cookies:
          forward: all
        headers:
         - '*'
      viewer_protocol_policy: allow-all
      smooth_streaming: true
      compress: true

Its hard to know which properties go where, by following this

Issue Type

Documentation Report

Component Name

cloudfront_distribution

Ansible Version

$ ansible --version
ansible [core 2.16.0]

Collection Versions

$ ansible-galaxy collection list
amazon.aws                    7.0.0
community.aws                 7.0.0
netapp.aws                    21.7.1

Configuration

$ ansible-config dump --only-changed

OS / Environment

No response

Additional Information

No response

Code of Conduct

  • [X] I agree to follow the Ansible Code of Conduct

RHeynsZa avatar Nov 27 '23 14:11 RHeynsZa