Commit Graph

5053 Commits

Author SHA1 Message Date
James Bardin 6a3a3b3b05 Merge pull request #14949 from hashicorp/jbardin/s3-config
Replace lock_table with dynamodb_table in S3 backend config
2017-05-30 18:41:32 -04:00
James Bardin eba5093115 Update S3 backend docs
Add dynamodb_table and deprecation notice on lock_table. Add missing
parameters for the S3 backends: assume_role_policy, external_id,
and session_name.
2017-05-30 18:12:33 -04:00
Jake Champlin 48490a0857 Merge pull request #14946 from alessfg/patch-1
docs/google: Add missing "Required" tags
2017-05-30 17:04:40 -04:00
Jake Champlin cadf75b28f Merge pull request #14938 from jkodroff/patch-1
Update virtual_machine.html.markdown
2017-05-30 16:51:14 -04:00
Alessandro Fael Garcia e071a8f042 docs/google: Add missing "Required" tags
This change updates the password and username fields in the Master Auth subheading to include the "Required" tag.
2017-05-30 13:44:39 -07:00
Jasmin Gacic 5d33023d99 Merge pull request #14725 from StackPointCloud/bcrypt
`bcrypt` builtin function
2017-05-30 21:39:41 +02:00
Josh Kodroff 75100a18c9 Update virtual_machine.html.markdown
Replace deprecated `gateway` attrib with `network_interface.ipv4_gateway`.
2017-05-30 14:31:39 -04:00
Jake Champlin 7894478c8c Merge pull request #14681 from svanharmelen/f-review
Use `helpers.shema.Provisoner` in Chef provisioner V2
2017-05-30 14:26:51 -04:00
Andrew Starr-Bochicchio 2a3d752834 Add support for changing TTL on DigitalOcean domain records. Fixes #12631 (#14805) 2017-05-30 19:29:56 +03:00
Ebru Cucen 3c8a19f65e docs/provider/azure/vmss: managed_disk_type, typos;sidebar fix for VM resources (#14906) (#14915) 2017-05-30 16:52:25 +01:00
tombuildsstuff 8af9f2d4e6 Adding whitespace to Elastic Transcoder Pipeline docs. Fixes #14870 2017-05-30 09:40:21 +01:00
Tom Harvey 893b2f74a5 Merge pull request #14914 from hashicorp/pmcatominey/output-docs
website/docs: correct outputs documentation
2017-05-30 09:21:48 +01:00
Ryo Takaishi c501cb1063 provider/openstack: Add support provider network (#10265)
* provider:openstack Add support provider network

* revert vendor file changes

* vendor: Updating Gophercloud for OpenStack Provider

* create provider network if parameter has segments

* segments is not computed resource

* extract to generate []provider.Segment

* change segmentstion id type
2017-05-29 21:30:41 -06:00
Peter McAtominey 431c2ee4c9 website/docs: correct outputs documentation 2017-05-30 00:12:24 +01:00
Radek Simko ad962779e5 docs/kubernetes: Fix sidebar highlighting (#14829) 2017-05-29 21:17:37 +01:00
Ben Hartshorne 4642c97f0d [docs] fix paramater name to disable locking for S3 backend (#14911) 2017-05-29 21:17:11 +01:00
Richard Clamp 8e25c23c84 provider/gitlab: Documentation improvements (#14824)
* provider/gitlab: Fix documentation copypasta

The original provider and docs were copied from the github provider, one
bit of copy paste slipped unmissed.

* provider/gitlab: Document `gitlab_project#id`

* provider/gitlab: Document `gitlab_project#namespace_id`

* provider/gitlab: Add fuller demonstration to the provider page

Following in the style of other provider pages, add a worked example
showing off all of the available resources offered by the gitlab
provider.

* provider/gitlab: Correct sample for gitlab_project
2017-05-29 17:04:51 +03:00
mosuke5 093861492d Update alicloud document to add userdata (#14862)
* Update Example Usage

Delete an unnecessary option `commodity_code `.

* Update alicloud provider docs to add user_data.
2017-05-29 17:01:20 +03:00
Ben Hartshorne 34b45c5ad8 [docs] update terraform configuration page to include reference to the backends section (#14894) 2017-05-29 06:58:08 +01:00
Julien Pivotto 9ec28d26a8 doc/provider/gitlab: rename github_token to gitlab_token (#14890) 2017-05-28 23:46:44 +03:00
Kevin Prince fa1e0bab7f DOCS: The resource name should be consistent. (#14883)
* The resource name should be consistent. 

The HCL declares the terraform_remote_state with a resource name of foo. But the example invocation uses network which is incorrect.

* Foo > Network so this is a proper example.
2017-05-28 07:41:38 +01:00
Jeff Theriault 07f89e2728 Export RDS instance and cluster resource id (#14882) 2017-05-28 06:47:55 +01:00
Radek Simko 85f2d10e9f docs/kubernetes: Fix import docs (missing namespace) (#14832) 2017-05-28 06:38:14 +01:00
Chris Yee 440df3890a Docs: Fix vpc_id argument in AWS route_table resource (#14881) 2017-05-28 06:37:44 +01:00
Tom Harvey 5ae00b45d5 Merge pull request #14879 from hashicorp/gitlab-sidebar
Documentation: Adding missing Gitlab resources to the sidebar
2017-05-27 18:19:46 +01:00
Tom Harvey 4597de02e3 Merge pull request #14871 from wchrisjohnson/cj-fixup-librato-sidebar-doc
provider/librato: Fixup the Librato Docs (metrics)
2017-05-27 14:51:09 +01:00
tombuildsstuff 96e5ed1d93 Adding all of the gitlab resources to the sidebar 2017-05-27 13:50:25 +01:00
Chris Johnson e86ffefd13 Fixup the Librato Docs (metrics) 2017-05-26 17:10:55 -04:00
David Wittman 60b162de45 docs: Fix inline comment in AWS instance resource (#14865)
`//` appears to be a valid inline comment, but it affects the formatting
in the documentation.
2017-05-26 16:04:52 -05:00
Paul Thrasher be9ca35f79 Merge pull request #14845 from hashicorp/thrashr888/tfe-doc-snippets
Docs: Update atlas_artifact resource to use data
2017-05-26 14:00:09 -07:00
Radek Simko 4da1b46d35 Explain purpose of environments better (#14869) 2017-05-26 20:34:23 +01:00
Jake Champlin 24202fb3c1 Merge pull request #14578 from caiofilipini/digitalocean-certs
provider/digitalocean: Add support for certificates
2017-05-26 13:07:15 -04:00
Sander van Harmelen 12c2e3222d Update provider docs and add validation (#14863) 2017-05-26 17:58:10 +02:00
Jake Champlin 840f974853 Merge pull request #14562 from wchrisjohnson/cj-add-librato-metrics
provider/librato: Enable mgmt of Librato metrics
2017-05-26 11:14:43 -04:00
Paul Thrasher dc3ed9bb50 Docs: Update atlas_artifact resource to use data
A while back `atlas_artifact` was switched from being a `resource` to a `data` provider. When you use the examples suggested in the Terraform Enterprise docs, the Terraform cli shows a deprecation warning and provides an old url to the new data provider docs.

There are some complimentary doc updates in the Terraform Enterprise/Atlas repo.
2017-05-25 14:24:24 -07:00
Matthew Frahry 1dfead7c6e Update opc_compute_instance.html.markdown
Adding fqdn documentation
2017-05-25 15:08:54 -06:00
Chris Johnson 53a1a4b73b Add documentation for metrics 2017-05-25 14:09:46 -04:00
Martin Atkins 0c649fcbb7 website: don't use regexp for sidebar_current in ovh.erb 2017-05-25 10:16:17 -07:00
Martin Atkins f8daafb449 website: correct formatting of gitlab doc preambles 2017-05-25 10:16:02 -07:00
Martin Atkins 539b491deb website: when building, run middleman in verbose mode 2017-05-25 10:15:53 -07:00
Martin Atkins 3cf78809b5 website: don't use regex for sidebar_current, in github.erb 2017-05-25 10:15:43 -07:00
clint shryock 8fd5fd5dab website: fix regex 2017-05-25 10:15:35 -07:00
clint 85e0979c6a
v0.9.6 2017-05-25 15:56:03 +00:00
Elad Efrat 10b7418b01 Fix typo (tesr -> test) (#14825) 2017-05-25 14:52:42 +01:00
Joe Topjian db47721e15 provider/openstack: Enable Security Group Updates (#14815)
* vendor: Updating Gophercloud for OpenStack Provider

* provider/openstack: Enable Security Group Updates

This commit enables security group names and descriptions to
be updated without causing a recreate.
2017-05-25 07:53:26 +01:00
grafjo e6b776fedd Fix gitlab documentation (#14803)
* fix gitlab_project resource documentation

* improve gitlab provider documentation
2017-05-25 07:51:42 +01:00
Stephen Weatherford b6b71df0a1 Doc fixes for managed disks in VMs (#14811) 2017-05-25 07:51:04 +01:00
Ryon 01a673447b Update news section with Google Cloud webinar post-event info (#14816)
* Update news section with April 4 webinar video

* Use YAML data file for news; add webinar registration CTA

* Update news section with Google Cloud webinar post-event info
2017-05-25 07:49:53 +01:00
Joe Topjian 513c922b2f provider/openstack: Updating DNS docs 2017-05-25 05:04:56 +00:00
jrperritt e1c8d760d3 provider/openstack: Add DNS V2 RecordSet resource (#14813)
* vendor gophercloud dns v2 recordset deps

* openstack dns v2 recordset resource

* fix type assertion panic condition

* address pr review feedback
2017-05-24 22:58:44 -06:00
Paddy 63ce0dae98 Merge pull request #12411 from drebes/cloud_router
provider/google: Cloud router resource
2017-05-24 21:36:17 -07:00
Paddy c675b9e3f8 Merge pull request #14643 from hashicorp/pr-8180
provider/google: New Datasource: Google Storage Object Signed URL (supersedes #8180)
2017-05-24 16:46:14 -07:00
clint shryock f583394e6f provider/heroku: document how to import an addon 2017-05-24 14:26:37 -05:00
Samuel El-Borai c5bf7a7c60 fix custom providers snippets (#14806) 2017-05-24 20:11:00 +01:00
Radek Simko 2c3e8e3cfb provider/kubernetes: Add support for Horizontal Pod Autoscaler (#14763) 2017-05-24 17:18:02 +01:00
Sandeep Sidhu 4c6404d012 provider/vsphere: Exposing moid value from vm resource (#14793)
* Exposing moid value from vm resource

moid value is needed by NSX resources, like security tag, when we attached security tags to a VMs, so needed before we commit NSX provider.

* fixing gofmt issue

* Updating docs regarding new exported moid attribute.
2017-05-24 17:08:40 +01:00
Richard Clamp 9e90e77be4 provider/gitlab: Add `gitlab_group` resource (#14490)
* vendor: Update go-gitlab to master@e6c11e

Update go-gitlab to master@e6c11e.  This brings in UpdateGroup in
addition to fuller management of other attributes.

* provider/gitlab:  Add `gitlab_group` resource

This adds a gitlab_group resource.

This combined with #14483 will allow you to create projects in a
group.
2017-05-24 13:01:24 +01:00
Seth Rutner c3a76c99da Update sources.html.markdown (#14594)
* Update sources.html.markdown

Moduels not updating was really annoying, should add this documentation in to increase usability of the feature.

* Update sources.html.markdown
2017-05-24 12:29:56 +01:00
Tom Harvey 8edaa883fb Merge pull request #14789 from tombuildsstuff/website-fixes
Docs: Fixing typo's
2017-05-24 11:58:08 +01:00
Richard Clamp 395f1d5bbf provider/gitlab: add `gitlab_deploy_key` (#14734)
* provider/gitlab: add `gitlab_deploy_key`

Here we extend the gitlab provider further by adding a `gitlab_deploy_key`
resource.  This resource allows management of a projects deploy
keys.

* provider/gitlab: Do not test `gitlab_deploy_key` `can_push`

Here we remove the testing of the `can_push` attribute.  This makes the
tests less comprehensive, but will allow them to work with the current
release of gitlab-ce.

This change is staged as a distinct commit so it can be easily
dropped/reverted once gitlab MR !11607 has reached a released state.

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11607

* provider/gitlab: Update docs for gitlab_deploy_key/can_push

Note that the can_push attribute of gitlab_deploy_key doesn't currently
work.  This note can be removed once
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11607 is merged
and in general circulation.
2017-05-24 11:41:40 +01:00
Paul Stack a0ebed8fe2 provider/azurerm: Fix example on azurerm_sql_elasticpool (#14788)
Fixes: #14785
2017-05-24 11:39:48 +01:00
Paul Stack be58c809b6 provider/aws: Add support for X-Ray tracing to aws_lambda_function (#14728)
Fixes: #13801
2017-05-24 11:37:04 +01:00
tombuildsstuff 3242b3c063 Fixing some minor typo's in the docs 2017-05-24 11:31:52 +01:00
Raphael Randschau b52bf2c887 provider/scaleway: clarify scaleway_server volume attribute (#14772)
system volumes on scaleway can't easily be modified - instead one has to create
a new image with the desired system volume size. This is way out of scope of
terraform - see https://community.online.net/t/expanding-lssd/907/2 for steps on
how to build a new image.

the `scaleway_server` `volume` attribute should only be used if you want to
attach additional volumes to a server which will share the lifetime of the
server, e.g. they will be destroyed once the server is shut down.

To have volumes which outlive the attached server one should use
`scaleway_volume` and `scaleway_volume_attachement` instead.
2017-05-24 11:31:27 +01:00
Paul Stack 88d9254661 provider/aws: Add ability to define timeouts for DMS replication instance (#14729)
Fixes: #13996
2017-05-23 19:31:26 +01:00
Martin Atkins 410b60cb7f Stop requiring multi-vars (splats) to be in array brackets
Prior to Terraform 0.7, lists in Terraform were just a shallow abstraction
on top of strings with a magic delimiter between items. Wrapping a single
string in brackets in the configuration was Terraform's prompt that it
needed to split the string on that delimiter during interpolation.

In 0.7, when first-class lists were added, this convention was preserved
by flattening lists-of-lists by one level when they were encountered in
configuration. However, there was an oversight in that change where it
did not correctly handle the case where the inner list was unknown.

In #14135 we removed some code that was flattening partially-unknown lists
into fully-unknown (untyped) values. This inadvertently exposed the missed
case from the previous paragraph, causing issues for list-wrapped splat
expressions with unknown members. While this worked fine for resources,
due to some fixup done inside helper/schema, this did not work for other
interpolation contexts such as module blocks.

Various attempts to fix this up and restore the flattening behavior
selectively were unsuccessful, due to a proliferation of assumptions all
over the core code that would be too risky to change just to fix this bug.

This change, then, takes the different approach of removing the
requirement that splats be presented inside list brackets. This
requirement didn't make much sense anymore anyway, since no other
list-returning expression had this constraint and so the rest of Terraform
was already successfully dealing with both cases.

This leaves us with two different scenarios:

- For resource arguments, existing normalization code in helper/schema
  does its own flattening that preserves compatibility with the common
  practice of using bracketed splats. This change proves this with a test
  within the "test" provider that exercises the whole Terraform core and
  helper/schema stack that assigns bracketed splats to list and set
  attributes.

- For arguments in other blocks, such as in module callsites, the
  interpolator's own flattening behavior applies to known lists,
  preserving compatibility with configurations from before
  partially-computed splats were possible, but those wishing to use
  partially-computed splats are required to drop the surrounding brackets.
  This is less concerning because this scenario was introduced only in
  0.9.5, so the scope for breakage is limited to those who adopted this
  new feature quickly after upgrading.

As of this commit, the recommendation is to stop using brackets around
splats but the old form continues to be supported for backward
compatibility. In a future _major_ version of Terraform we will probably
phase out this legacy form to improve consistency, but for now both
forms are acceptable at the expense of some (pre-existing) weird behavior
when _actual_ lists-of-lists are used.

This addresses #14521 by officially adopting the suggested workaround of
dropping the brackets around the splat. However, it doesn't yet allow
passing of a partially-unknown list between modules: that still violates
assumptions in Terraform's core, so for the moment partially-unknown lists
work only within a _single_ interpolation expression, and cannot be
passed around between expressions. Until more holistic work is done to
improve Terraform's type handling, passing a partially-unknown splat
through to a module will result in a fully-unknown list emerging on
the other side, just as was the case before #14135; this change just
addresses the fact that this was failing with an error in 0.9.5.
2017-05-23 11:22:37 -07:00
Seth Rutner 2037c1eebf Update bitbucket.html.md (#14761)
You left the test domain in the docs :P
2017-05-23 19:04:39 +01:00
Dana Hoffman 3df593315f provider/google: add failover parameter to sql database instance (#14336)
* provider/google: add failover parameter to sql database instance

* provider/google: update sql database instance docs
2017-05-22 13:44:25 -07:00
Riley Karson 56f89e20d7 provider/google: Add import support to google_sql_user (#14457)
* Support importing google_sql_user

* Updated documentation to reflect that passwords are not retrieved.

* Added additional documentation detailing use.

* Removed unneeded d.setId() line from GoogleSqlUser Read method.

* Changed an errors.New() call to fmt.Errorf().

* Migrate schemas of existing GoogleSqlUser resources.

* Remove explicitly setting 'id' property

* Added google_sql_user to importability page.

* Changed separator to '/' from '.' and updated tests + debug messages.
2017-05-22 13:43:10 -07:00
Joe Topjian a8bf3d8ab0 Merge pull request #14721 from jtopjian/os-dns
provider/openstack: Add openstack_dns_zone_v2 resource
2017-05-22 09:27:28 -06:00
Kit Ewbank 8e130b15e4 Add 'aws_kms_ciphertext' data source. (#14691) 2017-05-22 16:46:18 +03:00
Raphaël Pinson e7bfdea274 Add github_team data source (#14614)
* Add github_team data source

* github_team: add doc

* github_team data source: fix acceptance test
2017-05-22 16:29:18 +03:00
Januar cf8568fe55 provider/docker network alias (#14710)
* Add Network Alias configuration with network options

* Handle case where there's no network option

* Handle use case where network option is not available

* Handle use case where network option is not available

* Network alias only on user defined network

* Update documentation for docker provider on network aliases

* Remove unused variable

* Update documentation

* add unit test for docker container network

* fix unit test for docker container network
2017-05-22 09:20:32 -04:00
jasminSPC bca159160e Added missing dependencies 2017-05-22 12:02:32 +02:00
Radek Simko c0d5411751 docs/community: Fix Radek's bio (#14706) 2017-05-22 09:51:09 +02:00
Will May 4b85d0c290 Remove duplicate 'no-color' entry from `refresh` command documentation (#14716) 2017-05-22 09:35:35 +02:00
Radek Simko 600e587430 provider/aws: Configurable timeouts for EC2 instance + spot instance (#14711) 2017-05-22 09:27:06 +02:00
Joe Topjian e0b5f4f833 provider/openstack: dns zone v2 updates and docs 2017-05-22 01:44:11 +00:00
Sander van Harmelen 0e422737ba Fix and refactor the Chef provisioner
The tests did pass, but that was because they only tested part of the changes. By using the `schema.TestResourceDataRaw` function the schema and config are better tested and so they pointed out a problem with the schema of the Chef provisioner.

The `Elem` fields did not have a `*schema.Schema` but a `schema.Schema` and in an `Elem` schema only the `Type` field may (and must) be set. Any other fields like `Optional` are not allowed here.

Next to fixing that problem I also did a little refactoring and cleaning up. Mainly making the `ProvisionerS` private (`provisioner`) and removing the deprecated fields.
2017-05-19 21:05:21 +02:00
Kit Ewbank ca898d8d19 Add ability to 'terraform import' aws_kms_alias resources. 2017-05-19 14:35:54 -04:00
Jake Champlin 7c6e19689f Merge pull request #14629 from pradeepbhadani/pow
Add note in documentation for pow function
2017-05-19 09:15:39 -04:00
Pradeep Bhadani 9b3e43016e Remove extra space 2017-05-19 14:01:54 +01:00
Pradeep Bhadani d316205cf5 Remove extra line 2017-05-19 08:05:18 +00:00
Jake Champlin fcdf494cff Merge pull request #14646 from hashicorp/f-update-route-table-docs-note
docs/aws: add note for aws_route_table resource
2017-05-18 17:29:32 -04:00
Jake Champlin b38210c597
docs/aws: add note for aws_route_table resource 2017-05-18 17:12:11 -04:00
Matt Robenolt 27927ddc2c provider/google: Add support for privateIpGoogleAccess on subnetworks (#14234) 2017-05-18 13:35:02 -07:00
clint shryock a8c2828b63 provider/google: Update docs to match new default value 2017-05-18 15:10:52 -05:00
Paddy e7dcf95fa1 Merge pull request #14644 from hashicorp/paddy_gcp_remove_project_services_docs
provider/google: remove deleted services field.
2017-05-18 12:55:20 -07:00
clint shryock aae44290cd merge master 2017-05-18 13:56:55 -05:00
Ryon adfa7aedfb Update news section with YAML data file (#14612)
* Update news section with April 4 webinar video

* Use YAML data file for news; add webinar registration CTA
2017-05-18 18:49:52 +03:00
Radek Simko 740c92fc67 provider/aws: Support filtering in ASG data source (#14501) 2017-05-18 17:40:49 +02:00
Pradeep Bhadani c35d2325ef Update pow function description 2017-05-18 15:23:12 +00:00
Jason eac7ade310 Fixed export to be master_username from username
rds cluster exports the variable for "username" as master_username, not username.
2017-05-18 10:17:48 -05:00
Jake Champlin 5e7035bf89 Merge pull request #14598 from pradeepbhadani/pow
Add power function
2017-05-18 11:12:33 -04:00
Pradeep Bhadani faa480894f Add note in documentation for pow function 2017-05-18 15:03:13 +00:00
Jake Champlin 3f10116c6b Merge pull request #14563 from raphink/rancher_member
rancher_environment: add member support
2017-05-18 09:54:40 -04:00
Raphaël Pinson d0e5ee0a27
rancher_environment: member documentation details 2017-05-18 15:22:48 +02:00
Eugene Chuvyrov 5884d518e7 [MS] Adding support for VMSS Data Disks using Managed Disk feature (#14608)
* Added support for data disks with managed disks feature

* Updated docs with VMSS Data Disks changes
2017-05-18 14:30:19 +03:00
Yorgos Saslis 5efe3ad6b3 Update supported AWS regions (#14621)
According to an AWS announcement from yesterday: 
https://aws.amazon.com/about-aws/whats-new/2017/05/amazon-lightsail-now-available-in-5-additional-europe-us-aws-regions/
2017-05-18 14:10:37 +03:00
mosuke5 19d3355ca6 Update Example Usage (#14606)
Delete an unnecessary option `commodity_code `.
2017-05-18 13:00:15 +03:00
Paddy 51dd79fdf1 provider/google: remove deleted services field.
We removed the services field from the `google_project` resource, but it
lingered in the docs. This removes those out of date references to it.
2017-05-17 23:24:42 -07:00
Pradeep Bhadani 47b1aaea3a Add pow function 2017-05-17 21:46:33 +00:00
Caio Filipini a565001014 provider/digitalocean: Add documentation for Certificate resource 2017-05-17 21:20:25 +02: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
Jake Champlin c56cccab48 Merge pull request #14570 from raphink/github_user
GitHub user
2017-05-17 11:33:48 -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 65d47774f2 provider/kubernetes: Add support for Service (#14554) 2017-05-17 14:43:53 +02: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
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
Raphaël Pinson 01e9011231
rancher_environment: member doc 2017-05-17 10:30:16 +02:00
Kit Ewbank 2ed7297fa3 Add 'aws_default_vpc' resource. 2017-05-16 20:15:40 -04: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
Bobby DeVeaux 9d79fdd789 Merge branch 'master' into master 2017-05-16 18:27:26 +01: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 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 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
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
Bill Wang 00df2f1498 fix the metric bound in sample
The author made this mistake at the beginning. With the original sample, you can't create `aws_appautoscaling_policy` properly. No threshold data in it. It is hard to troubleshoot this issue because there is no error to run the sample with `metric_interval_lower_bound = 0'
2017-05-16 22:58:53 +10:00
Stephen Weatherford b65df9b5ac [MS] 14058 single placement group tf (#14510)
* Add single_placement_group to VMSS

* Add test, plus fixes

* Fix tests
2017-05-16 11:46:07 +03:00
Kit Ewbank 36888278b5 Add 'aws_default_vpc_dhcp_options' resource. (#14475) 2017-05-16 11:44:23 +03:00
Kit Ewbank 534dca00b2 Add 'aws_default_subnet' resource. (#14476) 2017-05-16 11:40:56 +03:00
Sergiusz Urbaniak 399830f1b7 providers/aws: add tags for resource_aws_autoscaling_group (#13574)
The existing "tag" field on autoscaling groups is very limited in that it
cannot be used in conjunction with interpolation preventing from adding
dynamic tag entries.

Other AWS resources don't have this restriction on tags because they work
directly on the map type.

AWS autoscaling groups on the other hand have an additional field
"propagate_at_launch" which is not usable with a pure map type.

This fixes it by introducing an additional field called "tags" which
allows specifying a list of maps. This preserves the possibility to
declare tags as with the "tag" field but additionally allows to
construct lists of maps using interpolation syntax.
2017-05-16 10:39:41 +02:00
Paul Stack 2276e981ee provider/aws: Add new aws_db_snapshot data source (#10291)
* provider/aws: Add ability to create AWS DB Snapshots

* provider/aws: Add AWS DB Snapshot resource acceptance tests

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSDBSnapshot_
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/11/22 18:24:05 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSDBSnapshot_ -timeout 120m
=== RUN   TestAccAWSDBSnapshot_basic
--- PASS: TestAccAWSDBSnapshot_basic (892.75s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	892.773s
```

* provider/aws: Add new aws_db_snapshot data source

* docs/aws: Add documentation for aws_db_snapshot resource

* provider/aws: Add datasource for aws_db_snapshot acceptance tests

```
% make testacc TEST=./builtin/providers/aws
% TESTARGS='-run=TestAccAWSDbSnapshotDataSource_'     2 ↵ ✭
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/11/22 18:55:08 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v
-run=TestAccAWSDbSnapshotDataSource_ -timeout 120m
=== RUN   TestAccAWSDbSnapshotDataSource_basic
--- PASS: TestAccAWSDbSnapshotDataSource_basic (966.68s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/aws966.699s
```

* docs/aws: Adding documentation for aws_db_snapshot datasource
2017-05-15 20:17:26 +03:00
Jake Champlin 5a3cf7c89e Merge pull request #14473 from realflash/master
Document AWS IPv6 address access
2017-05-15 09:33:06 -04:00
Jake Champlin ef4914e300 Merge pull request #14492 from hashicorp/f-update-dynamodb-docs
provider/aws: Update documentation for dynamodb
2017-05-15 08:45:08 -04:00
Patrick Decat d27c511689 Typo: resotred => restored (#14494) 2017-05-15 14:35:18 +02:00
Jake Champlin ccd001f426
provider/aws: fix documentation for dynamodb 2017-05-15 08:31:43 -04:00
Jake Champlin c9044365bd
provider/aws: Update documentation for dynamodb 2017-05-15 08:17:49 -04:00
Aleksejs Sinicins 0e0c61bbd8 Fix typo in ignition documentation (#14469) 2017-05-15 13:08:24 +03:00
Joe Topjian 0d930618ad Merge pull request #14307 from takaishi/support-to-create-seccgorup-rule-with-protocol-name
provider/openstack: Add to support protocols for resourceNetworkingSecGroupRuleV2
2017-05-14 22:33:30 -06:00
Ian Gibbs a4784e4d2a Document the data attribute that allows you to get at an instance's IPv6 address(es) 2017-05-14 21:42:18 +01:00
Jay Wang 6ca50dd81d [MS] provider/azurerm: New resource - Express Route Circuit (#14265)
* Adds ExpressRoute circuit documentation

* Adds tests and doc improvements

* Code for basic Express Route Circuit support

* Use the built-in validation helper

* Added ignoreCaseDiffSuppressFunc to a few fields

* Added more information to docs

* Touchup

* Moving SKU properties into a set.

* Updates doc

* A bit more tweaks

* Switch to Sprintf for test string

* Updating the acceptance test name for consistency
2017-05-14 19:30:14 +01:00
r_takaishi 7ec662b243 provider/openstack: Add to support protocols for resourceNetworkingSecGroupRuleV2 2017-05-14 20:59:18 +09:00
Yusuke Goto 3b14fc90d9 provider/aws: AWS WAF Regional IPSet + ByteMatchSet support (#13705)
* provider/aws: AWS WAF Regional ByteMatchSet support

* providor/aws: AWS WAF Regional IPSet support

* fix typo

* Nested ByteMatchTuples of WAF Regional support

* fix name byte_match_tuple singular WAF Regional

* update wafregional_byte_match_set doc

* fix wafregional ipset to look descriptor

* Add wafregional_byte_match_set test

* fix wafregional_ipset_descriptor to be singular

* fix newWafRegionalRetryer to receive region

* fix updateSetWR argument

* fix wafregional_ipset_descriptor doc

* Separate out logic into flatteners

* Fix failing test
2017-05-13 22:01:27 +02:00
Roman Laguta cb590e516d Added new evaluation_delay parameter (#14433)
* Added new evaluation_delay field

Added new evaluation_delay parameter to pass it through the datadog monitor api

* Changed tests for new evaluation_delay field

* changed documentation
2017-05-12 16:12:21 +03:00
Sertaç Özercan e0cd380814 [MS] provider/azurerm: Virtual Machine Scale Sets with managed disk support (#13717)
* added vmss with managed disk support

* Update vmss docs

* update vmss test

* added vmss managed disk import test

* update vmss tests

* remove unused test resources

* reverting breaking changes on storage_os_disk and storage_image_reference

* updated vmss tests and documentation

* updated vmss flatten osdisk

* updated vmss resource and import test

* update name in vmss osdisk

* update vmss test to include a blank name

* update vmss test to include a blank name
2017-05-12 15:58:00 +03:00
Joe Topjian a27e142625 provider/openstack: Add documentation about user_data (#14411) 2017-05-12 13:36:01 +03:00
Seth Vargo 5c39f5b2d2 Embed webinar video (#14419) 2017-05-12 13:32:43 +03:00
PaulAtkins deda15ace0 Correct argument description for targets (#14428)
Correct `targets` argument description to show the allowed keys are `InstanceIds` or `WindowTargetIds`
2017-05-12 13:32:11 +03:00
Andy Chan 5449e7731f Adding the missed Timeout related documentation (#14410) 2017-05-11 22:37:54 +03:00
Seth Vargo 510733ffd3 Merge pull request #14292 from duplich/patch-1
Update _global.scss
2017-05-11 14:49:37 -04:00
Seth Vargo 5f35f0d19f Restrict to just pre-breakpoint 2017-05-11 14:43:58 -04:00
Radek Simko 68aebee1e5 provider/aws: Fix Content-Encoding for S3 object acc test (#14400) 2017-05-11 18:35:50 +02:00
vrenjith fae2bf98e6 Spaces are not allowed in name
Spaces are not allowed in name for `azurerm_lb_probe`
2017-05-11 20:48:11 +05:30
Daniel Schierbeck e252640a94 Add a `url` attribute to `google_storage_bucket` (#14393)
* Add a `url` attribute to `google_storage_bucket`

* Document the `url` attribute
2017-05-11 15:30:06 +03:00
stack72 6063898e06
Merge branch 'master' of github.com:hashicorp/terraform 2017-05-11 14:56:01 +03:00
stack72 dc00c6bc09
provider/aws: Add AWS devicefarm docs to AWS navbar 2017-05-11 14:53:49 +03:00
stack72 4942c4d44d
Merge branch 'feat/device-farm-integration' of https://github.com/DanielMSchmidt/terraform into DanielMSchmidt-feat/device-farm-integration 2017-05-11 14:39:30 +03:00
Gerben Jacobs 2178981b44 update docs for `rundeck_job` resource
Change-Id: Id40ae356eaaedf9656b7e38d96d8eb292c9d2cea
2017-05-11 14:30:21 +03:00
tombuildsstuff 21af9995e9 Fixing some broken links 2017-05-11 13:55:29 +03:00
vrenjith c3db6d02d7 Update for storage_os_disk description (#14376)
Changed data to os in the storage_os_disk description
2017-05-11 11:10:09 +01:00
stack72 a59ee0b30e
v0.9.5 2017-05-11 09:22:11 +00:00
Paddy 25ed7cc6c0 Merge pull request #14280 from hashicorp/paddy_container_versions
providers/google: add google_container_versions data source.
2017-05-10 15:50:16 -07:00
Paddy de93082375 More doc updates container => container engine. 2017-05-10 15:41:02 -07:00
Paddy 1709ea4414 google_container_versions => google_container_engine_versions
As per feedback from @danawillow and @radeksimko.
2017-05-10 15:01:15 -07:00
Clint 24e00af217 provider/aws: Force lowercasing for DB Option group name or name_prefix (#14366) 2017-05-10 15:42:10 -05:00
Alexander 9517d80a35 provider/google: BigQuery Table (#13743)
* Add resource

* Add tests

* Add documentation

* Fix invalid comment

* Remove MinItems

* Add newline

* Store expected ID and format

* Add import note

* expiration_time can be computed if dataset has an expiration_time set

* Handle 404 using new check function
2017-05-10 10:20:39 -07:00
clint shryock 3063fa9947 provider/aws: Update documentation example to meet validation 2017-05-10 09:00:14 -05:00
Stephen Coe c83ee17590 correction for capability values (#14349) 2017-05-10 14:44:13 +02:00
liz abinante! 35fc047b69 Merge pull request #14228 from hashicorp/liz/vagrant-cloud-migration-docs
website: copy vagrant cloud docs
2017-05-09 11:34:24 -07:00
Paul Stack c4aaddde1a provider/aws: Update aws_elasticache_replication_group documentation 2017-05-09 20:37:28 +03:00
Derrick Petzold 55a4ce2838 Feature request: Support for ElastiCache Redis cluster mode #9419
Added support for provisioning a native redis cluster elasticache replication group.
A new TypeSet attribute `cluster_mode` has been added. It requires the following
fields:

  - `replicas_per_node_group` - The number of replica nodes in each node group
  - `num_node_groups` - The number of node groups for this Redis replication group

Notes:

  - `automatic_failover_enabled` must be set to true.
  - `number_cache_clusters` is now a optional and computed field. If `cluster_mode` is set
    its value will be computed as:
 	  ```num_node_groups + num_node_groups * replicas_per_node_group```

Below is a sample config:

  resource "aws_elasticache_replication_group" "bar" {
      replication_group_id = "tf-redis-cluser"
      replication_group_description = "test description"
      node_type = "cache.t2.micro"
      port = 6379
      parameter_group_name = "default.redis3.2.cluster.on"
      automatic_failover_enabled = true
      cluster_mode {
          replicas_per_node_group = 1
          num_node_groups = 2
      }
  }
2017-05-09 20:37:28 +03:00
liz abinante de3e6ad416 website: copy vagrant cloud docs 2017-05-09 10:24:56 -07:00
Paul Stack 9dd4e5bcb0 provider/aws: Add support for targets to aws_ssm_association (#14246)
* provider/aws: Add support for targets to aws_ssm_association

Fixes: #13975

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSSSMAssociation_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/05/05 20:32:43 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSSSMAssociation_ -timeout 120m
=== RUN   TestAccAWSSSMAssociation_basic
--- PASS: TestAccAWSSSMAssociation_basic (139.13s)
=== RUN   TestAccAWSSSMAssociation_withTargets
--- PASS: TestAccAWSSSMAssociation_withTargets (33.19s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	172.343s
```

* Update ssm_association.html.markdown
2017-05-09 17:48:57 +03:00
Dana Hoffman 1438eacdad provider/google: better visibility for compute_region_backend_service (#14301) 2017-05-09 13:10:14 +03:00
stack72 880071ded5
Merge branch 'ses-arn' of https://github.com/joshuaspence/terraform into joshuaspence-ses-arn 2017-05-09 13:04:27 +03:00
Daniel Schmidt 6a7e81d8ae provider/aws: add devicefarm project resource 2017-05-09 09:48:44 +02:00
Joshua Spence f488e385f2 Add `arn` attribute to `aws_ses_domain_identity` resource 2017-05-09 17:14:51 +10:00
Radek Simko 178488f4bd provider/kubernetes: Add support for limit_range (#14285) 2017-05-09 05:07:17 +02:00
Dmitrii Korotovskii ace0456d58 http provider and http request data source 2017-05-08 17:37:48 -07:00
emily 64c2e68de9 Add additional properties for google resource storage bucket object. (#14259) 2017-05-08 16:35:47 -07:00
Jasmin Causevic 09cdd7abff Update _global.scss
Fixing broken layout aka responsive layout for startpage
2017-05-08 19:53:49 +02:00
Radek Simko 296a3b2381 provider/kubernetes: Add support for resource_quota (#13914) 2017-05-08 13:43:24 +02:00
Paul Stack 221a88610b provider/aws: Add support for importing Kinesis Streams (#14278)
Fixes: #14260

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSKinesisStream_import'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/05/08 10:32:47 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSKinesisStream_import -timeout 120m
=== RUN   TestAccAWSKinesisStream_importBasic
--- PASS: TestAccAWSKinesisStream_importBasic (101.93s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	101.978s
```
2017-05-08 14:11:23 +03:00
Paddy 8b78d5b233 providers/google: add google_container_versions data source.
Add a data source for listing available versions for Container Engine
clusters or retrieving the latest available version.

This is mostly to support our tests for specifying a version for cluster
creation; the withVersion test has been updated to use the data source,
meaning it will stop failing on us as new versions get released.
2017-05-08 00:38:11 -07:00
Russ Van Bert e88ca0b744 Grammar correction in alarm description (#14276) 2017-05-08 09:35:59 +03:00
Seth Vargo 83f29a3456
Add more complete Read example 2017-05-05 17:36:30 -04:00
Seth Vargo 1cffbbb323
Update feedback 2017-05-05 17:13:32 -04:00
Seth Vargo 0acb57f464
Add guide for Terraform providers 2017-05-05 17:13:31 -04:00
Seth Vargo c70cc706ee
Add scaffolding for guides 2017-05-05 17:13:31 -04:00
trotttrotttrott 4170fe9e33 Replace "All Providers" link text w/ "All Commands"
This was probably a c/p mistake when this page was first created. The
src is rightly pointed back to the commands index, not resources.
2017-05-05 13:51:15 -07:00
Jake Champlin 88c6e95e4f Merge pull request #14245 from hashicorp/f-add-arn-security-group-data-source
provider/aws: Add ARN to security group data source
2017-05-05 15:12:34 -04:00
Jake Champlin 06b5fbf9ef
add docs 2017-05-05 13:58:15 -04:00
liz abinante! 081e72f9f8 Merge pull request #14185 from hashicorp/liz/tfe-variables
[website] docs for TFE personal env + org variables
2017-05-05 10:38:00 -07:00
Glen Mailer 4ac56338de Improve tests and documentation for azurerm_template_deployment outputs (#13567)
* Improve tests and documentation for azurerm_template_deployment outputs

* Updating to match the latest changes in master
2017-05-05 17:51:59 +01:00
Eugene Bekker 7c6d1956b0 website: too many '$' after first round of interpolation for template_file 2017-05-05 09:42:40 -07:00
Dennis Webb e27e0862f3 Fixes order of interpolation functions in docs (#14241) 2017-05-05 17:24:03 +03:00
stack72 827a541b08
Removing contributor comment from CHANGELOG as it was in the wrong section 2017-05-05 17:14:53 +03:00
stack72 2b606101e7
Merge branch 'dasch-dasch/google-pubsub-subscription-path' 2017-05-05 16:58:50 +03:00
stack72 8d00895d96
proovider/google: Adding test for google_pubsub_subscription path 2017-05-05 16:57:24 +03:00
Jake Champlin 9e221f3811 Merge pull request #12872 from joshuaspence/log
Add a logarithm function
2017-05-05 09:56:33 -04:00
Thomas Poindessous 87055fa47a Added missing datasources and resources in panel list (#14235)
Corrected some HTML errors
2017-05-05 15:40:53 +03:00
Thomas Poindessous f1cd2e3954 Added a missing resource in panel (#14236) 2017-05-05 15:39:20 +03:00
Roberto Jung Drebes 50f8b9407e Merge branch 'master' into cloud_router 2017-05-05 11:43:41 +02:00
Joshua Spence 38d4d2f9d4 Add a logarithm function
Fixes #9498. Adds a `log` function for calculating logarithms.
2017-05-05 17:06:53 +10:00
Paul Thrasher 26a91abd0c website: Add code coloring to aws_security_group doc 2017-05-04 17:07:57 -07:00
Paul Stack 3bb4c56165 provider/aws: Prevent Crash when importing aws_route53_record (#14218)
Fixes: #14217

We now check to make sure that we have the correct number of parts when
we have split the resource ID. It isn't an elegant fix but it works as
expected. Also added some more documentation about what is required to
actually construct the Id needed for import
2017-05-04 21:51:10 +03:00
Paul Stack 046bb0e1c3 provider/aws: Support run_command_parameters in aws_cloudwatch_event_target (#14067)
```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSCloudWatchEventTarget_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/29 11:00:09 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSCloudWatchEventTarget_ -timeout 120m
=== RUN   TestAccAWSCloudWatchEventTarget_basic
--- PASS: TestAccAWSCloudWatchEventTarget_basic (58.75s)
=== RUN   TestAccAWSCloudWatchEventTarget_missingTargetId
--- PASS: TestAccAWSCloudWatchEventTarget_missingTargetId (36.11s)
=== RUN   TestAccAWSCloudWatchEventTarget_full
--- PASS: TestAccAWSCloudWatchEventTarget_full (90.30s)
=== RUN   TestAccAWSCloudWatchEventTarget_ssmDocument
--- PASS: TestAccAWSCloudWatchEventTarget_ssmDocument (38.64s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	223.833s
```
2017-05-04 20:46:11 +03:00
Paul Stack e18f8df845 provider/aws: Add support for aws_ssm_maintenance_window (#14087)
* provider/aws: Add support for aws_ssm_maintenance_window

Fixes: #14027

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSSSMMaintenanceWindow_basic'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/29 13:38:19 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSSSMMaintenanceWindow_basic -timeout 120m
=== RUN   TestAccAWSSSMMaintenanceWindow_basic
--- PASS: TestAccAWSSSMMaintenanceWindow_basic (51.69s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	51.711s
```

* provider/aws: Add documentation for aws_ssm_maintenance_window

* provider/aws: Add support for aws_ssm_maintenance_window_target

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSSSMMaintenanceWindowTarget'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/29 16:38:22 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSSSMMaintenanceWindowTarget -timeout 120m
=== RUN   TestAccAWSSSMMaintenanceWindowTarget_basic
--- PASS: TestAccAWSSSMMaintenanceWindowTarget_basic (34.68s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	34.701s
```

* provider/aws: Adding the documentation for aws_ssm_maintenance_window_target

* provider/aws: Add support for aws_ssm_maintenance_window_task

* provider/aws: Documentation for aws_ssm_maintenance_window_task
2017-05-04 20:36:28 +03:00
stack72 93b838fb14
Merge branch 'feature/gitlab_project_hook' of https://github.com/richardc/terraform into richardc-feature/gitlab_project_hook 2017-05-04 19:56:10 +03:00
liz abinante f3057029d5 website: clarify 👓 env variable hierarchy 2017-05-04 09:51:00 -07:00
Masayuki Morita 410fdad2cb provider/aws: Add support description to aws_iam_role
Fixes #14198
2017-05-04 23:11:20 +09:00
Phil Clay 03c7cfb799 Fix docs for openstack lbaas v2 resource types. (#14196)
The documentation title/sidbar incorrectly referred to resource types `openstack_lbass_*` when the actual names are `openstack_lb_*`.
2017-05-04 09:19:09 +01:00
Payam Hekmat 3556004501 Add dockercfg example to Kubernetes secret (#14151) 2017-05-04 09:14:23 +01:00
Matthew Frahry bcf1514422 Merge pull request #14090 from hashicorp/p-aws-config-config-source-detail
provider/aws Added default to event source
2017-05-03 18:36:02 -06:00
Paul Thrasher 9ad1425cf8 Merge pull request #14192 from hashicorp/thrashr888/aws_db_option_group-name-lowercase
provider/aws: aws_db_option_group normalizes name to lowercase
2017-05-03 17:00:16 -07:00
Paul Thrasher ccae9372e5 provider/aws: aws_db_option_group normalizes name to lowercase
This is a fix for PR #11040. The code here lowercases the name and/or prefix before sending it to the AWS API and the terraform state. This means the state will match the actual resource name and be able to converge the diff.
2017-05-03 16:50:40 -07:00
Paddy 8e69d75936 Merge branch 'master' into cloud_router 2017-05-03 16:00:13 -07:00
Paddy 7a73c21c11 Merge pull request #13824 from JDiPierro/import_google_dns_managed_zone
Importability for Google DNS Managed Zone
2017-05-03 15:54:43 -07:00
Paddy dc63d8c42b Merge pull request #12482 from tpoindessous/gcp_compute_disk_snapshot
provider/google : add a new resource : google_compute_snapshot
2017-05-03 15:47:07 -07:00
Paddy c043f1185c Merge pull request #14163 from hashicorp/paddy_14152_sfr_tenancy
provider/aws: support tenancy for spot fleets
2017-05-03 13:53:45 -07:00
Paddy 5341d575ba Add example of placement to sfr docs.
Add an example usage of the placement_tenancy field to spot fleet
request docs.
2017-05-03 13:43:58 -07:00
liz abinante 868530b967 website: add personal org variable docs for TFE 2017-05-03 13:09:49 -07:00
Roberto Jung Drebes 4dddca3ace wip: review changes:
- config.clientCompute.Routers
- peer fields renamed
- more consistent logging
- better handling of SetId for error handling
- function for router locks
- test configs as functions
- simplify exists logic
- use getProject, getRegion logic on acceptance tests
- CheckDestroy for peers an interfaces
- dynamic router name for tunnel test
- extra fields for BgpPeer
- resource documentation
2017-05-03 21:22:33 +02:00
liz abinante ca49b098f5 website: new docs for personal environment variables in TFE 2017-05-03 09:37:57 -07:00
Richard Clamp dcbe8a4736 provider/gitlab: add gitlab_project_hook resource
Here we add a new resource type `gitlab_project_hook`.  It allows for
management of custom hooks for a gitlab project.

This is a relatively simple resource as a project hook is a simple
association between a project, and a url to hit when one of the flagged
events occurs on that project.

Hooks (called Webhooks in some user documentation, but simply Hooks
in the api documentation) are covered here for users
https://docs.gitlab.com/ce/user/project/integrations/webhooks.html and
in the API documentation at
https://docs.gitlab.com/ce/api/projects.html#hooks
2017-05-03 11:51:53 +01:00
Tom Harvey 3383222667 Merge pull request #13670 from StephenWeatherford/dev/stephweatherford/9694
[MS] Fix crash #7353, and support bool and int outputs
2017-05-03 08:06:31 +01:00
Tom Harvey 5a2aecd1e1 Merge pull request #14099 from dominik-lekse/public-feature/azurerm-sql-elasticpool
provider/azurerm: Add resource azurerm_sql_elasticpool
2017-05-03 06:29:24 +01:00
Tom Harvey 01ad95c3c2 Fixing a typo `creation_data` -> `creation_date` 2017-05-03 06:04:09 +01:00
Martins Sipenko c7fb9808ef config: sha512 hash functions (#14100) 2017-05-02 16:35:23 -07:00
Chris Broglie 23f4e9fe08 website: Add missing aws_ prefix to aws_kinesis_stream data source 2017-05-02 16:33:13 -07:00
liz abinante 0d10d89ea6 update website readme to note 🐳 docker requirement 2017-05-02 15:03:11 -07:00
Christoph Tavan 266865d75a
provider/google: Fix config key in compute_url_map docs 2017-05-02 23:18:42 +02:00
Christoph Tavan 7ecc515704
provider/google: Document backend buckets for compute_url_map
The current google_compute_url_map resource already supports backend
buckets out of the box: Just pass the self_link of the backend buckets
as you would pass the self_link of a backend service.

This adds some example code as well.
2017-05-02 23:18:41 +02:00
Christoph Tavan c853d91203
provider/google: Remove unsupported region from compute_url_map docs
When trying to run the example code with the most recent terraform
master you get the following errors:

```
2 error(s) occurred:

* google_compute_backend_service.home: "region": [REMOVED] region has been removed as it was never used
* google_compute_backend_service.login: "region": [REMOVED] region has been removed as it was never used
```

Hence remove it from the documentation.
2017-05-02 23:18:40 +02:00
Christoph Tavan 9b9144ba95
provider/google: Add support for backend buckets
Adds a new resource google_compute_backend_bucket according to
https://cloud.google.com/compute/docs/reference/latest/backendBuckets

Fixes hashicorp/terraform#12505
2017-05-02 23:18:40 +02:00
Martin Atkins ac1127060d website: suggest Stack Exchange sites as a place to ask questions
There's a pre-existing Terraform presence on both Server Fault and
Stack Overflow that seem to be generating good questions and answers, so
here we'll try to send users to the right sites to ask questions and
encourage them to be good participants in those communities.
2017-05-02 09:33:22 -07:00
Adam Wright a401aee923 Make `wait_for_ready_timeout` default match code (#14149)
The `wait_for_ready_timeout` timeout was listed as 10m, but
cd79471ecb altered reality to be 20m. The
documentation should match the code.
2017-05-02 16:01:03 +01:00
Tom Elliff 551eedcf26 Document the data source interpolation usage (#14144)
* Document the data source interpolation usage

Also briefly mentions how to use counts and splat syntax as with resources to further document the usage of counts for data sources (see https://github.com/hashicorp/terraform/pull/14143).

* Output -> Attribute

As per feedback.
2017-05-02 15:17:24 +01:00
Tom Elliff 64cd64d061 Document that data sources support meta parameters such as count (#14143)
Also fix the bad interpolation in the subnet_ids example.
2017-05-02 15:05:50 +01:00
Tom Harvey c3b89954b9 Merge pull request #14123 from zaharcan/patch-1
Update graph.html.markdown
2017-05-02 07:10:03 +01:00
Tom Harvey cca472ae03 Merge pull request #14125 from zaharcan/patch-2
Update rule_set.html.markdown
2017-05-02 07:08:46 +01:00
Justin DiPierro d80885f746 Importability for Google DNS Managed Zone 2017-05-01 20:28:28 -04:00
Clint a8e4a9bf07 provider/aws: Update `aws_emr_cluster` to support Security Configuration (#14133)
* added emr security configurations

* gofmt after rebase

* provider/aws: Update EMR Cluster to support Security Configuration

* update test to create key

* update docs
2017-05-01 17:02:59 -05:00
Jake Champlin 3a01d5f5e1 Merge pull request #14104 from rlweb/feature/aws_dynamodb_table-add-timetolive
provider/aws: aws_dynamodb_table Add support for TimeToLive
2017-05-01 15:37:34 -04:00
Jake Champlin a459bac06a Merge pull request #14121 from iamjarvo/patch-2
Add import example
2017-05-01 15:27:48 -04:00
Ryon acaffd9dbb Update news section with April 4 webinar video (#14109) 2017-05-01 14:07:48 -05:00
zaharcan cd8cafb4f4 Update rule_set.html.markdown 2017-05-01 14:42:40 -04:00
zaharcan 18585f3ec0 Update graph.html.markdown 2017-05-01 14:40:23 -04:00
Jearvon Dharrie 2229d65043 Add import example 2017-05-01 14:01:21 -04:00
Jake Champlin 05654b02a2 Merge pull request #14078 from justincampbell/heroku-pipelines
provider/heroku: Add resources for Heroku Pipelines
2017-05-01 10:52:54 -04:00
Radek Simko 143c8bbdfe docs/aws: Add undocumented fields to all WAF resources (#14091)
* docs/aws: Add undocumented fields to all WAF resources

* docs/aws: Alphabetically sort WAF resources
2017-05-01 15:23:30 +01:00
Jake Champlin 4939e24ca0 Merge pull request #14103 from travertischio/fastly-optional-conditions
provider/fastly Changes setting conditionals to optional
2017-05-01 10:21:35 -04:00
Justin Campbell ccb1b7ebec website: Add docs for Heroku Pipeline resources 2017-05-01 10:15:08 -04:00
Jake Champlin 86903a951f Merge pull request #14092 from gazoakley/iam-database-authentication
provider/aws: Add support for IAMDatabaseAuthenticationEnabled
2017-05-01 10:06:59 -04:00
clint shryock df777566f9 provider/aws: Update s3 bucket docs to fix typo 2017-05-01 08:39:37 -05:00
Jake Champlin 9be6aa200a Merge pull request #14084 from hashicorp/paddy_goog_app_creds
Document GOOGLE_APPLICATION_CREDENTIALS support.
2017-05-01 09:32:43 -04:00
Rhys Laval 27d3d2a871 provider/aws: aws_dynamodb_table Add support for TimeToLive 2017-04-30 23:20:38 +01:00
travertischio 041d5a369e Makes cache setting condition optional in fastly service 2017-04-30 17:16:06 -03:00
travertischio 3489795396 Makes request condition optional for fastly request settings 2017-04-30 17:15:51 -03:00
Dominik Lekse 720ae3dea0 Added resource azurerm_sql_elasticpool 2017-04-30 11:48:33 +02:00
= 909d06a72a Updated docs 2017-04-29 21:34:03 -06:00
Chris Kent 21f4848006 provider/aws: add additional custom endpoints
* Add option for custom CloudFormation, KMS, RDS, SNS, SQS endpoints
* Minor formatting to arrange internal endpoint variables alphabetically
* Minor refactoring for consistent internal endpoint variable naming
* Update CHANGELOG
* Update docs accordingly
2017-04-29 22:49:43 -04:00
Gareth Oakley e4c732b34c Add support for IAMDatabaseAuthenticationEnabled 2017-04-29 20:32:21 +01:00
stack72 be002d9345
provider/aws: Add documentation for the EFS File System DataSource 2017-04-29 11:38:10 +12:00
Paddy 9dffeddbb7 Document GOOGLE_APPLICATION_CREDENTIALS support.
We've supported GOOGLE_APPLICATION_CREDENTIALS as an environment
variable (it comes free with our OAuth2 client) but it has never been
documented. Documenting it now to resolve #12626.
2017-04-28 16:16:38 -07:00
Clint 7c59f7e282 provider/aws: Add EMR Security Configuration Resource (#14080)
* provider/aws: Add EMR Security Configuration

* provider/aws: Document EMR security configuration

* small refactoring and add an import test
2017-04-28 16:28:49 -05:00
Jake Champlin ba52f8045f Merge pull request #14077 from hashicorp/triton-allow-insecure
provider/triton: Add `insecure_skip_tls_verify`
2017-04-28 16:26:43 -04:00
James Nugent eaed36b47e provider/triton: Add `insecure_skip_tls_verify`
This commit adds an option to skip TLS verification of the Triton
endpoint, which can be useful for private or temporary installations not
using a certificate signed by a trusted root CA.

Fixes #13722.
2017-04-28 11:56:26 -07:00
Maciej Skierkowski 5c4d85d7dc Merge pull request #14022 from hashicorp/skierkowski/tfe-state-docs-0-9-update
Updating TFE state documentation for 0.9.X
2017-04-28 11:46:00 -07:00
James Nugent 04436e4cbd provider/triton: Clarify cloud_config docs 2017-04-28 11:01:50 -07:00
Maciej Skierkowski b142c04db2 removing whitespace 2017-04-28 10:54:37 -07:00
Maciej Skierkowski 8cee4eb12b Adding a deprecation warning on 'terraform remote config' command 2017-04-28 10:52:59 -07:00
Brian Cervenka 93a0bad923 provider/triton: Add metadata key for cloud-init
Under joyent/triton, the cloud-init cloud-config data actually comes out
of a key called cloud-init:user-data, as opposed to to the standard
user-data. This will make it possible to send the cloud-config data to
triton machines.

Documentation reference: https://docs.joyent.com/public-cloud/instances/virtual-machines/images/linux/ubuntu-certified#cloud-init-examples
2017-04-28 10:52:54 -07:00
David Tesar 9d4a23d9a8 fix example templates
With the FQDN specified, it throws error:
 ```
1 error(s) occurred:
* azurerm_container_service.test: "agent_pool_profile.0.fqdn": this field cannot be set
```
2017-04-27 12:53:39 -07:00
clint shryock d6560b96d7 provider/heroku: Update docs to include heroku-app-feature 2017-04-27 09:59:54 -05:00
Dan Peterson e495c6bacc providers/heroku: add heroku_app_feature resource (#14035) 2017-04-27 09:55:07 -05:00
Jake Champlin e91d915154 Merge pull request #13956 from weargoggles/patch-1
provider/nomad: Add TLS options
2017-04-27 10:43:50 -04:00
Radek Simko 42c7d00568 docs/digitalocean: Add image data source to sidebar (#14030) 2017-04-27 11:55:25 +01:00
Dominik-K 238beaea33 Docs: `dir` flag in `get` cmd -> root module def. in `modules/index.html` (#13940) 2017-04-27 11:27:16 +01:00
Tom Harvey a23201a415 Merge pull request #13965 from codekoala/azurerm_lb_private_ip_address
provider/azurerm: Expose any dynamically-assigned private IP address
2017-04-27 11:19:43 +01:00
Paddy 89fba0c34e Make global forwarding rule docs clearer for IP addresses.
Update our docs for `google_compute_forwarding_rule` to clarify that the
`ip_address` field expects a literal IP address and will not accept the
`self_link` property of a `google_compute_address` resource.

Prompted by #13375
2017-04-26 15:52:49 -07:00
Maciej Skierkowski 94ed759663 Updating guide to reference runs and applies instead of remote state push 2017-04-26 15:51:25 -07:00
Maciej Skierkowski 9e791ad357 Update steps per new state management commands 2017-04-26 15:50:15 -07:00
Maciej Skierkowski 05a76297e7 Removing reference to remote state pushing in TFE 2017-04-26 15:49:36 -07:00
Matthew Frahry aed450c4b0 Update OPC to Oracle Public Cloud 2017-04-26 14:46:54 -06:00
stack72 fd48f91876
provider/gitlab: Addition of the documentation link for gitlab to sidebar
```
% make testacc TEST=./builtin/providers/gitlab
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/27 05:37:02 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/gitlab -v  -timeout 120m
=== RUN   TestProvider
--- PASS: TestProvider (0.00s)
=== RUN   TestProvider_impl
--- PASS: TestProvider_impl (0.00s)
=== RUN   TestAccGitlabProject_basic
--- PASS: TestAccGitlabProject_basic (41.11s)
=== RUN   TestGitlab_validation
--- PASS: TestGitlab_validation (0.00s)
=== RUN   TestGitlab_visbilityHelpers
--- PASS: TestGitlab_visbilityHelpers (0.00s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/gitlab	41.125s
```
2017-04-27 05:44:05 +12:00
stack72 898ac02854
Merge branch 'feature/gitlab_provider' of https://github.com/richardc/terraform into richardc-feature/gitlab_provider 2017-04-27 05:08:12 +12:00
Paul Stack 011cab5917 provider/aws: Add support for CustomOrigin timeouts to aws_cloudfront_distribution (#13367)
```

```
2017-04-27 02:13:59 +12:00
Edward Betts be265479a9 correct spelling mistakes (#13979) 2017-04-27 02:10:04 +12:00
James Healy ae7df37e6f Make dnsimple_records importable (#9130)
* Make dnsimple_records importable

terraform 0.7 supports importing a resource into the local state, and
this adds that feature to the dnsimple_record resource.

Unfortunately, the DNSimple v1 API requires a domain name and record ID
to fetch a record, so the import command accepts both pieces of data as
a slash-delimted string like so:

    terraform import dnsimple_record.test example.com/1234

* add an acceptance test for importing a dnsimple_record
2017-04-27 02:07:23 +12:00
stack72 fdf55c7c68
provider/oneandone: removing the types from the docs as they were markdown links that didn't go anywahere 2017-04-27 01:47:53 +12:00
stack72 7448e832b3
provider/alicloud: Migrating documentation from sidebar regex to strings 2017-04-27 01:03:20 +12:00
tombuildsstuff 277bbf65d1
v0.9.4 2017-04-26 12:35:28 +00:00
Jake Champlin 64134418a5 Merge pull request #12933 from hashicorp/f-network-interfaces
provider/aws: Add network_interface to aws_instance
2017-04-26 08:05:21 -04:00
Andrew King 686d10af4a Update cloudwatch_event_target.html.markdown (#13964)
Clean up `Note` section.
2017-04-26 07:39:14 +01:00
Josh VanderLinden d3687fc9e9 Expose any dynamically-assigned private IP address 2017-04-26 05:22:01 +00:00
Kazunori Kojima dea267218c
docs: Fix parameter name of aws_listener_rule 2017-04-26 09:07:12 +09:00
Joseph Anthony Pasquale Holsten 87ebc19ae5 Merge pull request #13785 from bhood4/master
provider/ultradns: ultradns_rdpool resource minor improvements
2017-04-25 15:59:04 -07:00