Commit Graph

18750 Commits

Author SHA1 Message Date
Paddy 600a117301 Merge pull request #13671 from JDiPierro/google_address_name_fix
provider/google: Set name field when reading addresses
2017-04-20 13:14:57 -07:00
Dominik-K 565f0a4e0f `roles` deprecated in docs & code error message (#13622) 2017-04-20 23:02:48 +03:00
Scott Nowicki 86f68f4aa8 better passing of env vars 2017-04-20 14:33:49 -05:00
Paul Stack 24c33106ff Update CHANGELOG.md 2017-04-20 22:14:25 +03:00
Chris Broglie 3f0934bd4e provider/aws: Add aws_kinesis_stream data source (#13562)
This fixes #13521
2017-04-20 22:13:39 +03:00
Scott Nowicki 10f48d565e cleaned up argument passing;removed quotes from container args 2017-04-20 14:10:54 -05:00
Scott Nowicki 4edbc8bd92 fixed plan args 2017-04-20 14:06:59 -05:00
Scott Nowicki d89e652729 forgot \ at eol 2017-04-20 14:02:12 -05:00
Scott Nowicki f04718040c env vars need quotes 2017-04-20 13:57:49 -05:00
Jake Champlin bf8374c048 Update CHANGELOG.md 2017-04-20 14:54:59 -04:00
Jake Champlin 35388cbc31 Merge pull request #13468 from hashicorp/f-oracle-compute
provider/opc: Add Oracle Compute Provider
2017-04-20 14:52:39 -04:00
Scott Nowicki 372605c5bb added env variables to terraform:light 2017-04-20 13:52:15 -05:00
Scott Nowicki 3a1adfc3e1 simplified travis.yml and deploy.sh 2017-04-20 13:44:23 -05:00
Paul Stack 164a5968ee Update CHANGELOG.md 2017-04-20 21:39:29 +03:00
Paul Stack 195ad5ef02 provider/logentries: Refresh from state when resources not found (#13810)
Fixes: #13805

Before the fix:

```
Error refreshing state: 1 error(s) occurred:

* logentries_logset.logset: logentries_logset.logset: No such log set with key 278e7344-1201-43ba-9804-77b9a72fe7d6
```

After the fix:

```
% terraform plan                                                                                  ✚ ✭
[WARN] /Users/stacko/Code/go/bin/terraform-provider-logentries overrides an internal plugin for logentries-provider.
  If you did not expect to see this message you will need to remove the old plugin.
  See https://www.terraform.io/docs/internals/internal-plugins.html
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.

logentries_logset.logset: Refreshing state... (ID: 278e7344-...a72fe7d6)
logentries_log.log: Refreshing state... (ID: 2ae1e8ae-...e932d25c)
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.

Note: You didn't specify an "-out" parameter to save this plan, so when
"apply" is called, Terraform can't guarantee this is what will execute.

+ logentries_log.log
    logset_id:        "${logentries_logset.logset.id}"
    name:             "test-log"
    retention_period: "ACCOUNT_DEFAULT"
    source:           "token"
    token:            "<computed>"

+ logentries_logset.logset
    location: "nonlocation"
    name:     "testing-terraform-destroy"

Plan: 2 to add, 0 to change, 0 to destroy.
```

Test Run:

```
% make testacc TEST=./builtin/providers/logentries                                                ✚ ✭
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/20 20:36:20 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/logentries -v  -timeout 120m
=== RUN   TestProvider
--- PASS: TestProvider (0.00s)
=== RUN   TestProvider_impl
--- PASS: TestProvider_impl (0.00s)
=== RUN   TestAccLogentriesLog_Token
--- PASS: TestAccLogentriesLog_Token (39.03s)
=== RUN   TestAccLogentriesLog_SourceApi
--- PASS: TestAccLogentriesLog_SourceApi (28.46s)
=== RUN   TestAccLogentriesLog_SourceAgent
--- PASS: TestAccLogentriesLog_SourceAgent (6.19s)
=== RUN   TestAccLogentriesLog_RetentionPeriod1M
--- PASS: TestAccLogentriesLog_RetentionPeriod1M (3.04s)
=== RUN   TestAccLogentriesLog_RetentionPeriodAccountDefault
--- PASS: TestAccLogentriesLog_RetentionPeriodAccountDefault (2.71s)
=== RUN   TestAccLogentriesLog_RetentionPeriodAccountUnlimited
--- PASS: TestAccLogentriesLog_RetentionPeriodAccountUnlimited (2.65s)
=== RUN   TestAccLogentriesLogSet_Basic
--- PASS: TestAccLogentriesLogSet_Basic (1.54s)
=== RUN   TestAccLogentriesLogSet_NoLocation
--- PASS: TestAccLogentriesLogSet_NoLocation (1.54s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/logentries	85.177s
```
2017-04-20 21:38:37 +03:00
Paul Stack e4af2a67aa Update CHANGELOG.md 2017-04-20 21:12:34 +03:00
Andy Lindeman 28d71e6624 provider/github: Implements github_branch_protection (#10476) 2017-04-20 21:11:49 +03:00
terraformbot 7925b76bad provider/aws: Change s3_bucket documentation example to work (#13811)
Fixes: #13789
2017-04-20 21:00:05 +03:00
Scott Nowicki 60b20817b4 service docker required, despite docker already running 2017-04-20 12:52:12 -05:00
Scott Nowicki 8ed7e81255 invalid path for travis 2017-04-20 12:49:23 -05:00
Scott Nowicki 017b469ee6 mount pwd to container for terraform 2017-04-20 12:46:43 -05:00
Scott Nowicki 3f9d6a2111 no need to pull images 2017-04-20 12:38:00 -05:00
Scott Nowicki 602559f3f7 updated travis file to use docker for pre_deploy/deploy/after_deploy 2017-04-20 12:34:32 -05:00
Paul Stack 7f4a371f2c Update CHANGELOG.md 2017-04-20 20:12:59 +03:00
Joe Topjian 6262a73de7 provider/rabbitmq: Allow users without tags (#13798)
This commit makes the tags attribute optional for users. It also
handles cases when a user defines a tag as an empty string ("").
2017-04-20 20:10:20 +03:00
Dana Hoffman 1157967fbe Update CHANGELOG.md 2017-04-20 09:49:14 -07:00
Alexander 9bd50a1219 provider/google: BigQuery Dataset (#13436)
* Vendor BigQuery

* Add resource

* Add tests

* Add documentation

* Remove named import

* Remove `retain_on_delete`

* Fix formatting
2017-04-20 09:47:38 -07:00
Jearvon Dharrie e667411cc5 website: Fix spacing of literal "terraform console" (#13807) 2017-04-20 09:36:34 -07:00
Chris Marchesi 744727a28a core: Trap warnings as well as errors on resourceNestedCount test 2017-04-20 07:31:44 -07:00
Tom Harvey 72f2a31298 Including #13755 in the changelog 2017-04-20 14:05:19 +01:00
Tom Harvey 6e698fd5fe Merge pull request #13755 from StephenWeatherford/11625c
Fix another issue from #11625 that's causing null entries in ssh_keys
2017-04-20 14:01:31 +01:00
Tom Harvey 30b6d695a6 Updating to include #13791 2017-04-20 12:41:07 +01:00
Tom Harvey 1775d48381 Merge pull request #13791 from whiskeyjay/subnetRTFix
provider/azurerm: Locking route table on subnet create/delete
2017-04-20 12:39:59 +01:00
tombuildsstuff 8706d2181f Fixing the import test by adding missing formatting values 2017-04-20 12:28:33 +01:00
Thomas Poindessous 7ec1c66f69 Merged upstream for nav 2017-04-20 12:44:10 +02:00
Thomas Poindessous 1fa91dfb4d merge upstream/master 2017-04-20 12:37:18 +02:00
Thomas Poindessous 68af7d44e8 Added the new resource to the nav panel 2017-04-20 12:13:47 +02:00
Thomas Poindessous 1b22200c44 Corrected test for snapshot. Simplified tests. Added a new test for source_disk_link 2017-04-20 12:13:17 +02:00
Thomas Poindessous 573da4d729 Added a new attribute : source_disk_link 2017-04-20 12:12:43 +02:00
Daniel Kats 8a70108612 fix a word in aws_iam_role_policy error msg (#13794) 2017-04-20 06:48:58 +01:00
dj80hd 99a73094f7 Fix typo in aws-two-tier example (#13790) 2017-04-20 06:47:44 +01:00
Scott Nowicki f117f1de26 trying terraform 0.9.2 for destroy bug; fixed interpolation issue with sshCommand 2017-04-20 00:43:32 -05:00
Chris Marchesi d41b806789 core: Restore CountBoundaryTransformer to apply, add/adjust tests
Moving the transformer wholesale looks like it broke some tests, with
some actually doing legit work in normalizing singular resources from a
foo.0 notation to just foo.

Adjusted the TestPlanGraphBuilder to account for the extra
meta.count-boundary nodes in the graph output now, as well as added
another context test that tests this case. It appears the issue happens
during validate, as this is where the state can be altered to a broken
state if things are not properly transformed in the plan graph.
2017-04-19 22:23:52 -07:00
Scott Nowicki 87b049b72d adding cd to after_deploy to ensure we're in the correct directory 2017-04-19 23:26:28 -05:00
Scott Nowicki 36e4b74c13 added -force to after_deploy 2017-04-19 20:32:22 -05:00
Scott Nowicki bf5d9773e2 fixed after_deploy syntax for .travis.yml 2017-04-19 20:23:07 -05:00
Scott Nowicki 1653d5da73 incorrect variable reference 2017-04-19 19:52:02 -05:00
Scott Nowicki af3de7b7df azure is awfully particular for certain strings 2017-04-19 19:36:16 -05:00
Scott Nowicki e0208f48ba added after_deploy step to travis.yml; updated string generation yet again 2017-04-19 19:29:36 -05:00
Scott Nowicki 4fb55b0c5e made string generation more robust 2017-04-19 19:19:15 -05:00