Commit Graph

19084 Commits

Author SHA1 Message Date
James Bardin 25a71d9a56 Merge pull request #14593 from hashicorp/jbardin/dns-acc-tests
convert dns tests back to acceptance tests
2017-05-17 15:57:09 -04:00
James Bardin 6254bb6387 don't rename imports except to avoid collisions 2017-05-17 15:35:04 -04:00
James Bardin 490ee8c17d convert dns tests with external deps tyo ACC tests
External network calls can fail, and shouldn't stop unit tests from
running.
2017-05-17 15:33:30 -04:00
Jake Champlin 8df29ccde6 Merge pull request #14580 from pradeepbhadani/master
Mention timezone in preferred_backup_window description and Update rds_cluster_instance supported list
2017-05-17 14:47:07 -04:00
Dana Hoffman c5b1eed7e5 Add mechanism for listing services in project_services docs (#14557) 2017-05-17 20:41:45 +03:00
Jeremy Voorhis b0ad1b9669 Archive provider docs (#14584)
* Document source block for archive_file data source.

* Add example for archive_file source block.

* Capitalize Optional/Required for consistency with majority of provider docs.
2017-05-17 20:41:25 +03:00
pradeepbhadani 2cc7431983 Update supported instance list
db.t2.small is in list of AWS documentation https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Managing.html
2017-05-17 17:20:44 +01:00
pradeepbhadani 8f5e5c47b9 Update preferred_backup_window description
mention time in UTC
2017-05-17 17:15:00 +01:00
pradeepbhadani 8aac6c29ae Merge pull request #2 from hashicorp/master
Bringing back from Original Fork
2017-05-17 17:11:43 +01:00
Jake Champlin f563515655 Update CHANGELOG.md 2017-05-17 11:34:41 -04:00
Jake Champlin c56cccab48 Merge pull request #14570 from raphink/github_user
GitHub user
2017-05-17 11:33:48 -04:00
Raphaël Pinson 96a1622b03
github_user: add acceptance tests 2017-05-17 17:07:15 +02:00
Clint 228c8d0dae Update CHANGELOG.md 2017-05-17 09:53:56 -05:00
Raphaël Pinson 5833ffe0d1
Use username instead of Id in log 2017-05-17 16:53:32 +02:00
cmorent 0c260d1341 providers/heroku: import heroku_pipeline_coupling resource (#14495) 2017-05-17 09:53:08 -05:00
Jake Champlin f8b1d81ed8 Merge pull request #14572 from LinusU/patch-1
Fix typo in link to postgresql_extension
2017-05-17 10:52:39 -04:00
Linus Unnebäck e0a4ad7f95 Fix typo in link to postgresql_extension 2017-05-17 16:04:44 +02:00
Raphaël Pinson fc0d197be8
Add github_user data source 2017-05-17 15:04:25 +02:00
Radek Simko a4cddf6ebf Update CHANGELOG.md 2017-05-17 14:44:58 +02:00
Radek Simko 65d47774f2 provider/kubernetes: Add support for Service (#14554) 2017-05-17 14:43:53 +02:00
Jake Champlin cebe0c9967 Update CHANGELOG.md 2017-05-17 08:38:45 -04:00
Jake Champlin da2659b8e9 Merge pull request #11710 from ewbankkit/aws_default_vpc-resource
resource/aws: Add 'aws_default_vpc' resource
2017-05-17 08:37:14 -04:00
Jake Champlin 492618f8cf Update CHANGELOG.md 2017-05-17 08:09:07 -04:00
Jake Champlin a53c8825a8 Merge pull request #14463 from ewbankkit/issue-5653
Nothing to update in cloudformation should not result in errors
2017-05-17 08:08:11 -04:00
Stephen Weatherford bd468170e4 [MS] Note ForceNew in VMSS docs where missing (#14560)
* Add single_placement_group to VMSS

* Add test, plus fixes

* Fix tests

* Add ForceNew to VMSS docs where missing
2017-05-17 10:15:34 +01:00
Kit Ewbank 2ed7297fa3 Add 'aws_default_vpc' resource. 2017-05-16 20:15:40 -04:00
Riley Karson d2eaa6f8e0 provider/google: Google Cloud content-based load balancing example. (#14448) 2017-05-16 13:16:27 -07:00
Paul Stack 2fbfdd4ab6 Update CHANGELOG.md 2017-05-16 23:07:15 +03:00
Paul Stack 8b7f17c039 provider/aws: Change of aws_subnet ipv6 causing update failure (#14545)
Fixes: #14530

When we found an update of IPv6 cidr block, we first tried to
disassociate the old cidr block association. This caused errors if there
was none, it threw an error, as we passed an empty associationId:

```
* aws_subnet.public_subnet.0: InvalidSubnetCidrBlockAssociationId.Malformed: The subnet CIDR block with association ID  is malformed
    status code: 400, request id: f438f468-9ca4-4000-ba78-63a0f25d390a
* aws_subnet.public_subnet[1]: 1 error(s) occurred:
```

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSSubnet_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/05/16 18:28:45 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSSubnet_ -timeout 120m
=== RUN   TestAccAWSSubnet_importBasic
--- PASS: TestAccAWSSubnet_importBasic (55.40s)
=== RUN   TestAccAWSSubnet_basic
--- PASS: TestAccAWSSubnet_basic (53.62s)
=== RUN   TestAccAWSSubnet_ipv6
--- PASS: TestAccAWSSubnet_ipv6 (125.87s)
=== RUN   TestAccAWSSubnet_enableIpv6
--- PASS: TestAccAWSSubnet_enableIpv6 (88.88s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	323.787s
```
2017-05-16 23:06:28 +03:00
Jake Champlin e2a37c1a51 Merge pull request #14544 from hashicorp/b-opc-ip-reservation-default
provider/opc: Update docs for `parent_pool` to an Optional attribute
2017-05-16 15:27:01 -04:00
Jake Champlin 40372d443f Merge pull request #14551 from hashicorp/f-add-opc-docs-back
provider/opc: add missing documentation back from opc provider
2017-05-16 13:41:22 -04:00
Jake Champlin 9892816336
provider/opc: add missing documentation back from opc provider 2017-05-16 13:23:24 -04:00
Jake Champlin d7d9588175
provider/opc: Document changes for ip reservation
Documentation changes for https://github.com/hashicorp/terraform-provider-opc/pull/2
2017-05-16 13:19:02 -04:00
Miguel Espinoza 90d5bb8be3 Update usage.html.markdown (#14384) 2017-05-16 20:08:21 +03:00
Paul Stack 0837a763f3 Bump travis builds to go 1.8.1 (#14549) 2017-05-16 20:05:23 +03:00
Martin Atkins 5269a400c8 Update CHANGELOG.md 2017-05-16 09:57:00 -07:00
Paul Stack 33e7b10587 Update CHANGELOG.md 2017-05-16 19:55:15 +03:00
Martin Atkins 45b04c826a core: don't crash if no module state exists for multi var
For child modules, a ModuleState isn't allocated until the first time a
module instance is inserted into the state under the module's path.
Normally interpolations of resource attributes are delayed until at least
one resource has been created due to the nature of the dependency graph,
but if the interpolation value is a multi-var (splat) then it is possible
that the referenced resource has count=0 and thus created _no_ resource
states when it was visited.

Previously we would crash when trying to access the resource map for the
nil module in order to count how many instances are present. Since we know
there can't be any instances present in a nil module, we now preempt
this crash by returning zero early.

This edge-case does not apply to the root module because its ModuleState
is allocated as part of initializing the main State instance.

This fixes #14438.
2017-05-16 09:54:33 -07:00
Paul Stack 055c18e302 core/provider-split: Split out the Oracle OPC provider to new structure (#14362)
* core/providersplit: Split OPC Provider to separate repo

As we march towards Terraform 0.10.0, we are going to start building the
terraform providers as separate binaries - this will allow us to
continually release them. Before we go to 0.10.0, we need to be able to
continue building providers in the same manner, therefore, we have
hardcoded the path of the provider in the generate-plugins.go file

The interim solution will require us to vendor the opc provider and any
child dependencies, but when we get to 0.10.0, we will no longer have to
do this - the core will auto download the plugin binary. The plugin
package will have it's own dependencies vendored as well.

* core/providersplit: Removing the builtin version of OPC provider

* core/providersplit: Vendoring the OPC plugin

* core/providersplit: update internal plugin list

* core/providersplit: remove unused govendor item
2017-05-16 19:53:25 +03:00
Jake Champlin 73dbded87e Merge pull request #13585 from augabet/bump_govcloudair
bump govcloudair vendor
2017-05-16 10:45:25 -04:00
Jake Champlin 2747f79137 Update CHANGELOG.md 2017-05-16 10:43:51 -04:00
Jake Champlin e4a50f2bae Merge pull request #14543 from hashicorp/b-opc-ip-addr-res
provider/opc: Correctly export `ip_address` in IP Addr Reservation
2017-05-16 10:43:13 -04:00
Paul Stack 24aa40a0d8 Update CHANGELOG.md 2017-05-16 17:34:39 +03:00
Paul Stack f351de9758 provider/aws: Set aws_subnet ipv6_cidr_block to computed (#14542)
Fixes: #14361

An IPv6 CIDR block is option and can be added *after* a subnet has been
created. Therefore, we should set it to `Computed: true`

Otherwise, a manually created IPv6 association will be removed on the
next terraform run
2017-05-16 17:34:16 +03:00
Paul Stack 8793edf668 Update CHANGELOG.md 2017-05-16 17:28:23 +03:00
yanndegat 21d8125d5c provider/ovh: new provider (#12669)
* vendor: add go-ovh

* provider/ovh: new provider

* provider/ovh: Adding PublicCloud User Resource

* provider/ovh: Adding VRack Attachment Resource

* provider/ovh: Adding PublicCloud Network Resource

* provider/ovh: Adding PublicCloud Subnet Resource

* provider/ovh: Adding PublicCloud Regions Datasource

* provider/ovh: Adding PublicCloud Region Datasource

* provider/ovh: Fix Acctests using project's regions
2017-05-16 17:26:43 +03:00
Jake Champlin bc1a6b0261
provider/opc: Correctly export `ip_address` in IP Addr Reservation
Correctly sets the attribute `ip_address` in the `opc_compute_ip_address_reservation` resource.
Also updates documentation for the `ip_address_pool` attribute.

```
$ make testacc TEST=./builtin/providers/opc TESTARGS="-run=TestAccOPCIPAddressReservation_Basic"
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/05/16 10:15:53 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/opc -v -run=TestAccOPCIPAddressReservation_Basic -timeout 120m
=== RUN   TestAccOPCIPAddressReservation_Basic
--- PASS: TestAccOPCIPAddressReservation_Basic (22.60s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/opc    22.604s
```
2017-05-16 10:19:29 -04:00
Jake Champlin 048767d591 Merge pull request #14537 from Mongey/cm-vault-auth-backend-docs
Add docs for vault_auth_backend
2017-05-16 09:22:15 -04:00
Jake Champlin 30c3e72dd4 Merge pull request #14540 from BWITS/aws_appautoscaling_policy
fix the metric bound in sample
2017-05-16 09:16:33 -04:00
Conor Mongey 74252b269f Add docs for vault_auth_backend 2017-05-16 14:09:44 +01:00