-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Codecommit repository always created in us-east-1 #11175
Comments
us-east-1 Fixes #11175 Because of a previous limitation that codecommit only ran in us-east-1, we hard coded the session under which it should run. This has caused the repository to be spun up in the wrong region regardless of what region was passed to the provider ``` 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/01/12 16:09:52 Generated command/internal_plugin_list.go TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSCodeCommitRepository_ -timeout 120m === RUN TestAccAWSCodeCommitRepository_basic --- PASS: TestAccAWSCodeCommitRepository_basic (23.28s) === RUN TestAccAWSCodeCommitRepository_withChanges --- PASS: TestAccAWSCodeCommitRepository_withChanges (33.71s) === RUN TestAccAWSCodeCommitRepository_create_default_branch --- PASS: TestAccAWSCodeCommitRepository_create_default_branch (22.70s) === RUN TestAccAWSCodeCommitRepository_create_and_update_default_branch --- PASS: TestAccAWSCodeCommitRepository_create_and_update_default_branch (32.72s) PASS ok github.com/hashicorp/terraform/builtin/providers/aws 112.437s ```
Hi @yesteph Thanks for finding this bug - I just opened a PR that will fix it :) It will be part of the next Terraform release Thanks Paul |
…1177) us-east-1 Fixes #11175 Because of a previous limitation that codecommit only ran in us-east-1, we hard coded the session under which it should run. This has caused the repository to be spun up in the wrong region regardless of what region was passed to the provider ``` 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/01/12 16:09:52 Generated command/internal_plugin_list.go TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSCodeCommitRepository_ -timeout 120m === RUN TestAccAWSCodeCommitRepository_basic --- PASS: TestAccAWSCodeCommitRepository_basic (23.28s) === RUN TestAccAWSCodeCommitRepository_withChanges --- PASS: TestAccAWSCodeCommitRepository_withChanges (33.71s) === RUN TestAccAWSCodeCommitRepository_create_default_branch --- PASS: TestAccAWSCodeCommitRepository_create_default_branch (22.70s) === RUN TestAccAWSCodeCommitRepository_create_and_update_default_branch --- PASS: TestAccAWSCodeCommitRepository_create_and_update_default_branch (32.72s) PASS ok github.com/hashicorp/terraform/builtin/providers/aws 112.437s ```
Thank you Paul. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Hi there,
Terraform Version
0.8.4
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
backend-java repository created in eu-west-1 region
Actual Behavior
backend-java repository created in us-east-1 region (default)
Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: