Commit Graph

4504 Commits

Author SHA1 Message Date
Pavel Khusainov f9fb6010ee config: "matchkeys" interpolation function
This new function allows using a search within one list to filter another list. For example, it can be used to find the ids of EC2 instances in a particular AZ.

The interface is made slightly awkward by the constraints of HIL's featureset.

#13847
2017-04-21 10:04:49 -07:00
Michael Dunton 8995f1afdb provider/fastly: GCS (#13553)
*  PAAS-5611 Adding docs

* PAAS-5611 adding gcs logging resource

* PAAS-5611 adding gcs testing

* Adding testing file

* Cleaning up type and making flatten array clearer

* Fixing issue with tests
2017-04-21 19:44:25 +03:00
Paul Stack 358e1c2890 provider/oneandone: Adding the documentation to the sidebar (#13853)
Also renaming the files and adding the hcl syntax highlighting
2017-04-21 19:37:10 +03:00
Jake Champlin 022d0cd14f Merge pull request #10590 from pielu/aws/feature/r-net-iface-ips-count
provider/aws: Exercise SecondaryPrivateIpAddressCount for network interface
2017-04-21 10:25:44 -04:00
Jake Champlin a7ccf1c76b Merge pull request #13846 from hashicorp/b-update-opc-instance-docs
provider/opc: Fix Instance Label / Update Docs
2017-04-21 10:20:09 -04:00
Jasmin Gacic 61499cfcf0 Provider Oneandone (#13633)
* Terraform Provider 1&1

* Addressing pull request remarks

* Fixed imports

* Fixing remarks

* Test optimiziation
2017-04-21 17:19:10 +03:00
Jake Champlin 2eaf6beff0
provider/opc: Fix Instance Label / Update Docs
Fix issue with an instances label causing a ForceNew if omitted.

Also updates mistyped docs for the `opc_compute_security_list` resource.

```
$ make testacc TEST=./builtin/providers/opc TESTARGS="-run=TestAccOPCInstance_emptyLabel"
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/21 09:57:48 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/opc -v -run=TestAccOPCInstance_emptyLabel -timeout 120m
=== RUN   TestAccOPCInstance_emptyLabel
--- PASS: TestAccOPCInstance_emptyLabel (574.79s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/opc    574.835s
```
2017-04-21 10:09:26 -04:00
Paul Stack 72a14ef2bb provider/aws: Add IPv6 outputs to aws_subnet datasource (#13841)
Fixes: #13595

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccDataSourceAwsSubnet'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/21 13:52:43 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccDataSourceAwsSubnet -timeout 120m
=== RUN   TestAccDataSourceAwsSubnetIDs
--- PASS: TestAccDataSourceAwsSubnetIDs (81.05s)
=== RUN   TestAccDataSourceAwsSubnet
--- PASS: TestAccDataSourceAwsSubnet (57.48s)
=== RUN   TestAccDataSourceAwsSubnetIpv6ByIpv6Filter
--- PASS: TestAccDataSourceAwsSubnetIpv6ByIpv6Filter (82.63s)
=== RUN   TestAccDataSourceAwsSubnetIpv6ByIpv6CidrBlock
--- PASS: TestAccDataSourceAwsSubnetIpv6ByIpv6CidrBlock (82.43s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	303.625s
```
2017-04-21 16:54:55 +03:00
Joshua Spence 2aac8fb8fc Add `aws_ami_ids` and `aws_ebs_snapshot_ids` resources (#13844)
Fixes #12081. Adds new `aws_ami_ids` and `aws_ebs_snapshot_ids` resources.
2017-04-21 16:37:26 +03:00
Julien Pivotto c2a1e688cb Add DigitalOcean datasource digitalocean_image (#13787)
Add a new data source for Digital Ocean that finds snapshots by name.

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2017-04-21 16:25:34 +03:00
James Bardin dca89519ec Merge pull request #13825 from hashicorp/jbardin/reconfigure
add init -reconfigure flag
2017-04-21 09:03:12 -04:00
Paul Stack 214a212704 provider/aws: Make iam_role_attachment example not throw any errors (#13843)
Fixes: #13398
2017-04-21 14:33:27 +03:00
Paul Stack 0aad5f2c43 provider/aws: Add replica_source_db to the aws_db_instance datasource (#13842)
Fixes: #13471
2017-04-21 14:23:48 +03:00
Gauthier Wallet 80d940d154 provider/aws: Added Cognito Identity Pool (#13783) 2017-04-21 12:53:48 +03:00
stack72 82293bf59e
Merge branch 'master' of github.com:hashicorp/terraform 2017-04-21 12:52:22 +03:00
stack72 83c4d5d71d
provider/google: Documenting the import process for compute_network 2017-04-21 12:51:24 +03:00
Pasha Palangpour 2a7b0e7e36 provider/ns1: record documentation improvements (#13786)
* provider/ns1: Adds acctest for SRV type records

* ns1/provider: Adds dns record examples to documentation.
2017-04-21 12:38:05 +03:00
Andrew King 1654464a64 Update environments.html.md (#13353)
Use current local state directory
2017-04-21 08:48:34 +02:00
James Bardin bb6ef3fd3e update init docs
add -reconfigure, and fix ordering of the other flags
2017-04-20 18:15:47 -04:00
Joshua Spence f3b5a883b7 Add `bucket_prefix` to `aws_s3_bucket` (#13274)
Adds a `bucket_prefix` parameter to the `aws_s3_bucket` resource.
2017-04-20 23:28:40 +03:00
Chris Marchesi fa5cc7eb34 website: Fix mobile link to correct project (#13819)
Was pointing to Consul before :)
2017-04-20 15:16:36 -05:00
Dominik-K 565f0a4e0f `roles` deprecated in docs & code error message (#13622) 2017-04-20 23:02:48 +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
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
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
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
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
Martin Atkins d157eea2e3 website: Correct capitalization of "Bitbucket"
Previously we fixed this specifically for the Enterprise VCS integration,
but we also had some long-running errors of this sort in the docs for
how to specify module sources on Bitbucket.
2017-04-19 14:56:11 -07:00
Mary Elizabeth Cutrali 3d315baee5 update spelling of Bitbucket 2017-04-19 17:30:58 -04:00
ebilhoo 8ef010440e cleanup and validation, rdpool.order optional with ROUND_ROBIN default 2017-04-19 20:02:27 +00:00
Joseph Anthony Pasquale Holsten c57e0735d1 Merge pull request #13745 from bhood4/master
provider/ultradns: add ultradns_rdpool resource
2017-04-19 10:45:20 -07:00
tmshn 86d7c47c0a Change cidrhost() to get IP from end of the range when negative number given
Ref: https://github.com/apparentlymart/go-cidr/pull/2
2017-04-19 09:41:41 -07:00
Seth Vargo bcacf3a036
Update ldlogo 2017-04-18 14:10:27 -04:00
ebilhoo a8b8404589 rdpool doc 2017-04-18 15:08:18 +00:00
KOJIMA Kazunori 47d255f943 provider/aws: Add aws_kms_alias datasource (#13669) 2017-04-18 15:29:14 +03:00
demonwy 69ec7e12ac provider/alicloud: Add new resource ESS, including scalinggroup scalingconfiguration scalingrule and schedule (#13731)
* add docs

* add new resource ess

* add examples

* update aliyun go

* merge master

* fix ci
2017-04-18 15:18:57 +03:00
Julien Pivotto c2d1a37334 DigitalOcean: Export droplet prices (#13720)
Note: In DO, Droplets are about the only thing you pay. DNS/Float IP are
free.

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2017-04-18 14:52:40 +03:00
Martin Atkins b21bb7746a Merge #11776: Optionally allow vault_generic_secret resource to detect drift 2017-04-17 11:14:02 -07:00
Martin Atkins d515c2efc4 Merge #12757: local_file resource 2017-04-17 10:48:15 -07:00
Martin Atkins 4d79e0b99c website: documentation tweaks for the local_file resource and its provider 2017-04-17 10:45:10 -07:00
Jake Champlin ebc89e9426 Merge pull request #13701 from kavu/kavu-docs_hcl_addition
Massively add HCL source tag in docs Markdown files
2017-04-17 09:48:25 -04:00
gotyoooo 3da620944d Add auto_minor_version_upgrade document (#13706) 2017-04-17 16:35:27 +03:00
Paul Stack bb69e3730b provider/aws: Documentation fixed for elasticsearch_domain (#13704)
Fixes: #13434
2017-04-17 16:26:08 +03:00
Max Riveiro 137fcfb5de
Massively add HCL source tag in docs Markdown files
Signed-off-by: Max Riveiro <kavu13@gmail.com>
2017-04-17 13:17:54 +03:00
Paul Tyng b8b896e11b Update go-newrelic vendor and use new field (#13158)
Fixes #12972
2017-04-17 01:59:11 +03:00
Kent Wang 8927ad5dce provider/alicloud: Fix allocate public ip error (#13267) (#13268)
Wait for instance to be in STOPPED or RUNNING state before invoking
AllocatePublicIP API.

* provider/alicloud: Wait for instance state before allocate public ip

* provider/alicloud: Fix test `TestAccAlicloudInstance_associatePublicIP`

* provider/alicloud: Update alicloud_instance document

Fixes: #13267
2017-04-17 01:52:39 +03:00
Joshua Spence 8d5fdeae57 Add `name_prefix` support to `aws_cloudwatch_log_group` (#13273) 2017-04-17 01:50:52 +03:00
Tom Harvey f7f800bdfb provider/azurerm: VM Scale Sets - import support + fixes (#13464)
* Ensuring we base64 decode the custom data if it's base64 encoded

* Import support for VM Scale Sets

* Updating the docs to mention Import support

* Fixes #13009, where the SSH Keys would be set at the incorrect index

(leaving a null entry at the start, causing a crash on the second apply)

* Adding tests to cover the updating use-case

* Adding an import linux test

* Storing the base64 encoded value
Making custom_data a force new, since it an't be updated

* Updating the docs
2017-04-17 01:37:28 +03:00
Paul Stack 67f02e6a54 provider/aws: Documentation fixes for aws_ami (#13694)
* provider/aws: Documentation fixes for aws_ami

Fixes: #13685

* Update ami.html.markdown
2017-04-17 01:33:30 +03:00
Paul Stack b348cff246 provider/aws: Documentation fixes for aws_inspector_resource_group (#13695)
Fixes: #13684
2017-04-17 01:26:57 +03:00
Paul Stack acb5684052 provider/aws: Documentation fixes for aws_api_gateway_* (#13693)
Fixes: #13692
2017-04-17 01:20:47 +03:00
Charlie O'Leary f4b59f2d3a ip_set_descriptors is no longer required. (#13666) 2017-04-16 19:54:04 +03:00
okumin e1ac462b3f Fix billing_acount into billing_account in google_project.html.markdown (#13689) 2017-04-16 19:53:19 +03:00
Phillip Shipley c87459a895 website: updated link to RE2 regex syntax page
Docs had old link to google code, which does not redirect to the new syntax page.
2017-04-15 17:15:14 -07:00
Sander van Harmelen 10c6c873ed provider/aws: add an option to skip getting the EC2 platforms (#13672)
* Add an option to skip getting the EC2 platforms

Even through this call fails silently in case of an error (usually lack of rights), it’s still a pretty extensive call.

In our region (eu-west-1) this can take up to 3 seconds. And since we have a system that involves doing much planning with the option `-refresh=false` these additional 3 seconds are really very annoying and totally not needed.

So being able to choose to skip them would make our lives a little better 😉

* Update the docs accordingly
2017-04-14 23:41:59 +02:00
Roman Laguta 7b32ad2b99 Update cloudwatch_log_subscription_filter.html.markdown (#13659)
Currently CloudWatch log subscription supports Lambda as a destination. And we can use `aws_cloudwatch_log_subscription_filter` resource for creating subscriptions with Lambda as a destination, but it needs some additional actions. I described them in description, but feel free to improve description if you can say the same better.
This change will help better understand abilities of using this resource.
2017-04-14 21:09:37 +03:00
Jonathan Thomas 4d359b318a website: add enterprise link in header and mobile sidebar. (#13653) 2017-04-14 11:52:14 +03:00
Adam Leventhal a6f28d2d0b typo in iam_instance_profile docs (#13647) 2017-04-14 11:51:29 +03:00
Josh VanderLinden 24e857ae96 azurerm_redis_cache resource missing hostname (#13650)
* Fix Azure Redis Cache hostname attribute

* Fix inaccurate Azure Redis Cache docs
2017-04-14 11:49:49 +03:00
Quentin Machu bf8d932d23
provider/local: Implement a new local_file resource
This commit adds the ability to provision files locally.
This is useful for cases where TerraForm generates assets
such as TLS certificates or templated documents that need
to be saved locally.

- While output variables can be used to return values to
the user, it is not extremly suitable for large content or
when many of these are generated, nor is it practical for
operators to manually save them on disk.
- While `local-exec` could be used with an `echo`, this
provider works across platforms and do not require any
convoluted escaping.
2017-04-13 14:57:29 -07:00
Mathieu Herbert 25cbbdea8a provider/google: datasource subnetwork and network (#12442)
* first version of this datasource

* add network and subnetwork datasource and documentation

* modify sidebar reference in documentation

* fix elements after review on network and subnetwork datasources

* fix fmt on Google provider.go

* modify code with the review

* modify documentation layout order

* fix alphabetic order in provider.go

* fix rebase issue and documentation datasource => data
2017-04-13 13:25:29 -07:00
Mark van den Boomen b0407adaf5 Host based routing on ALB possible (#13623)
Tried to use the Host based routing feature of the ALB (ELB v2.0) with Terraform 0.9.2. Worked perfectly, so updating the documentation.
2017-04-13 17:55:07 +02:00
Michael Warkentin 2734a53887 Grammar fix (#13626) 2017-04-13 09:07:48 -05:00
tombuildsstuff 336a37bea3 Quoting the title for the iam_role data source
Fixes #13613
2017-04-13 10:32:43 +01:00
Tom Harvey 5e7531120c Merge pull request #13611 from steakfest/master
Fixing some documentation issues with the Azurerm Traffic Manager End…
2017-04-13 09:53:08 +01:00
Vishnu Bharathi fb0533ee54 Fixes kubernetes namespace name to have valid format (#13615) 2017-04-13 07:24:10 +01:00
John McGowan 444cf35649 Fixing some documentation issues with the Azurerm Traffic Manager Endpoint page 2017-04-12 17:11:26 -06:00
Paddy d34006bbbf Merge pull request #13270 from JDiPierro/google_address_importability
Google address importability
2017-04-12 15:46:08 -07:00
Mary Elizabeth Cutrali e80a960dc5 add bitbucket & gitlab to docs sidebar 2017-04-12 16:39:22 -05:00
Martin Atkins 1601af7a07
v0.9.3 2017-04-12 20:21:42 +00:00
Dana Hoffman 11a20ddb53 provider/google: Add node_pool field in resource_container_cluster. (#13402) 2017-04-12 12:57:53 -07:00
Jenny Duckett e57790e636 website: Add sidebar links to GitHub webhook resource pages
These resources and their documentation were added in
https://github.com/hashicorp/terraform/pull/12924. Add sidebar links to the
docs pages to make them easier to find.
2017-04-12 10:43:07 -07:00
Radek Simko 4606090c32 provider/aws: Add support for api_gateway_method_settings (#13542) 2017-04-12 16:13:33 +01:00
Jake Champlin f1666b46e6 Merge pull request #13519 from StephenWeatherford/master
Doc fixes for azurerm - deployment template and virtual machine
2017-04-12 10:25:51 -04:00
Jake Champlin 0c20e9b615 Merge pull request #13536 from hashicorp/b-update-vsphere-docs-keeponremove
provider/vsphere: Add keep_on_remove to docs
2017-04-12 09:18:29 -04:00
Jake Champlin 0054c162d6 Merge pull request #13535 from hashicorp/b-update-instance-docs
provider/aws: Update instance documentation
2017-04-12 09:17:14 -04:00
Radek Simko 5f02c0b61a provider/aws: Add support for api_gateway_stage (#13540) 2017-04-12 08:35:00 +01:00
Radek Simko 1cf0cd87cb provider/kubernetes: Add support for persistent_volume_claim (#13527) 2017-04-12 08:33:26 +01:00
Stephen Weatherford ae2a05e29f Note behavior of destroying deployment template in docs 2017-04-12 02:20:29 +00:00
Stephen Weatherford 0c76579c0c Use Incremental in sample, and Empty available for data disks 2017-04-12 02:20:29 +00:00
John Miller 9343a9da82 website: fix erroneous example for aws_iam_server_certificate
Fixed the example inline redacted private key having incongruent PEM header/footer
2017-04-11 16:51:11 -07:00
Mary Elizabeth Cutrali 13e826c580 include documentation for TFE GitLab integration 2017-04-11 10:46:09 -05:00
Mary Elizabeth Cutrali f99a9b1873 include documentation for TFE bitbucket cloud 2017-04-11 10:46:09 -05:00
Mary Elizabeth Cutrali 0926083be1 add pages for bb & gitlab documentation 2017-04-11 10:42:28 -05:00
Jake Champlin 6a3ed342fa
provider/vsphere: Add keep_on_remove to docs
Fixes: #13518
2017-04-11 10:21:48 -04:00
Jake Champlin 40fc19d812
provider/aws: Update instance documentation
Updates instance documentation.

Fixes: #13514
2017-04-11 09:57:15 -04:00
Alex Boyd 8592b3b120 nuke duplicate contact_id in statuscake docs (#13528) 2017-04-11 12:07:33 +03:00
Radek Simko 71a05e6f67
provider/kubernetes: Add support for persistent_volume 2017-04-11 07:04:57 +01:00
Paul Stack 3574052c8a provider/aws: Add support for EMR clusters to aws_appautoscaling_target (#13368)
```

```
2017-04-10 21:46:51 +03:00
Seth Vargo 0540c213c0
Update template provider 2017-04-10 12:29:20 -04:00
Seth Vargo a765c320e4
Update nomad provider 2017-04-10 12:28:09 -04:00
Seth Vargo ecda27e05a
Update kubernetes provider 2017-04-10 12:26:41 -04:00
Seth Vargo d37bf808df
Update github provider 2017-04-10 12:25:29 -04:00
Seth Vargo 9bd2b38f2c
Update fastly provider 2017-04-10 12:23:21 -04:00
Seth Vargo cf550dfd78
Update dnsimple provider 2017-04-10 12:22:31 -04:00
Seth Vargo 1d6c7f35b6
Update dns provider 2017-04-10 12:22:13 -04:00
Seth Vargo e9edc1d904
Update dme provider 2017-04-10 12:20:42 -04:00
Seth Vargo e6784907d8
Update datadog provider 2017-04-10 12:20:16 -04:00