Commit Graph

3159 Commits

Author SHA1 Message Date
Alexander Hellbom 5c99f1317a Update documentation 2016-10-24 14:19:56 +02:00
Alexander Hellbom 6b419e6594 Add documentation 2016-10-24 14:19:55 +02:00
Paul Stack 7f35b56df8 Merge pull request #9454 from kwilczynski/feature/improve-documentation-aws_ecs_task_definition
provider/aws: Re-factor documentation for the aws_ecs_task_definition resource.
2016-10-24 15:57:49 +04:00
Paul Stack 184de27519 Merge pull request #9528 from jrstarke/cloudformation_parameters
Added a Parameter example
2016-10-24 15:54:09 +04:00
Paul Stack 243c662b09 Merge pull request #9540 from jamtur01/varsres
Cleanup of the resources and variables pages
2016-10-24 15:53:27 +04:00
Paul Stack 532e540347 Merge pull request #9544 from kwilczynski/fix/correct-linked-documentation
provider/aws: Remove references to documentation localised in French.
2016-10-24 15:52:32 +04:00
ddegoede 711e9040d1 typo in hyperlink display text (#9541) 2016-10-24 13:37:57 +02:00
Krzysztof Wilczynski 263b1467a8
Remove references to documentation localised in French.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2016-10-24 11:59:03 +01:00
James Turnbull 0d5f86bd0d Cleanup of the resources and variables pages
1. Added a heredoc example to the variables page.
2. Tidied up and added headers.
3. Some minor whitespace and grammar edits.
2016-10-24 20:05:25 +11:00
Jamie Starke 184e3ce8ad Fixed the parameters structure
Removed the `=` from the parameters structure, and changed the `VPCCidrParameter` to match `VPCCidr` in the Cloudformation template.
2016-10-23 19:13:45 -07:00
Mitchell Hashimoto 69ce353815 Merge pull request #9523 from ksatirli/patch-3
adds missing `language` argument
2016-10-23 15:50:32 -07:00
Joe Topjian 74f990ff5c provider/openstack: gophercloud migration: Removing APIKey Attribute
gophercloud/gophercloud no longer supports the APIKey authentication
attribute. Removal of this attribute may impact users who were using
the Terraform OpenStack provider in with vendor-modified clouds.
2016-10-23 02:38:17 +00:00
Jamie Starke 3ba46b2a9b Added a Parameter example 2016-10-22 17:23:38 -07:00
Walter Dolce 6033c49498 Fix link pointing to GCE docs
This partially fixes #9522. Not sure about the first link reported.
2016-10-22 18:34:59 +01:00
Kerim Satirli baf2920acf adds missing `language` argument
Best I can tell from https://github.com/hashicorp/terraform/blob/HEAD/builtin/providers/bitbucket/resource_repository.go#L23, the `language` argument is missing.

Adding it in a `bitbucket_repository` resource is supported:

```
resource "bitbucket_repository" "test-repository" {
  owner = "${var.bitbucket_username}"
  name = "test-repository"
  scm = "${var.bitbucket_settings["scm"]}"
  language = "markdown"
}
```
2016-10-22 18:35:37 +02:00
Paul Stack faa9c4ba59 docs/aws: Document the default of aws_alb enable_deletion_protection (#9503)
Fixes #9486
2016-10-22 13:36:37 +01:00
Cameron Stokes f6b149932c ~website: Remove duplicate Bitbucket link in sidebar. 2016-10-21 14:24:46 -07:00
Clint 7d8a5e4423 Merge pull request #9172 from dnABic/docs-p2
Documentation Update: Changing virtualization type in documentation for aws_instance
2016-10-21 10:10:27 -05:00
Paul Stack c31f85a953 Merge pull request #9494 from cblecker/google-import-docs
provider/google: Add google resources to importability docs
2016-10-21 17:30:17 +04:00
Paul Stack ccf3f6e5ae Merge pull request #9500 from niclasnilsson/patch-1
Bugfix in example
2016-10-21 17:29:37 +04:00
Paul Stack 543a06db85 Merge pull request #9475 from IceBear2k/patch-1
Fix Scaleway documentation typo/error
2016-10-21 14:36:38 +04:00
Niclas Nilsson 2a5b3e406d Bugfix in example
Shouldn't the aws_route53_record in the example should use the "dev" zone_id?
2016-10-21 11:11:39 +02:00
James Turnbull e0fab2267b I'd like to be able to anchor to functions 2016-10-21 17:28:01 +11:00
Christoph Blecker b42a723355
Add google resources to importability docs 2016-10-20 14:44:07 -07:00
clint shryock c76ce31f27 tweak image path 2016-10-20 11:15:47 -05:00
clint shryock b87a071bfe fix broken link 2016-10-20 10:09:15 -05:00
Pat Downey 89803a2d00 fix incorrect reference to iops property in `aws_ami` data source 2016-10-20 09:50:04 -05:00
Peter McAtominey 6374cc7d33 provider/azurerm: add client_config data source
azurerm_client_config provides access to:

 - client_id
 - tenant_id
 - subscription_id

```
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMClientConfig -timeout 120m
=== RUN   TestAccAzureRMClientConfig_basic
--- PASS: TestAccAzureRMClientConfig_basic (27.79s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/azurerm	27.862s
```
2016-10-20 11:29:48 +01:00
IceBear 659f71734e Fix error
This is definitely scaleway_server instead of scaleway_volume, wouldn't make any sense otherwise.
2016-10-20 11:49:54 +02:00
Krzysztof Wilczynski 2c67f9e875
Re-factor documentation for the aws_ecs_task_definition resource.
This commits changes the documentation of the aws_ecs_task_definition
resource to ensure that the `container_definitions` attribute consumes
a valid JSON document containing a list of valid container definitions,
rather than that the attribute itself is a list, etc.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2016-10-19 16:29:43 +01:00
Anthony Elizondo 7807d687ab Update provision.html.md 2016-10-19 00:03:31 -04:00
James Nugent 8b09830895 Merge pull request #9441 from markgar/patch-1
Update to new portal experience
2016-10-18 16:23:50 -05:00
Mark Garner 429262b08e Update to new portal experience
Added updated instructions for creating app registration in the new ARM portal.  Updated instructions for granting permissions to the app registration as well.
2016-10-18 15:11:37 -05:00
Sean Chittenden 5bd97d64fa
Update the docs to indicate that `TF_LOG_PLAN` is append now. 2016-10-18 13:10:15 -07:00
Kerim Satirli 9b031405e3 adds import instructions for Bitbucket repos
Hi there!

Started playing with the Bitbucket provider (great job @cwood!) and wanted to import a few dozen repositories. The documentation currently does not list it, but importing repositories is possible, using the following (for a repository identified as `my-repo`:

```
$ terraform import bitbucket_repository.my-repo my-repo
```

Hope this helps!
2016-10-18 20:51:24 +02:00
James Nugent fa6a83ebdc
v0.7.7 2016-10-18 13:36:31 +00:00
James Nugent fc2d973e26 Merge pull request #9387 from nicolai86/feat/scaleway-import
provider/scaleway: add support for importing resources
2016-10-18 08:11:09 -05:00
James Nugent 9f1a0eafc0 provider/scaleway: Add missing documentation links 2016-10-18 08:08:56 -05:00
James Nugent 4ef3ab70f9 Merge branch 'feat/provider-scaleway-bootscript' of https://github.com/nicolai86/terraform into nicolai86-feat/provider-scaleway-bootscript 2016-10-18 08:06:14 -05:00
James Nugent 7bd25d7d48 Merge pull request #9319 from mysza/patch-1
provider/google docs: Config should reflect description
2016-10-18 07:44:58 -05:00
James Turnbull affb2c6511 Added list element syntax 2016-10-18 23:37:50 +11:00
James Turnbull 68b88f273e Some edits to the variables sections
1. Fixes a duplicate word.
2. Fixes a variety of formatting.
3. Re-structures variable assignment section.
4. Sets Notes to consistent style.
2016-10-18 04:35:39 +11:00
Peter McAtominey 89b49f809b provider/azurerm: add account_kind and access_tier to storage_account resource
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMStorageAccount -timeout 120m
=== RUN   TestAccAzureRMStorageAccount_importBasic
--- PASS: TestAccAzureRMStorageAccount_importBasic (140.06s)
=== RUN   TestAccAzureRMStorageAccount_basic
--- PASS: TestAccAzureRMStorageAccount_basic (155.43s)
=== RUN   TestAccAzureRMStorageAccount_disappears
--- PASS: TestAccAzureRMStorageAccount_disappears (134.99s)
=== RUN   TestAccAzureRMStorageAccount_blobEncryption
--- PASS: TestAccAzureRMStorageAccount_blobEncryption (161.59s)
=== RUN   TestAccAzureRMStorageAccount_blobStorageWithUpdate
--- PASS: TestAccAzureRMStorageAccount_blobStorageWithUpdate (131.49s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/azurerm	723.694s
2016-10-17 17:49:07 +01:00
James Nugent d12b637602 docs: Clarify terraform.tfvars file additions 2016-10-17 11:39:12 -05:00
John Bruett 08ef4c0dd3 Update variables.html.md regarding variable files
Add information under Variable Files to explain how terraform.tfvars file is used.  currently that documenation only exists in the getting started guide.  The added information was taken directly from the getting started guide.
2016-10-17 12:29:57 -04:00
Martin Atkins f86198c155 Merge #9390: arn attribute for AWS Lambda alias 2016-10-16 10:04:54 -07:00
@tmshn 8ec06e82b6 Added "arn" attribute to AWS Lambda alias 2016-10-16 21:43:44 +09:00
Paul Stack 94ba00b1bd Merge pull request #9385 from nicolai86/chore/provider-scaleway-doc-fix
provider/scaleway: fix headline in docs
2016-10-16 13:37:47 +02:00
Raphael Randschau fc4c848778
provider/scaleway: add importer support 2016-10-15 23:49:14 +02:00
Raphael Randschau 903170ddf3
provider/scaleway: add image data source 2016-10-15 19:32:08 +02:00
Raphael Randschau 1552c33033
provider/scaleway: add bootscript data source
bootscripts allow you to start Scaleway servers with a specific kernel version.
The `scaleway_server`  has always had a bootscript parameter, and the
`scaleway_bootscript` datasource allows you to lookup bootscripts to be used in
conjunction with the `scaleway_server` resource.
2016-10-15 19:32:01 +02:00
Raphael Randschau 5cba23bf7b
provider/scaleway: fix headline in docs 2016-10-15 14:29:11 +02:00
Paul Stack 0359146e8d Merge pull request #9360 from jcrowthe/patch-1
What should be specified is not obvious for Azure Network Security Groups
2016-10-15 02:47:18 +01:00
dnABic 4daf9eeef4 Changing t1.micro to t2.micro and m4.large 2016-10-15 01:02:44 +02:00
dnABic c1d6e36616 Changing t1 to t2 and us-east-1 to us-west-2 2016-10-15 00:37:30 +02:00
James Turnbull 523fffe176 Data source docs missing `data.`
Several variables were missing the `data.` prefix in the new subnet and
VPC data source documentation.
2016-10-15 06:32:20 +11:00
James Nugent c7c31677d9 Merge pull request #9371 from cwood/cwood/fix-sidebar-missing-bitbucket
Bitbucket missing from sidebar of providers link.
2016-10-14 11:59:44 -05:00
Colin Wood a8c154b8f8 Bitbucket missing from sidebar of providers link. 2016-10-14 09:55:20 -07:00
clint 754bdda8a7
v0.7.6 2016-10-14 16:32:43 +00:00
Jacob Crowther 90caad5166 Specified a variable's contents
Specified that the security group needs to be addressed by it's id and not by its name. This will assist when debugging the error with message "{name} is invalid. Expect fully qualified resource Id that start with azure .properties.networkSecurityGroup.id"
2016-10-13 17:20:09 -06:00
Kot Chaosu b2eebebad1 add vars explanation 2016-10-13 23:21:41 +02:00
Clint 46ee2ef51a Merge pull request #6819 from hashicorp/f-aws-vpc-data-sources
provider/aws: data sources for AWS network planning
2016-10-13 14:17:55 -05:00
James Bardin 7149894e41 Merge pull request #9340 from hashicorp/jbardin/key_file
Remove deprecated key_file and bastion_key_file
2016-10-13 14:08:09 -04:00
James Nugent cdddc3774a Merge pull request #9348 from nicksantamaria/upgrade-docs-07-remote-state
Added 0.7 upgrade documentation for remote state references.
2016-10-13 12:49:55 -05:00
Nick Santamaria 6edbe2faf3 Removed errant backtick in AWS provider documentation. (#9317) 2016-10-13 08:50:46 -07:00
Martin Atkins ad314118a6 Merge #9327: github_repository resource 2016-10-13 08:15:37 -07:00
Martin Atkins e914db2385 website: github_team_repository purpose clarification
With the addition of github_repository it may be confusing that
github_team_repository only creates relationships, rather than creating
actual repositories. To reduce the chance of confusion, we'll make this
explicit in the docs for github_team_repository.

Also taking this opportunity to make the examples consistent with what
would be produced by hclfmt.
2016-10-13 08:04:18 -07:00
Martin Atkins 78c39c7c62 website: docs for github_repository resource 2016-10-13 08:04:18 -07:00
Nick Santamaria 52a4086a60 Fixed grammatical error. 2016-10-13 14:10:32 +11:00
Nick Santamaria 14e5c2d3f2 Added 0.7 upgrade documentation for remote state references. 2016-10-13 14:01:02 +11:00
Dave Walter 5a40fa2914 Update the docs for the AWS security_group_rule resource.
- clarify the description of the from/to port arguments
2016-10-12 12:24:45 -07:00
James Bardin 647d682348 Remove key_file from docs as well 2016-10-12 14:48:15 -04:00
Eric Nieuwenhuijsen 3e651a7130 provider/azurerm: Implement azurerm_storage_share 2016-10-11 11:41:21 +02:00
Kot Chaosu 5f4c0de3f8 add missing information
It's important to note this env var needs to be organization ID, at least for individual users (organization name doesn't work).
2016-10-11 11:25:54 +02:00
Michał Michałowski 635eb40c71 Config should reflect description
Example addons_config was supposed to show how to disable addons (http_load_balancing and horizontal_pod_autoscaling), but it was enabling them instead.
2016-10-11 10:14:27 +02:00
James Nugent 258005408b Merge pull request #9301 from jamtur01/patch-11
Updated provisioning getting started
2016-10-10 22:45:39 -04:00
James Nugent 276ff83b84 Merge pull request #9312 from nicolai86/chore/upgrade-scaleway-api
provider/scaleway: SDK upgrade
2016-10-10 22:44:15 -04:00
James Nugent e23fc50661 Merge pull request #9300 from jamtur01/patch-10
Updates to the Connection docs
2016-10-10 20:25:02 -04:00
James Nugent 2f431d9a16 Merge pull request #9299 from jamtur01/patch-9
Some edits to the Chef provisioner page
2016-10-10 20:23:17 -04:00
Kot Chaosu 78fd57273b are -> is 2016-10-11 00:00:07 +02:00
Raphael Randschau 5e107cd009
provider/scaleway: Update provider docs with new attribute 2016-10-10 20:05:26 +02:00
Christopher Brown 9763702a6c No, for AWS Route53 zones the ID is not the domain (#9302)
For AWS Route53 zones the ID is not the domain name, it is the Zone ID.

When I took your "If you're unsure, feel free to just try an ID." advice to heart I figured it out pretty quickly, but still, getting it right the first time would be nice.
2016-10-09 18:29:38 +02:00
James Turnbull 467d52f964 Fixed 404'ed link (#9295)
* Fixed 404'ed link

Fixed link and some minor formatting.

* Pointed to actual provider

* Typo'ed link :(
2016-10-09 18:19:55 +02:00
James Turnbull 9f27d4f042 Updated provisioning getting started
1. Updated some formatting.
2. Tidied the example a little to make it less clunky.
3. Rewrote some text to make things clearer.
2016-10-09 11:56:15 -04:00
James Turnbull 28995d480c Updates to the Connection docs
1. Updated formatting.
2. Updated some grammar and structure.
2016-10-09 11:42:43 -04:00
James Turnbull 27c3e9a107 Some edits to the Chef provisioner page
1. Fixed some formatting issues.
2. Fixed some grammar and structure issues.
2016-10-09 10:46:31 -04:00
James Turnbull 28cbd48cd3 Updated the examples (#9293)
1. Changed the `Example Contents` header to something more descriptive.
2. Minor edits for grammar and formatting.
2016-10-09 11:42:39 +02:00
Paul Stack 89138fe22b Merge pull request #9122 from hashicorp/b-arm-vm-diagnostics
provider/azurerm: arm_virtual_machine diagnostics_profile was causing a panic on the Read func
2016-10-07 19:42:15 +01:00
stack72 dcfdc6ab30
provider/azurerm: arm_virtual_machine diagnostics_profile was causing a
panic on the Read func

Fixes #8995

The Diagnostics profile was a badly laid out resource. All we needed to
set was whether it was enabled and the storage account to save the logs
to. The old schema parameter was deprecated and replaced with a much
simplier structure

```
% make testacc TEST=./builtin/providers/azurerm TESTARGS='-run=TestAccAzureRMVirtualMachine_diagnosticsProfile'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/09/29 12:21:04 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/azurerm -v
-run=TestAccAzureRMVirtualMachine_diagnosticsProfile -timeout 120m
=== RUN   TestAccAzureRMVirtualMachine_diagnosticsProfile
--- PASS: TestAccAzureRMVirtualMachine_diagnosticsProfile (1066.76s)
PASS
ok
github.com/hashicorp/terraform/builtin/providers/azurerm1066.776s
```
2016-10-07 19:36:45 +01:00
Nick Walke e52ab28218
Add reference about AWS IAM policy requirements
This adds a note in the `aws_iam_policy_document` documentation that
`resources` is required by AWS if used on an IAM policy.  Also added a
note on `aws_iam_policy` that `aws_iam_policy_document` is a good thing
to use when configuring.

Closes #9002
2016-10-07 13:25:12 -05:00
Paul Stack a085c8d71e provider/azurerm: Add Load Balancer resources (#9199)
* provider/azurerm: Add AzureRM Loadbalancer resource

Adds support for the elusive Azure LoadBalancer

* [x] `azurerm_lb`
* [x] `azurerm_lb_backend_address_pool`
* [x] `azurerm_lb_rule`
* [x] `azurerm_lb_nat_rule`
* [x] `azurerm_lb_probe`
* [x] `azurerm_lb_nat_pool`

Test Results:

```
make testacc TEST=./builtin/providers/azurerm TESTARGS='-run=TestAccAzureRMLoadbalancer'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
TF_ACC=1 go test ./builtin/providers/azurerm -v
-run=TestAccAzureRMLoadbalancer -timeout 120m
=== RUN   TestAccAzureRMLoadbalancerBackEndAddressPool_basic
--- PASS: TestAccAzureRMLoadbalancerBackEndAddressPool_basic (207.26s)
=== RUN   TestAccAzureRMLoadbalancerBackEndAddressPool_removal
--- PASS: TestAccAzureRMLoadbalancerBackEndAddressPool_removal (165.89s)
=== RUN   TestAccAzureRMLoadbalancerNatRule_basic
--- PASS: TestAccAzureRMLoadbalancerNatRule_basic (179.30s)
=== RUN   TestAccAzureRMLoadbalancerNatRule_removal
--- PASS: TestAccAzureRMLoadbalancerNatRule_removal (180.73s)
=== RUN   TestAccAzureRMLoadbalancerRule_basic
--- PASS: TestAccAzureRMLoadbalancerRule_basic (170.40s)
=== RUN   TestAccAzureRMLoadbalancerRule_removal
--- PASS: TestAccAzureRMLoadbalancerRule_removal (204.23s)
=== RUN   TestAccAzureRMLoadbalancer_basic
--- PASS: TestAccAzureRMLoadbalancer_basic (136.03s)
=== RUN   TestAccAzureRMLoadbalancer_frontEndConfig
--- PASS: TestAccAzureRMLoadbalancer_frontEndConfig (214.47s)
=== RUN   TestAccAzureRMLoadbalancer_tags
--- PASS: TestAccAzureRMLoadbalancer_tags (215.52s)
=== RUN   TestAccAzureRMLoadbalancerProbe_basic
--- PASS: TestAccAzureRMLoadbalancerProbe_basic (183.36s)
=== RUN   TestAccAzureRMLoadbalancerProbe_removal
--- PASS: TestAccAzureRMLoadbalancerProbe_removal (185.86s)
=== RUN   TestAccAzureRMLoadbalancerNatPool_basic
--- PASS: TestAccAzureRMLoadbalancerNatPool_basic (161.47s)
=== RUN   TestAccAzureRMLoadbalancerNatPool_removal
--- PASS: TestAccAzureRMLoadbalancerNatPool_removal (167.38s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/azurerm
1673.852s
```

* provider/azurerm: Documentation for the ARM LB resources
2016-10-07 14:14:26 -04:00
Nick Walke b361347812
Added the word string to make more sense 2016-10-07 10:24:06 -05:00
Nick Walke 10419405a7
Corrected a plural 2016-10-07 10:23:11 -05:00
Nick Walke 04d0d0f0ae
Added explicit map and list variable usage
This page did not show how to actually use a list as a list.  The
variables page states that "The usage of maps, list, strings, etc. is
documented fully in the interpolation syntax page", but that wasn't the
case.

I've split them out to list them explicitly and provide examples of
each.

Closes #9037
2016-10-07 10:20:17 -05:00
Paul Stack dd66af0fa0 Merge pull request #8701 from steveh/feature/aws-billing-service-account
provider/aws: Add AWS Billing & Cost Management service account
2016-10-07 13:34:51 +01:00
DJ Home 56f35dd67d
Add ability to import AWS OpsWorks Custom Layers 2016-10-07 11:57:11 +01:00
stack72 f4df2d828d
website: Adding gitter link to the community page 2016-10-07 01:09:50 +01:00
Paul Stack 7bab7f44cb Merge pull request #9228 from alphagov/datadog_dashboard_type_style
Datadog dashboard "type" and "style" options
2016-10-06 23:24:57 +01:00
Peter McAtominey 0cb6e7df8b provider/azurerm: add enable_blob_encryption to storage_account resource
This allows Storage Service Encryption to be enabled.

TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMStorageAccount -timeout 120m
=== RUN   TestAccAzureRMStorageAccount_importBasic
--- PASS: TestAccAzureRMStorageAccount_importBasic (139.00s)
=== RUN   TestAccAzureRMStorageAccount_basic
--- PASS: TestAccAzureRMStorageAccount_basic (151.03s)
=== RUN   TestAccAzureRMStorageAccount_blobEncryption
--- PASS: TestAccAzureRMStorageAccount_blobEncryption (149.94s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/azurerm	440.051s
2016-10-06 22:50:02 +01:00
Dean Wilson e0b336e359 Fix typos in the bitbucket_repository example. 2016-10-06 22:08:22 +01:00