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

provider/aws: ForceNew aws_launch_config when root_block_device changes #14507

Merged

Commits on May 15, 2017

  1. provider/aws: ForceNew aws_launch_config when root_block_device changes

    Fixes: #14503
    
    Changes to root_block_device were not picked up as we had a hash func to
    return 0. We changed from set -> list as we only allow 1 value and
    immediately we can get changes propagating
    
    ```
    % make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSLaunchConfiguration_updateRootBlockDevice'
    ==> Checking that code complies with gofmt requirements...
    go generate $(go list ./... | grep -v /terraform/vendor/)
    2017/05/15 19:27:39 Generated command/internal_plugin_list.go
    TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSLaunchConfiguration_updateRootBlockDevice -timeout 120m
    === RUN   TestAccAWSLaunchConfiguration_updateRootBlockDevice
    --- PASS: TestAccAWSLaunchConfiguration_updateRootBlockDevice (51.12s)
    PASS
    ok  	github.com/hashicorp/terraform/builtin/providers/aws	51.140s
    ```
    stack72 committed May 15, 2017
    Configuration menu
    Copy the full SHA
    56946c1 View commit details
    Browse the repository at this point in the history