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: Add import to codecommit_repository #13577

Merged
merged 1 commit into from
Apr 12, 2017

Commits on Apr 12, 2017

  1. provider/aws: Add import to codecommit_repository

    Adds import capability to the `aws_codecommit_repository` resource.
    
    Also fixes an issue in the Read function where both `description` and `resource_name` attributes weren't being updated and set in the Schema.
    
    Fixes: #13559
    
    ```
    $ make testacc TEST=./builtin/providers/aws TESTARGS="-run=TestAccAWSCodeCommitRepository"
    ==> Checking that code complies with gofmt requirements...
    go generate $(go list ./... | grep -v /terraform/vendor/)
    2017/04/12 10:14:44 Generated command/internal_plugin_list.go
    TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSCodeCommitRepository -timeout 120m
    === RUN   TestAccAWSCodeCommitRepository_importBasic
    --- PASS: TestAccAWSCodeCommitRepository_importBasic (16.11s)
    === RUN   TestAccAWSCodeCommitRepository_basic
    --- PASS: TestAccAWSCodeCommitRepository_basic (14.97s)
    === RUN   TestAccAWSCodeCommitRepository_withChanges
    --- PASS: TestAccAWSCodeCommitRepository_withChanges (26.71s)
    === RUN   TestAccAWSCodeCommitRepository_create_default_branch
    --- PASS: TestAccAWSCodeCommitRepository_create_default_branch (14.34s)
    === RUN   TestAccAWSCodeCommitRepository_create_and_update_default_branch
    --- PASS: TestAccAWSCodeCommitRepository_create_and_update_default_branch (27.90s)
    PASS
    ok      github.com/hashicorp/terraform/builtin/providers/aws    100.071s
    ```
    grubernaut committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    3cd125a View commit details
    Browse the repository at this point in the history