Skip to content
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

resource/aws_cloudfront_distribution: Import into ordered_cache_behavior instead of deprecated cache_behavior #5586

Merged

Commits on Aug 17, 2018

  1. resource/aws_cloudfront_distribution: Import into ordered_cache_behav…

    …ior instead of deprecated cache_behavior
    
    Previously:
    
    --- FAIL: TestAccAWSCloudFrontDistribution_orderedCacheBehavior (739.56s)
    	testing.go:527: Step 1 error: ImportStateVerify attributes not equivalent. Difference is shown below. Top is actual, bottom is expected.
    
    		(map[string]string) (len=59) {
    		 (string) (len=16) "cache_behavior.#": (string) (len=1) "2",
    ...
    		 (string) (len=48) "cache_behavior.1203603591.viewer_protocol_policy": (string) (len=9) "allow-all"
    		}
    
    		(map[string]string) (len=59) {
    		 (string) (len=24) "ordered_cache_behavior.#": (string) (len=1) "2",
    ...
    		 (string) (len=47) "ordered_cache_behavior.1.viewer_protocol_policy": (string) (len=9) "allow-all"
    		}
    
    Now:
    
    --- PASS: TestAccAWSCloudFrontDistribution_orderedCacheBehavior (820.16s)
    bflad committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    4e56e0c View commit details
    Browse the repository at this point in the history