Commit Graph

3720 Commits

Author SHA1 Message Date
Joshua Spence
488711afef Add name_prefix to aws_alb_target_group (#13442)
Adds the `name_prefix` parameter to the `aws_alb_target_group` resource.
2017-04-07 18:09:51 +03:00
Paul Stack
805612c38c provider/aws: Remove deprecated endpoints from Provider introduction (#13461)
Fixes: #13450
2017-04-07 17:02:39 +03:00
Tom Harvey
4129afd884 Merge branch 'f-oracle-compute' into f-oracle-website 2017-04-07 14:52:08 +01:00
Gavin Williams
afb8bb27e8 provider/openstack: Add support for 'value_specs' options to (#13380)
`openstack_compute_servergroup_v2`
Refactor to use common `types.go` and `MapValueSpecs function`.
Added supporting website documentation.
2017-04-07 15:15:31 +03:00
tombuildsstuff
72aab5a13f Removing an unneeded line 2017-04-07 13:14:53 +01:00
tombuildsstuff
82e57870bb Updating the docs for Instances 2017-04-07 13:07:21 +01:00
tombuildsstuff
50cfe7e359 Updating the instance docs 2017-04-07 12:17:36 +01:00
tombuildsstuff
833023f8fc Fixing sidebar selection for multiple links 2017-04-07 12:12:15 +01:00
tombuildsstuff
7e9fbc6b88 Updating the example for image list entries 2017-04-07 12:09:31 +01:00
tombuildsstuff
965d6ce92e Updating the spacing 2017-04-07 11:57:52 +01:00
tombuildsstuff
3a084b061a Merge branch 'master' into f-oracle-merge 2017-04-07 11:15:36 +01:00
Nic Jackson
c0d6cedee6 Updated documentation with comments from @sethvargo and @radeksimko 2017-04-07 10:26:30 +01:00
Nick Walke
df5dfb10c8 DOCS: Updated list of triggers for codedeploy_deployment_group (#13396)
* Updated list of triggers.

* Updated to just point to the codedeploy docs
2017-04-07 10:08:03 +01:00
Nic Jackson
45cacd4a9e Merge branch 'master' of github.com:hashicorp/terraform into nic-provider-docs 2017-04-07 10:07:40 +01:00
Nic Jackson
cde1df8af7 Updated copy 2017-04-07 10:07:23 +01:00
tombuildsstuff
c4357c29c6 Fixing the documentation 2017-04-07 09:05:28 +01:00
tombuildsstuff
222a03da54 Updating the documentation 2017-04-07 09:02:46 +01:00
Jake Champlin
76b224ea0a Update IP Association Documentation, add sidebar 2017-04-06 20:43:42 -04:00
Matthew Frahry
29d4814992 Merge pull request #13424 from hashicorp/f-add-ip-address-associaitons
provider/opc: Adding ip address associations
2017-04-06 16:29:02 -06:00
=
1d02ed51c1 fixed nits 2017-04-06 16:27:22 -06: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
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
487c6daf94 Move image into docs 2017-04-06 14:08:42 -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
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
Matthew Frahry
4bfd0fd15b Merge branch 'f-oracle-compute' into f-add-ip-address-associaitons 2017-04-06 10:48:39 -06:00
=
fb89a010af Adding ip address associations 2017-04-06 10:46:14 -06: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
Joern Barthel
059a1b2c0f Added chomp interpolation function. 2017-04-06 13:17:25 +02: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
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
Martin Atkins
1eb744c6cf website: clarify some aspects of the aws_lambda_function docs
The docs on aws_lambda_function used some differing terminology to
what's currently used in the official AWS lambda docs, which
caused some confusion for users trying to use the Java runtime
where the "deployment package" is a JAR archive rather than a plain
zip file.

This change attempts to be consistent with the terminology used in the
AWS docs and also clarifies that the implementation now allows
source_code_hash to be used regardless of which deployment package
upload method is in use.

This fixes #12443.
2017-04-05 09:33:03 -07:00
Paul Stack
6d9384aeeb provider/aws: Add support for evaluate_low_sample_count_percentiles to cloudwatch_metric_alarm (#13371)
```

```
2017-04-05 19:28:57 +03:00
Paul Stack
d938d263f6 provider/aws: Add support for treat_missing_data to cloudwatch_metric_alarm (#13358)
* provider/aws: Add support for treat_missing_data to cloudwatch_metric_alarm

Fixes: #13263

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSCloudWatchMetricAlarm'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/05 08:51:06 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSCloudWatchMetricAlarm -timeout 120m
=== RUN   TestAccAWSCloudWatchMetricAlarm_importBasic
--- PASS: TestAccAWSCloudWatchMetricAlarm_importBasic (23.93s)
=== RUN   TestAccAWSCloudWatchMetricAlarm_basic
--- PASS: TestAccAWSCloudWatchMetricAlarm_basic (27.81s)
=== RUN   TestAccAWSCloudWatchMetricAlarm_treatMissingData
--- PASS: TestAccAWSCloudWatchMetricAlarm_treatMissingData (43.39s)
=== RUN   TestAccAWSCloudWatchMetricAlarm_extendedStatistic
--- PASS: TestAccAWSCloudWatchMetricAlarm_extendedStatistic (26.80s)
=== RUN   TestAccAWSCloudWatchMetricAlarm_missingStatistic
--- PASS: TestAccAWSCloudWatchMetricAlarm_missingStatistic (5.95s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	127.899s
```

* provider/aws: Set cloudwatch_metric_alarm treamt_missing_data to missing

This follows what the AWS API does. We had to add a state migration for
this to make sure that the user doesn't see any unexpected activity on
their Terraform plans

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAWSCloudWatchMetricAlarmMigrateState'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/05 14:51:32 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAWSCloudWatchMetricAlarmMigrateState -timeout 120m
=== RUN   TestAWSCloudWatchMetricAlarmMigrateState
2017/04/05 14:52:13 [INFO] Found AWS CloudWatch Metric Alarm State v0; migrating to v1
2017/04/05 14:52:13 [DEBUG] Attributes before migration: map[string]string{}
2017/04/05 14:52:13 [DEBUG] Attributes after migration: map[string]string{"treat_missing_data":"missing"}
--- PASS: TestAWSCloudWatchMetricAlarmMigrateState (0.00s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	0.018s
```
2017-04-05 13:17:47 +01:00
Ringo De Smet
9ce2b12ec9 Document the environment attribute. (#13360)
The existence of the attribute is mentioned here already: https://www.terraform.io/docs/state/environments.html
2017-04-05 09:53:18 +01:00
Brandon Galbraith
d310670550 Specify that only elastic load balancers can be defined for load_balancers (#13344) 2017-04-04 17:03:20 -05:00
Jake Champlin
74a53f71b1 Merge pull request #13261 from harijayms/whiskeyjay/9198fix
provider/azurerm: Fixing crash when importing Local Network Gateways #13301
2017-04-04 17:03:10 -04:00
Martin Atkins
f57cf5cc05 website: note that destroy provisioners can't run if resource removed
This addresses (via documentation) the issue raised in #13097.
2017-04-04 13:37:37 -07:00
Jake Champlin
d05af76607 add image_list_entry resource 2017-04-04 16:28:11 -04:00
Jake Champlin
456d43e200 Merge remote-tracking branch 'origin/master' into f-oracle-compute 2017-04-04 16:14:51 -04:00
James Bardin
d059939f88 Merge pull request #13262 from hashicorp/jbardin/lock-timeouts
lock timeouts
2017-04-04 14:30:20 -04:00
James Bardin
7cfb515a03 update command docs 2017-04-04 13:50:38 -04:00
Radek Simko
0dddb48239 provider/aws: Improve logging & docs for caller_identity (#13316) 2017-04-04 15:41:30 +01:00