Last active
January 4, 2017 18:51
-
-
Save pgporada/f888da0278fcd75da14a6350d8514ec3 to your computer and use it in GitHub Desktop.
Terraform bitbucket_repository bug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ terraform import module.ops.bitbucket_repository.repo salt | |
provider.bitbucket.password | |
Enter a value: MYSECRETPASSWORD | |
provider.bitbucket.username | |
Enter a value: MYBITBUCKETUSERNAME | |
module.ops.bitbucket_repository.repo: Importing from ID "salt"... | |
module.ops.bitbucket_repository.repo: Import complete! | |
Imported bitbucket_repository (ID: salt) | |
module.ops.bitbucket_repository.repo: Refreshing state... (ID: salt) | |
Import success! The resources imported are shown above. These are | |
now in your Terraform state. Import does not currently generate | |
configuration, so you must do this next. If you do not create configuration | |
for the above resources, then the next `terraform plan` will mark | |
them for destruction. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Initialized blank state with remote state enabled! | |
Remote state configured and pulled. | |
Local and remote state in sync | |
Refreshing Terraform state in-memory prior to plan... | |
The refreshed state will be used to calculate this plan, but | |
will not be persisted to local or remote state storage. | |
module.ops.bitbucket_repository.repo: Refreshing state... (ID: salt) | |
Error refreshing state: 1 error(s) occurred: | |
* bitbucket_repository.repo: EOF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id = salt | |
description = <============== This wasn't imported, though it should have been. | |
fork_policy = <============== This wasn't imported, though it should have been. | |
has_issues = false | |
has_wiki = false | |
is_private = false <============== This should default to true according to https://www.terraform.io/docs/providers/bitbucket/r/repository.html | |
language = <============== This wasn't imported, though it should have been. | |
name = <============== This wasn't imported, though it should have been. | |
project_key = | |
scm = <============== This should default to git according to https://www.terraform.io/docs/providers/bitbucket/r/repository.html | |
website = |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment