Commit Graph

18751 Commits

Author SHA1 Message Date
Jake Champlin e620a0de0d
remove defunct todo item 2017-04-06 14:22:32 -04:00
James Bardin 5621d97925 cleanup consul lock entries
This matches the consul cli behavior, where locks are cleaned up after
use.

Return an error from re-locking the state. This isn't required by the
Locker interface, but it's an added sanity check for state operations.
What was incorrect here was returning an empty ID and error, which would
indicate that Lock/Unlock isn't supported.
2017-04-06 14:19:55 -04:00
Seth Vargo 78644356d0
Update atlas and archive 2017-04-06 14:09:12 -04:00
Seth Vargo c672529d6f
Update arukus 2017-04-06 14:09:12 -04:00
Seth Vargo 4246790135
Update backend-types sidebar 2017-04-06 14:09:11 -04:00
Seth Vargo d41bd13b9c
Update alicloud sidebar 2017-04-06 14:09:11 -04:00
Seth Vargo 56a50cb552
Remove fancy quotes 2017-04-06 14:09:10 -04:00
Seth Vargo a2ee36d9ea
Replace // with # 2017-04-06 14:09:10 -04:00
Seth Vargo e1558b4c28
Do not link h3 in sidebar 2017-04-06 14:09:09 -04:00
Seth Vargo 9c68595d61
Update intro section 2017-04-06 14:09:07 -04:00
Seth Vargo 487c6daf94
Move image into docs 2017-04-06 14:08:42 -04:00
Seth Vargo 90ecc7d0d5
Redo home page 2017-04-06 14:08:42 -04:00
Seth Vargo 4d9337d0b8
Add press-kit 2017-04-06 14:08:41 -04:00
Seth Vargo 53cbe57bde
Add open graph images 2017-04-06 14:08:41 -04:00
Seth Vargo 379f939bb4
Add favicons 2017-04-06 14:08:40 -04:00
Seth Vargo e3f56e98bf
Update alicloud 2017-04-06 14:08:40 -04:00
Seth Vargo 7110d15f19
Add HCL syntax highlighting for everything but providers 2017-04-06 14:08:39 -04:00
Seth Vargo 34c553a42b
Update basic scaffolding 2017-04-06 14:08:37 -04:00
Jake Champlin 3433850c9c
provider/opc: Add debug logging
Adds debug logging, fixes a failing instance acceptance test, and updates vendored dep
2017-04-06 13:59:16 -04:00
Jake Champlin 86a87d8b24 Merge pull request #13425 from hashicorp/f-update-opc-provider
provider/opc: Remove 'model' from instance networking
2017-04-06 13:09:52 -04:00
Jake Champlin c51fb79bf3
provider/opc: Remove 'model' from instance networking
Removes `model` as a configurable attribute in instance networking.

Also adds missing `name` attribute from `ip_reservation` docs

```
$ make testacc TEST=./builtin/providers/opc TESTARGS="-run=TestAccOPCInstance_ipNetwork"
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/06 12:53:13 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/opc -v -run=TestAccOPCInstance_ipNetwork -timeout 120m
=== RUN   TestAccOPCInstance_ipNetwork
--- PASS: TestAccOPCInstance_ipNetwork (258.69s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/opc    258.721s
```

```
$ make testacc TEST=./builtin/providers/opc TESTARGS="-run=TestAccOPCInstance_sharedNetworking"
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/06 12:58:43 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/opc -v -run=TestAccOPCInstance_sharedNetworking -timeout 120m
=== RUN   TestAccOPCInstance_sharedNetworking
--- PASS: TestAccOPCInstance_sharedNetworking (253.15s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/opc    253.180s
```
2017-04-06 13:05:52 -04:00
Martin Atkins a9e9220a6e Update CHANGELOG.md 2017-04-06 10:00:27 -07:00
Martin Atkins a0269c688c helper/schema: Clarify the expectations for DefaultFunc
Discussion in #9512 revealed that some of the comments here were
inaccurate and that the comments here did not paint a complete enough
picture of the behavior and expectations of Default and DefaultFunc.

This is a comments-only change that aims to clarify the situation and
call attention to the fact that the defaults only affect the handling of
the configuration and that changes to defaults may require migration of
existing resource states.

This closes #9512.
2017-04-06 09:51:43 -07:00
Matthew Frahry 4bfd0fd15b Merge branch 'f-oracle-compute' into f-add-ip-address-associaitons 2017-04-06 10:48:39 -06:00
Jake Champlin 273a925ead Merge pull request #13411 from hashicorp/f-add-storage-snapshots
provider/opc: Add Storage Volume Snapshots
2017-04-06 12:47:25 -04:00
Colin Wood 6cea00ed46 Updated with bitbucket improvements information 2017-04-06 09:47:05 -07:00
= fb89a010af Adding ip address associations 2017-04-06 10:46:14 -06:00
Colin Wood c88b19e5c8 Merge pull request #13390 from cwood/cwood/refactor-bitbucket-provider
Refactoring of bitbucket provider with better error support and general improvments
2017-04-06 09:40:36 -07:00
Jake Champlin bff6f5d609
Remove unnecessary nil check in return 2017-04-06 12:31:33 -04:00
Jake Champlin 3bd582b3d5
Add fixes from comments
- Adds docs to sidebar
- Changes `volume` to `volume_name` in volume snapshot
- Fixes tests
- Changes `parent_volume_bootable` to boolean, and converts to string for API

```
$ make testacc TEST=./builtin/providers/opc TESTARGS="-run=TestAccOPCStorageVolumeSnapshot_basic"
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/06 12:26:59 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/opc -v -run=TestAccOPCStorageVolumeSnapshot_basic -timeout 120m
=== RUN   TestAccOPCStorageVolumeSnapshot_basic
--- PASS: TestAccOPCStorageVolumeSnapshot_basic (24.45s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/opc    24.476s
```
2017-04-06 12:29:13 -04:00
Matthew Frahry 924453ea3c Merge pull request #13399 from hashicorp/p-aws-tests
P aws tests
2017-04-06 09:33:11 -06:00
James Bardin 8a1089a161 convert the other context keys to the correct type 2017-04-06 10:51:24 -04:00
James Bardin 812f9fb253 don't use primitive types for context value keys
A context value key should be typed within the package namespace,
otherwise different packages could have colliding values in a context.
2017-04-06 10:36:06 -04:00
Joern Barthel 059a1b2c0f Added chomp interpolation function. 2017-04-06 13:17:25 +02:00
Tom Harvey 182e6c5f4e Updating the changelog after #12455 2017-04-06 10:32:08 +01:00
Tom Harvey 6f2551ec33 Merge pull request #12455 from brandontosch/brandontosch/GH-11874
AzureRM Managed Disks
2017-04-06 10:29:40 +01:00
Nic Jackson b908fc54dc
Updated provider documentation to highlight limitations of interpolation syntax 2017-04-06 09:19:37 +01:00
Jake Champlin e569fd3f6c
provider/opc: Add Storage Volume Snapshots
Adds `storage_volume_snapshot` resource, and allows for creating a storage_volume from a storage volume snapshot.
Also adds documentation for additions, and tests.

```
TF_ACC=1 go test ./builtin/providers/opc -v -run=TestAccOPCStorageVolume -timeout 120m
=== RUN   TestAccOPCStorageVolumeSnapshot_importBasic
--- PASS: TestAccOPCStorageVolumeSnapshot_importBasic (24.72s)
=== RUN   TestAccOPCStorageVolumeSnapshot_basic
--- PASS: TestAccOPCStorageVolumeSnapshot_basic (24.01s)
=== RUN   TestAccOPCStorageVolume_Basic
--- PASS: TestAccOPCStorageVolume_Basic (12.99s)
=== RUN   TestAccOPCStorageVolume_Complete
--- PASS: TestAccOPCStorageVolume_Complete (13.91s)
=== RUN   TestAccOPCStorageVolume_MaxSize
--- PASS: TestAccOPCStorageVolume_MaxSize (14.47s)
=== RUN   TestAccOPCStorageVolume_Update
--- PASS: TestAccOPCStorageVolume_Update (22.36s)
=== RUN   TestAccOPCStorageVolume_FromSnapshot
--- PASS: TestAccOPCStorageVolume_FromSnapshot (32.28s)
```
2017-04-06 02:07:38 -04:00
Alan D. Salewski a2c63613eb fixes #13405: website (typo): "will automatic lock" ==> "will automatically lock" 2017-04-05 18:23:17 -07:00
Jake Champlin 871d33d90d
Fix instance attributes 2017-04-05 18:14:11 -04:00
= 1f13ff22a3 TestAccAWSAutoScalingGroup_ALB_TargetGroups passes 2017-04-05 16:07:14 -06:00
Jake Champlin 9062ddded3
Add Storage Volumes to instances
- Adds storage volumes to instances
- Updates go-oracle-terraform vendor
- Adds clarification between ip/shared network in docs
- make 'bootable.image_list' a required parameter in the storage_volume resource
- Add storage volume test + docs
2017-04-05 16:40:05 -04:00
James Bardin e2a428b43f Merge pull request #13384 from hashicorp/s3-state-locks
Unify s3 client code
2017-04-05 16:15:08 -04:00
Clint 092fe7ded6 Merge pull request #13394 from hashicorp/b-aws-redshift-fixes
provider/aws: Fix some Acc tests by skipping final snaphot in Redshift
2017-04-05 15:08:21 -05:00
Clint c3d34b2c6e Update CHANGELOG.md 2017-04-05 14:39:24 -05:00
Clint 7cd0708402 Merge pull request #13281 from ameir/fix-aws_s3_bucket-logging-diff
Fix `aws_s3_bucket` diff of logging options
2017-04-05 14:38:39 -05:00
clint shryock 053dd92937 provider/aws: Fix some Acc tests by skipping final snaphot in Redshift
Redshift was changed to not skip snapshots by default, so our configs
were out of date and causing errors in destroy (thus leaking redshifts)

This changes the configs to skip snapshots, which should at least fix:

- TestAccAWSKinesisFirehoseDeliveryStream_RedshiftConfigUpdates
- TestAccAWSRedshiftCluster_loggingEnabled
2017-04-05 14:33:33 -05:00
Colin Wood 10cda98245 Refactoring of bitbucket provider with betters.
Also doesnt use decode/encode anymore since those methods are more
intended for streams. So this goes to the more standed marshal/unmarshal
of data.

This also adds better error support and will try to give the user
better errors from the api if it can. Or any issues with the bitbucket
service.
2017-04-05 12:09:43 -07:00
clint shryock 95c58269b9 provider/aws: fix TestAccAWSCloudwatchLogSubscriptionFilter_basic by linking the name 2017-04-05 13:48:13 -05:00
clint shryock 403e48f1cf provider/aws: Randomize ElastiCache param group name. Fixes TestAccAWSElasticacheParameterGroupOnly,
TestAccAWSElasticacheParameterGroup_basic, TestAccAWSElasticacheParameterGroup_importBasic
2017-04-05 13:01:17 -05:00