Commit Graph

3292 Commits

Author SHA1 Message Date
Chris 13a2538d4b Updated eip_association example (#6957)
The example is referencing a non-existent variable, `allocation_id`, within the `aws_eip` resource. I believe this should actually be `aws_eip.example.id` instead of `aws_eip.example.allocation_id`.
2016-06-02 01:30:10 +01:00
Michael Handler a1e92c6f77 +github_repository_collaborator (#6861) 2016-06-02 01:06:35 +01:00
thetuxkeeper 2e49042d10 added mac address parameter (#6966) 2016-06-02 00:38:56 +01:00
Clint 38fd8d5d71 Merge pull request #6917 from sarkis/fix_security_group_rule_docs
update docs to reflect attribute conflict
2016-06-01 15:38:26 -05:00
Clint d723e1c185 Merge pull request #6955 from paybyphone/paybyphone_cloudfront_origin_access_identity_arn
provider/aws: Add iam_arn to aws_cloudfront_origin_access_identity
2016-06-01 15:25:23 -05:00
Radek Simko d4fe1b9145 provider/aws: Add s3_bucket_object data source 2016-06-01 19:14:17 +01:00
Julian C. Dunn dd0ec5258b api.opscode.com should be api.chef.io (#6960)
The old name still works, but it's better to use the new one.
2016-06-01 09:35:09 +01:00
Chris Marchesi 65824c7725 provider/aws: Add iam_arn to aws_cloudfront_origin_access_identity
Add the iam_arn attribute to aws_cloudfront_origin_access_identity,
which computes the IAM ARN for a certain CloudFront origin access
identity.

This is necessary because S3 modifies the bucket policy if CanonicalUser
is sent, causing spurious diffs with aws_s3_bucket resources.
2016-05-31 13:55:49 -07:00
Adam Mielke 97fbeaf59f add support for geolocation and latency records to aws route53 provider 2016-05-31 15:11:02 -05:00
Matt Morrison cbfb4d8b86 remote state: Add GCS provider for remote state 2016-05-31 13:42:57 -05:00
James Nugent c91d62fda0 provider/aws: aws_iam_policy_document data source
This brings over the work done by @apparentlymart and @radeksimko in
PR #3124, and converts it into a data source for the AWS provider:

This commit adds a helper to construct IAM policy documents using
familiar Terraform concepts. It makes Terraform-style interpolations
easier and resolves the syntax conflict between Terraform interpolations
and IAM policy variables by changing the latter to use &{...} for its
interpolations.

Its use is completely optional and users are free to go on using literal
heredocs, file interpolations or whatever else; this just adds another
option that fits more naturally into a Terraform config.
2016-05-31 11:08:02 -05:00
Clint adee6c8bed provider/aws: Add entry to changelog to note backwards incompatibilty (#6876)
* provider/aws: Add entry to changelog to note backwards compatibilty with AWS Instance

* update wording

* s/using/managin
2016-05-31 10:27:00 -05:00
Chris Weyl 92e23d2252 add an example of cidrsubnet() being used with ipv6
...as this will hopefully clue people in that this function will indeed
work to manipulate ipv6 networks.

Not that I completely spaced on that for quite some time, or anything
like that.

Nope, not me.  Not at all.
2016-05-29 15:41:16 -05:00
James Nugent 46f81401b9 Merge pull request #6829 from hashicorp/aws-dynamodb-forcenew
provider/aws: Change to `aws_dynamodb_table` hash_key forces a new resource
2016-05-29 12:14:58 -07:00
James Nugent 3500dcfc1d Merge pull request #6884 from daveadams/f-lookup-default-value
Allow specifying a default value to lookup()
2016-05-29 12:11:19 -07:00
James Nugent 5cb38c5041 Merge pull request #6911 from paybyphone/paybyphone_aws_ami_description_data_source
provider/aws: aws_ami_description - data source edition (now aws_ami)
2016-05-29 12:07:33 -07:00
James Nugent 5a0f6565d3 Merge pull request #6672 from apparentlymart/random-provider
Logical Resources for Random Values
2016-05-29 11:58:42 -07:00
Sarkis Varozian 5843ffa03e keep documentation consistent 2016-05-29 13:17:42 -04:00
Chris Marchesi 9ac7fb0276 provider/aws: New data source: aws_ami
This data source allows one to look up the most recent AMI for a specific
set of parameters, much like aws ec2 describe-images in the AWS CLI.

Basically a refresh of hashicorp/terraform#4396, in data source form.
2016-05-29 09:55:12 -07:00
Joe Topjian c083a4f5dc provider/openstack: Add delete_on_termination argument to docs
This commit adds a description of the delete_on_termination argument
to the openstack_compute_instance_v2 documentation.
2016-05-28 22:46:54 +00:00
Joe Topjian e0d343906d provider/openstack: Add lb_provider argument to lb_pool_v1
This commit adds the lb_provider argument to the lb_pool_v1 resource.
This argument can be used to specify a backend load balancing system.
2016-05-28 21:53:27 +00:00
Joe Topjian 3aadc19e02 Merge pull request #6837 from carlpett/f-openstack-floatingip-fixed-binding
provider/openstack: Implement fixed_ip on floating ip allocations
2016-05-28 15:30:08 -06:00
Joe Topjian 6430d790e7 Merge pull request #6844 from jtopjian/openstack-instance-network-fnr
provider/openstack: Rebuild On Network Changes
2016-05-28 15:10:26 -06:00
Sarkis Varozian d71e9bfaec update docs to reflect attribute conflict 2016-05-28 16:10:32 -04:00
David Adams 8a4fdc3dd5 Update docs for lookup() interpolation function
Add specifics about using the optional third argument for providing a
default value.
2016-05-25 19:35:09 -05:00
Clint 983b6710a5 provider/aws: Add per user, role and group policy attachment (supersedes #5816) (#6858)
* Add per user, role and group policy attachment

* Add docs for new IAM policy attachment resources.

* Make policy attachment resources manage only 1 entity<->policy attachment

* provider/aws: Tidy up IAM Group/User/Role attachments
2016-05-25 11:03:43 -05:00
amangoel f891ab81f4 Update variables.html.md (#6869) 2016-05-25 16:38:32 +01:00
Calle Pettersson 00be33eb40 Implement fixed_ip on floating ip allocations 2016-05-25 13:50:32 +02:00
dkalleg a47ad103e2 Adding volume resource creation to vSphere provider (#6273)
Allows the user to create a vmdk in vSphere to the given path. In the
future this could support updates for rename and move.
2016-05-25 11:21:16 +01:00
Joe Topjian f3eae849da Merge pull request #6454 from cristicalin/neutron_floatingip_tenant_id
provider/openstack allow floating ip to target a specific tenant
2016-05-24 20:04:24 -06:00
Paul Stack ce4841e6a6 provider/aws: Add support to `aws_redshift_cluster` for ``iam_roles`` (#6647) 2016-05-24 22:44:46 +01:00
James Nugent 1ea727eb13 provider/aws: Add aws_availability_zones source
This commit adds a data source with a single list, `instance` for the
schema which gets populated with the availability zones to which an
account has access.
2016-05-24 15:42:45 -05:00
Jay Wallace 5f1f1c1362 Update artifact.html.markdown 2016-05-24 11:30:51 -07:00
Paul Stack 1df8290134 provider/aws: Support tags for AWS redshift cluster (#5356) 2016-05-24 18:43:12 +01:00
Cristian Calin d2b33d51b8 provider/openstack allow specifying tenant_id on a floatingip resource
Allow a cloud admin to target a specific tenant in which to allocate
a floating IP. This is useful when the cloud admin does not want to
delegate network privileges to the tenants or various Q&A scenarios.
2016-05-24 16:31:09 +03:00
stack72 68d035bc50 provider/aws: Change to `aws_dynamodb_table` hash_key forces a new
resource

We had a line on the Update func that said:

```
Hash key can only be specified at creation, you cannot modify it.
```

The resource has now been changed to ForceNew on the hashkey

```
aws_dynamodb_table.demo-user-table: Refreshing state... (ID: Users)
aws_dynamodb_table.demo-user-table: Destroying...
aws_dynamodb_table.demo-user-table: Destruction complete
aws_dynamodb_table.demo-user-table: Creating...
aws_dynamodb_table.demo-user-table: Creation complete
```
2016-05-24 11:39:55 +01:00
Joe Topjian 803522a7ce provider/openstack: Rebuild On Network Changes
This commit makes it so that openstack_compute_instance_v2 resources
are recreated when any network setting (except Floating IPs) is
changed.
2016-05-24 03:47:27 +00:00
dkalleg a6a6352759 vSphere virtual machine update disk (#6619)
Changed schema type for disks to support dynamic non-ordered disk
swapping.  All Disk attributes have been made non ForceNew since
any changes should be handled in the upgrade() function.
Added 'name' attribute to disks to act as a unique
identifier for when users request for new disks. It is also used as
the filename for the new disk. Templates are considered immutable.
2016-05-23 22:37:06 +01:00
Joe Topjian f674179109 Merge pull request #6693 from jtopjian/openstack-blockstorage-v2
provider/openstack: openstack_blockstorage_volume_v2 resource
2016-05-23 15:18:23 -06:00
Joe Topjian 93cc77e67f provider/openstack: Enable DHCP By Default
The openstack_networking_subnet_v2 resource was originally designed
to have DHCP disabled by default; however, a bug in the original
implementation caused DHCP to always be enabled and never be
disabled. This bug was fixed in #6052.

Recent discussions have shown that users prefer if DHCP is enabled
by default. This commit implements makes the change.
2016-05-23 20:44:34 +00:00
Clint 9437912d3f provider/fastly: Add support for Cache Settings (#6781)
* provider/fastly: Add cache settings

Docs, tests, and implementation for Cache Settings support
2016-05-23 15:07:00 -05:00
Sander van Harmelen b20744b133 Merge pull request #6741 from svanharmelen/f-swap-network-acl
provider/cloudstack: make replacing the ACL of a network update the network in place
2016-05-23 21:12:55 +02:00
stack72 a204728477 provider/fastly: Addition of 1 of the missing header type allowed values 2016-05-23 13:56:20 +01:00
stack72 9e618d371d Merge branch 'master' of https://github.com/premist/terraform into premist-master 2016-05-23 13:54:24 +01:00
Minku Lee 7f4df05a15 Fix typo on service_v1.html.markdown (#6821) 2016-05-23 13:50:36 +01:00
Joshua Spence c193cbdc03 Add default description
Closes #6100. Set the default value for the `description` field to be "Managed by Terraform".
2016-05-23 06:46:45 +10:00
Minku Lee 16f8a39acc Add explanation for type on Fastly header block 2016-05-22 16:06:27 +09:00
dkalleg c34ea953b0 provider/vSphere Disk Controller Type (#6785)
Gives the user the ability to specify the controller type they would
like to connect their disk to.  Supported options are scsi and ide.
2016-05-21 07:21:42 +01:00
clint shryock 6830993024 provider/aws: Update Security Group Docs 2016-05-20 17:18:51 -05:00
clint shryock a6f3614f09 provider/aws: Update Security Group docs for Classic/VPC
Fixes #5924
2016-05-20 17:01:13 -05:00
Paul Stack 2c8c587ca5 provider/azurerm: Add support for EnableIPForwarding to (#6807)
`azurerm_network_interface`

As requested in #6803

```

```
2016-05-20 22:43:18 +01:00
Paul Stack ec8c242ebf provider/aws: Add support for Skipping Final Snapshot in RDS Cluster (#6795)
* provider/aws: Add support for Skipping Final Snapshot in RDS Cluster
2016-05-20 12:52:26 -05:00
Paul Stack 890eebabc4 provider/aws: Add note to AWS DB Instance Documentation about skip_final_snapshot (#6799) 2016-05-20 12:33:25 -05:00
James Rasell e3352e855c provider/aws: Make 'stage_name' required in api_gateway_deployment (#6797)
When stage_name is not passed to the resource
aws_api_gateway_deployment a terraform apply will fail. This is
because the stage_name is required and not optional.
2016-05-20 15:55:08 +01:00
Martin Atkins 158a90b25b Grafana Provider, with Data Source and Dashboard resources (#6206)
* Grafana provider

* grafana_data_source resource.

Allows data sources to be created in Grafana. Supports all data source
types that are accepted in the current version of Grafana, and will
support any future ones that fit into the existing structure.

* Vendoring of apparentlymart/go-grafana-api

This is in anticipation of adding a Grafana provider plugin.

* grafana_dashboard resource

* Website documentation for the Grafana provider.
2016-05-20 10:20:17 +01:00
Devon Harvey 689cfc97c1 Fix typo in show command docs (#6784) 2016-05-20 09:07:17 +01:00
Ricard Clau 283e3ae6b5 fix sidebar + small rewordings (#6782) 2016-05-19 23:25:47 +01:00
James Nugent 48b8b86580 Merge branch 'glasser/jsonencode-list-map' of https://github.com/meteor/terraform into meteor-glasser/jsonencode-list-map 2016-05-19 11:28:38 -05:00
Otto Jongerius dc7a7219bf provider/datadog add 'require full window' and 'locked' (#6738)
* provider/datadog Update go-datadog-api.

* provider/datadog Add support for "require_full_window" and "locked".

* provider/datadog Update tests, update doco, gofmt.

* provider/datadog Add options to update resource.

* provider/datadog "require_full_window" defaults to True, "locked" to False. Use
those initial values as the starting configuration.

* provider/datadog Update notify_audit tests to use the default value for
testAccCheckDatadogMonitorConfig and a custom value for
testAccCheckDatadogMonitorConfigUpdated.

This catches a situation where the code ignores setting the option on creation,
and the update function merely asserts the default value, versus actually changing
the value.
2016-05-19 09:29:23 +01:00
Mitchell Hashimoto 54df833406
website: add import command docs 2016-05-18 12:57:03 -06:00
Mitchell Hashimoto 6d9e41668f
website: basic docs on import 2016-05-18 12:57:03 -06:00
David Glasser 594ea105d8 config: support lists and maps in jsonencode
For now we only support lists and maps whose values are strings, not
deeply nested data.
2016-05-18 10:46:06 -07:00
Paul Stack 811667023b provider/aws: Add support for S3 Bucket Acceleration (#6628) 2016-05-18 11:33:03 -05:00
Paul Stack be0db001db provider/azurerm: Add support for exporting the (#6742)
`azurerm_storage_account` access keys

Please note that we do NOT have the ability to manage the access keys -
we are just getting the keys that the account creates for us. To manage
the keys, you would need to use the azure portal still
2016-05-18 16:31:43 +01:00
stack72 27f05b8e3b Merge branch 'wowgroup-aws-rds-cluster-param-group' 2016-05-18 14:11:47 +01:00
Sander van Harmelen ecb41d478a Make replacing the ACL of a network update the network in place
This prevents having to recreate the whole network and fixes #6630
2016-05-18 12:22:32 +02:00
Clint 073f629447 provider/fastly: add support for custom VCL configuration (supersedes #6587) (#6662)
* provider/fastly: add support for custom VCL configuration
2016-05-17 14:49:51 -05:00
James Nugent 3edbb36b9d Merge pull request #6719 from glasser/patch-1
docs: clarify an internal-plugins header
2016-05-17 14:32:49 -05:00
thetuxkeeper 790115fe43 provider/vsphere: wait for network enhanced (#6377)
* - use WaitForNetIP
- removed duplicate wait for network parts

* gofmt fix

* fixes
2016-05-17 19:35:06 +01:00
James Nugent 3b6cd9918a Merge pull request #6622 from hashicorp/f-fastly-request-settings
provider/fastly: Add support for Service Request Settings
2016-05-17 13:22:25 -05:00
David Glasser c3cc0b2538 docs: clarify an internal-plugins header 2016-05-17 10:09:02 -07:00
Robert Conrad faa6ddb2ee provider/aws: Support for Redshift Cluster encryption using a KMS key (#6712) 2016-05-17 11:12:39 -05:00
Joe Topjian b204d35e19 provider/openstack openstack_blockstorage_volume_v2 resource
This commit adds an openstack_blockstorage_volume_v2 resource. This
resource is able to create volumes using the OpenStack Block Storage
v2 API.
2016-05-17 13:20:26 +00:00
jkburges ef3de51199 Include the list of allowed values for AWS auto scaling group termination policies (#6710)
Ref: http://docs.aws.amazon.com/autoscaling/latest/userguide/as-instance-termination.html#custom-termination-policy
2016-05-17 13:27:33 +01:00
Ian Gable 988c8144c0 website: docs for azurerm custom images
Adds docs on booting custom images with the azurerm_virtual_machine
resource; this was previously undocumented.
2016-05-16 18:16:52 -07:00
James Nugent a2950c76d9 Merge pull request #6598 from hashicorp/f-data-sources
Data-driven Terraform Configuration
2016-05-16 13:00:41 -05:00
Aki Hänninen fce7aa483d Add version_id attribute for aws_s3_bucket_object (#6677) 2016-05-16 08:49:59 -05:00
Joe Topjian b53c74a9ae Merge pull request #6279 from ZZelle/support-client-cert
provider/openstack: Support client certificates
2016-05-14 20:44:57 -05:00
Martin Atkins feafc94dde website: docs for the "random" provider 2016-05-14 16:49:10 -07:00
Martin Atkins 64f2651204 website: Initial documentation about data sources
This will undoubtedly evolve as implementation continues, but this is some
initial documentation based on the design doc.
2016-05-14 08:26:36 -07:00
Martin Atkins 3eb4a89104 provider/terraform: remote state resource becomes a data source
As a first example of a real-world data source, the pre-existing
terraform_remote_state resource is adapted to be a data source. The
original resource is shimmed to wrap the data source for backward
compatibility.
2016-05-14 08:26:36 -07:00
Paul Stack cf37c3adaa provider/aws: Add support for `kms_key_id` to `aws_db_instance` (#6651)
As requested in #4822, add support for a KMS Key ID (ARN) for Db
Instance

```
make testacc TEST=./builtin/providers/aws
TESTARGS='-run=TestAccAWSDBInstance_kmsKey' 2>~/tf.log
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /vendor/)
TF_ACC=1 go test ./builtin/providers/aws -v
-run=TestAccAWSDBInstance_kmsKey -timeout 120m
=== RUN   TestAccAWSDBInstance_basic
--- PASS: TestAccAWSDBInstance_basic (587.37s)
=== RUN   TestAccAWSDBInstance_kmsKey
--- PASS: TestAccAWSDBInstance_kmsKey (625.31s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/aws    1212.684s
```
2016-05-13 11:20:29 -05:00
Dave Cunningham 758c8f1e22 Fix address docs in gce instance (#6639)
@evandbrown @lwander
2016-05-13 00:51:20 +01:00
stack72 fdf1962905 Merge branch 'aws-rds-cluster-param-group' of https://github.com/wowgroup/terraform into wowgroup-aws-rds-cluster-param-group 2016-05-12 23:27:20 +01:00
clint shryock 5a06b603bd provider/fastly: Add support for Service Request Settings 2016-05-11 16:56:18 -05:00
Evan Brown 55742acf12 providers/google: support optionial uuid naming for Instance Template (#6604)
Auto-generating an Instance Template name (or just its suffix) allows the
create_before_destroy lifecycle option to function correctly on the
Instance Template resource. This in turn allows Instance Group Managers
to be updated without being destroyed.
2016-05-11 22:54:47 +01:00
stack72 cb4c8e6864 Merge branch 'Ticketmaster-db_option_group_settings' 2016-05-11 22:44:27 +01:00
Mitchell Hashimoto 5e127a62c1 Merge pull request #6597 from hashicorp/f-state-mv
command/state mv
2016-05-11 12:58:23 -07:00
stack72 87d4fd7e0c Merge branch 'db_option_group_settings' of https://github.com/Ticketmaster/terraform into Ticketmaster-db_option_group_settings 2016-05-10 22:37:14 +01:00
qivers 9cc21d62f2 Correcting arn output to id (#6586)
Using `arn` as an output doesn't work, `id` does.
2016-05-10 22:32:07 +01:00
Mitchell Hashimoto 9ddf73ad81
website: update docs 2016-05-10 13:25:43 -07:00
Mitchell Hashimoto 04598baa25
website: document state mv 2016-05-10 13:25:42 -07:00
Mitchell Hashimoto 473a58a672 Add `terraform state list` command
This introduces the terraform state list command to list the resources
within a state. This is the first of many state management commands to
come into 0.7.

This is the first command of many to come that is considered a
"plumbing" command within Terraform (see "plumbing vs porcelain":
http://git.661346.n2.nabble.com/what-are-plumbing-and-porcelain-td2190639.html).
As such, this PR also introduces a bunch of groundwork to support
plumbing commands.

The main changes:

- Main command output is changed to split "common" and "uncommon"
  commands.

- mitchellh/cli is updated to support nested subcommands, since
  terraform state list is a nested subcommand.

- terraform.StateFilter is introduced as a way in core to filter/search
  the state files. This is very basic currently but I expect to make it
  more advanced as time goes on.

- terraform state list command is introduced to list resources in a
  state. This can take a series of arguments to filter this down.

Known issues, or things that aren't done in this PR on purpose:

- Unit tests for terraform state list are on the way. Unit tests for the
  core changes are all there.
2016-05-10 14:49:14 -04:00
Chris Bednarski 3c774af9c2 Warn when an internal plugin is overridden
Also added documentation explaining what happened and how to fix it
2016-05-10 14:49:13 -04:00
Mitchell Hashimoto e133452663 command/state: pattern => address 2016-05-10 14:14:48 -04:00
Mitchell Hashimoto 5737c0a13b website: update docs for state show 2016-05-10 14:14:48 -04:00
Mitchell Hashimoto d1b46e99bd Add `terraform state list` command
This introduces the terraform state list command to list the resources
within a state. This is the first of many state management commands to
come into 0.7.

This is the first command of many to come that is considered a
"plumbing" command within Terraform (see "plumbing vs porcelain":
http://git.661346.n2.nabble.com/what-are-plumbing-and-porcelain-td2190639.html).
As such, this PR also introduces a bunch of groundwork to support
plumbing commands.

The main changes:

- Main command output is changed to split "common" and "uncommon"
  commands.

- mitchellh/cli is updated to support nested subcommands, since
  terraform state list is a nested subcommand.

- terraform.StateFilter is introduced as a way in core to filter/search
  the state files. This is very basic currently but I expect to make it
  more advanced as time goes on.

- terraform state list command is introduced to list resources in a
  state. This can take a series of arguments to filter this down.

Known issues, or things that aren't done in this PR on purpose:

- Unit tests for terraform state list are on the way. Unit tests for the
  core changes are all there.
2016-05-10 14:14:47 -04:00
Albert Choi 94a7c69153 [clc] additional server types + docs 2016-05-10 10:36:52 -07:00
Albert Choi 8ab63c2d52 [clc] add packages to server at create 2016-05-10 10:36:52 -07:00
James Nugent b62f6af158 core: Add support for marking outputs as sensitive (#6559)
* core: Add support for marking outputs as sensitive

This commit allows an output to be marked "sensitive", in which case the
value is redacted in the post-refresh and post-apply list of outputs.

For example, the configuration:

```
variable "input" {
    default = "Hello world"
}

output "notsensitive" {
    value = "${var.input}"
}

output "sensitive" {
    sensitive = true
    value = "${var.input}"
}
```

Would result in the output:

```
terraform apply

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

  notsensitive = Hello world
  sensitive    = <sensitive>
```

The `terraform output` command continues to display the value as before.

Limitations: Note that sensitivity is not tracked internally, so if the
output is interpolated in another module into a resource, the value will
be displayed. The value is still present in the state.
2016-05-09 15:46:07 -04:00
Kraig Amador dc4dd764e6 Adding option_settings to aws_db_option_group 2016-05-09 12:40:38 -07:00
Kevin DeJong 0cec1c19d7 Add support for the Base URL endpoint so the GitHub provider can support GitHub Enterprise (#6434) 2016-05-09 19:22:53 +01:00
Clint 3eee40cd98 provider/fastly: Add support for Conditions for Fastly Services (#6481)
* provider/fastly: Add support for Conditions for Fastly Services

Docs here:

- https://docs.fastly.com/guides/conditions/

Also Bump go-fastly version for domain support in S3 Logging
2016-05-09 14:08:13 -04:00
Antoine Rouaze a105de19c0 [azurerm] Add os_type and image_uri in azurerm_virtual_machine (#6553)
Fix #6372

Partial fix of #6526
2016-05-09 18:51:19 +01:00
Paul Stack af29a61748 provider/aws: Change `aws_elastic_ip_association` to have computed parameters (#6552)
* New top level AWS resource aws_eip_association

* Add documentation for aws_eip_association

* Add tests for aws_eip_association

* provider/aws: Change `aws_elastic_ip_association` to have computed
parameters

The AWS API was send ing more parameters than we had set. Therefore,
Terraform was showing constant changes when plans were being formed
2016-05-09 18:40:45 +01:00
James Nugent 2d19957d8b Merge pull request #6558 from hashicorp/b-aws-db-option-group-name
provider/aws: Update paramter for DB Option Group
2016-05-09 13:33:25 -04:00
clint shryock f8d59b9e97 provider/aws: Update paramter for DB Option Group 2016-05-09 12:16:26 -05:00
Paul Stack d3939db0a1 provider/azurerm: Adding support for `tags` to `azurerm_virtual_machine` (#6556)
provider/azurerm: Adding support for `tags` to `azurerm_virtual_machine`
2016-05-09 18:14:02 +01:00
Felivel Camilo 156d2916d8 Adding private ip address reference to azurerm network interface (#6538)
* Adding private ip address reference

* adding private ip address reference
* Updating the docs.

* Removing optional attrib from private_ip_address

Removing optional attribute from private_ip_address, this element is only being used in the read.

* Selecting the first element instead of using a loop for now.
Change this to a loop when https://github.com/Azure/azure-sdk-for-go/issues/259 is fixed
2016-05-09 15:21:15 +01:00
James Nugent affd2b3f3b Merge pull request #6505 from hashicorp/b-cloudfront-cookies
provider/aws: Require cookies for Cloudfront Distributions
2016-05-08 19:45:37 -04:00
Chris Marchesi 84cd31cece provider/aws: Add CloudFront hosted_zone_id attribute (#6530)
Added the hosted_zone_id attribute, which aliases to the Route 53
zone ID that can be used to route Alias Resource Record Sets to.

This fixes hashicorp/terraform#6489.
2016-05-09 00:40:30 +01:00
James Nugent 5366fabad1 Merge pull request #4401 from stack72/aws-rds-option-groups
provider/aws: aws_db_option_group
2016-05-08 19:34:15 -04:00
James Nugent 6ca0e0064a Merge pull request #6541 from hashicorp/fix-azurerm-vm-ssh-key
provider/azurerm: Fix an issue with `azurerm_virtual_machine` ssh_keys
2016-05-08 19:20:44 -04:00
stack72 fdb9293635 provider:azurerm: Add documentation for `azurerm_virtual_machine`
adminPassword

Reports from issues showed the following errors:

```
{
    "error": {
            "code": "InvalidParameter",
                    "target": "adminPassword",
                            "message": "The supplied password must be
                            between 6-72 characters long and must
                            satisfy at least 3 of password complexity
                            requirements from the following: \r\n1)
                            Contains an uppercase character\r\n2)
                            Contains a lowercase character\r\n3)
                            Contains a numeric digit\r\n4) Contains a
                            special character."

    }

}
```

This commit adds some documentation for the adminPassword complexity
requirements
2016-05-08 23:07:04 +01:00
stack72 712fc83a20 provider/azurerm: Fix an issue with `azurerm_virtual_machine` ssh_keys
ssh_keys were throwing an error similar to this:

```
* azurerm_virtual_machine.test: [DEBUG] Error setting Virtual Machine
* Storage OS Profile Linux Configuration: &errors.errorString{s:"Invalid
* address to set: []string{\"os_profile_linux_config\", \"0\",
* \"ssh_keys\"}"}
```

This was because of nesting of Set within a Set in the schema. By
changing this to a List within a Set, the schema works as expected. This
means we can now set SSH Keys on VMs. This has been tested using a
remote-exec and a connection block with the ssh key

```
azurerm_virtual_machine.test: Still creating... (2m10s elapsed)
azurerm_virtual_machine.test (remote-exec): Connected!
azurerm_virtual_machine.test (remote-exec): CONNECTED!
```
2016-05-08 22:51:51 +01:00
stack72 8dc123fd94 Scaffold the AWS DB Option Group resource
Change the AWS DB Instance to now include the DB Option Group param. Adds a test to prove that it works

Add acceptance tests for the AWS DB Option Group work. This ensures that Options can be added and updated

Documentation for the AWS DB Option resource
2016-05-08 20:18:53 +01:00
Paul Stack dc30bd29fc provider/aws: Redshift Cluster not allowing 0 for (#6537)
automated_snapshot_retention_period

The default value for `automated_snapshot_retention_period` is 1.
Therefore, it can be included in the `CreateClusterInput` without
needing to check that it is set.

This was actually stopping people from setting the value to 0 (disabling
the snapshots) as there is an issue in `d.GetOk()` evaluating 0 for int
2016-05-08 19:29:36 +01:00
Jason Wieringa 57a1001ac0 Fix documentation on autoscaling group (#6532)
As of sha d3697fa50b, enabled_metrics
is an optional setting.
2016-05-08 18:03:24 +01:00
Clint 99e0aec769 provider/aws: Fix issue changing EIP Association (#6521)
provider/aws: Update EIP to use new associate_with_private_ip instead of private_ip
2016-05-06 15:38:39 -05:00
John Engelman 14f6f90621 Support standard AWS config in the S3 remote backend. (#5270) 2016-05-06 17:52:18 +01:00
Justin Clark 380ada1019 provider/aws: Add agent_version argument to AWS_OPSWORKS_STACK 2016-05-05 22:56:44 +01:00
clint shryock 8129c0589c provider/aws: Require cookies for Cloudfront Distributions 2016-05-05 15:44:35 -05:00
Greg Thole ebfc701265 provider/aws: AWS API Gateway request parameters json (#6501)
* Update docs with new parameters

* Add request parameters as JSON

* Update function name and error statements
2016-05-05 21:14:51 +01:00
Radek Simko d23fac3a28 aws: Update docs after #6385 (account ID via sts) 2016-05-05 17:51:44 +01:00
Kraig Amador 1f80ec48d0 Added RDS event subscriptions (#6367) 2016-05-05 11:14:25 +01:00
Josh Taylor 983da213af provider/aws: add response parameters support to api gateway (#6344)
* provider/aws: Add support for response parameters aws_api_gateway_integration_response and aws_api_gateway_method response.

* fix spacing

* fix spacing

* gofmt

* add update test; add docs; add reimplement TODO; add field read

* resolve conflict

* fix expandAPIGatewayMethodResponse error handling
2016-05-04 11:56:18 +01:00
danielcbright 8921e10d71 Added softlayer virtual guest and ssh keys functionality:
Here is an example that will setup the following:
+ An SSH key resource.
+ A virtual server resource that uses an existing SSH key.
+ A virtual server resource using an existing SSH key and a Terraform managed SSH key (created as "test_key_1" in the example below).

(create this as sl.tf and run terraform commands from this directory):
```hcl
provider "softlayer" {
    username = ""
    api_key = ""
}

resource "softlayer_ssh_key" "test_key_1" {
    name = "test_key_1"
    public_key = "${file(\"~/.ssh/id_rsa_test_key_1.pub\")}"
    # Windows Example:
    # public_key = "${file(\"C:\ssh\keys\path\id_rsa_test_key_1.pub\")}"
}

resource "softlayer_virtual_guest" "my_server_1" {
    name = "my_server_1"
    domain = "example.com"
    ssh_keys = ["123456"]
    image = "DEBIAN_7_64"
    region = "ams01"
    public_network_speed = 10
    cpu = 1
    ram = 1024
}

resource "softlayer_virtual_guest" "my_server_2" {
    name = "my_server_2"
    domain = "example.com"
    ssh_keys = ["123456", "${softlayer_ssh_key.test_key_1.id}"]
    image = "CENTOS_6_64"
    region = "ams01"
    public_network_speed = 10
    cpu = 1
    ram = 1024
}
```

You'll need to provide your SoftLayer username and API key,
so that Terraform can connect. If you don't want to put
credentials in your configuration file, you can leave them
out:

```
provider "softlayer" {}
```

...and instead set these environment variables:

- **SOFTLAYER_USERNAME**: Your SoftLayer username
- **SOFTLAYER_API_KEY**: Your API key
2016-05-03 15:58:58 -05:00
Paul Stack 501c05d0f7 provider/vsphere: IPv6 support. (#6457)
IPv6 support added.

We support 1 IPv6 address per interface. It seems like the vSphere SDK supports more than one, since it's provided as a list.
I can change it to support more than one address. I decided to stick with one for now since that's how the configuration parameters
had been set up by other developers.

The global gateway configuration option has been removed. Instead the user should specify a gateway on NIC level (ipv4_gateway and ipv6_gateway).

For now, the global gateway will be used as a fallback for every NICs ipv4_gateway.
The global gateway configuration option has been marked as deprecated.
2016-05-03 18:27:24 +02:00
Cameron Stokes b005709ed1 Recommend bucket versioning for S3 remote state. (#6456) 2016-05-03 17:54:53 +02:00
Joe Topjian 8f2b6e8127 Merge pull request #6410 from cristicalin/neutron_security_groups_v1
provider/openstack: implement neutron security groups and rules
2016-05-03 08:18:41 -06:00
Cristian Calin 6fe82696d2 provider/openstack: Neutron security group resources
this implements two new resource types:
* openstack_networking_secgroup_v2 - create a neutron security group
* openstack_networking_secgroup_rule_v2 - create a newutron security
  group rule
Unlike their nova counterparts the neutron security groups allow a user
to specify the target tenant_id allowing a cloud admin to create per
tenant resources.
2016-05-03 09:18:48 +00:00
Davide Agnello e086f6d754 Adding File Resource for vSphere provider
* Adding File Resource for vSphere provider

Allows for file upload to vSphere at specified location.  This also
includes update for moving or renaming of file resources.

* Ensuring required parameters are provided
2016-05-02 22:25:35 +02:00
Henrik Hodne 8f07a2d6d5 provider/librato: Add Librato provider 2016-04-29 14:49:55 -05:00
James Nugent 047736eb3b provider/vsphere: Reword customizations docs 2016-04-29 13:06:12 -05:00
James Nugent 9c85c2ed47 Merge pull request #6355 from godmodelabs/vsphere-disable-customization
provider/vsphere: Add setting to skip customization
2016-04-29 13:06:02 -05:00
Eloy Coto 7367eaf7be Fix #3562 provider/vsphere Added doc for customizations problems. 2016-04-29 17:03:06 +01:00
Mårten Gustafson 5b7f12ecd7 Tweak docs to properly document .tfvars format (#6415)
As reported and described in hashicorp/terraform#3292
2016-04-29 14:06:36 +01:00
Joe Topjian c61c0216e1 provider/openstack: Instance Doc Examples (#6411)
This commit adds several example uses of the
openstack_compute_instance_v2 resource. It also makes a clarification
about booting from volumes and image ids/names.
2016-04-29 09:49:45 +01:00
Dan Carley 64c1280951 command/fmt: Improve documentation for -diff and defaults (#6398)
* command/fmt: Document -diff doesn't disable -write

As noted in hashicorp/terraform#6343, this description misleadingly
suggested that the `-diff` option disables the `-write` option.

This isn't the case and because of the default options (described in
c753390) the behaviour of `terraform fmt -diff` is actually the same as
`terraform fmt -write -list -diff`.

Replace the "instead of rewriting" description to clarify that.

Documentation in hcl/fmtcmd is corrected in hashicorp/hcl#117 but it's not
really necessary to bump the dependency version.

* command/fmt: Show flag defaults in help text

These were documented on the website but not in the `-help` text. This
should help to clarify that you need to pass `-list=false -write=false
-diff` if you only want to see diffs.

Accordingly I've replaced the word "disabled" with "always false" in the
STDIN special cases so that it matches the terminology used in the defaults
and better indicates that it is overridden.

NB: The 3x duplicated defaults and documentation makes me feel uneasy once
again. I'm not sure how to solve that, though.
2016-04-29 00:39:53 +01:00
Alex Brown 9ecb6a3d2a Clean up cloudfront docs and remove extraneous a tags (#6405)
* Fix headers and header anchor tags

The markdown parser already generates unique ids for header elements by
downcasing all of the words and replacing spaces with hyphens. Knowing
this, we can take the code blocks out of the headers and use the
generated ids as the link targets.

Aside: I tried to see if there was a standard way of documenting
subresources, but couldn't really find one. Both the aws_elb and
aws_instance resources seem to just say "documented below" without a
link. Then the relevant section is just a new paragraph with a list of
arguments.

* Reformat long lines

I find 80 character lines and whitespaces make the lists much easier to
read :)

* Remove extraneous <a> tags for header anchor tags

Now that middleman generates anchor tags for headers automagically, we
don't need to have blank <a> tags for anchor links to use.
2016-04-29 00:28:45 +01:00
Clint a4407d9af7 provider/fastly: Add S3 Log Streaming to Fastly Service (#6378)
* provider/fastly: Add S3 Log Streaming to Fastly Service

Adds streaming logs to an S3 bucket to Fastly Service V1

* provider/fastly: Bump go-fastly version for domain support in S3 Logging
2016-04-28 10:36:25 -05:00
Thomas Bruun 77c3ff9127 Reference correct CloudFront origin type in documentation (#6393) 2016-04-28 09:51:09 -05:00
Daniel 5dbc4687a3 added skip_customization setting 2016-04-28 14:36:25 +02:00
Radek Simko 0a8ea049ef Merge pull request #5030 from TimeIncOSS/account_check
provider/aws: Allow account ID checks on EC2 instances & w/ federated accounts
2016-04-27 21:07:15 +02:00
Radek Simko 7642fa05a8 Merge pull request #5893 from TimeIncOSS/b-aws-api-gateway-fields
provider/aws: Respect 'selection_pattern' in api_gateway_integration_response
2016-04-27 20:46:29 +02:00
Alexander Simmerl 251075564a provider/cloudflare: Add proxied option (#5508)
This change adds the support for the proxied configuration option for a
record which enables origin protection for CloudFlare records.

In order to do so the golang library needed to be changed as the old did
not support the option and was using and outdated API version.

Open issues which ask for this (#5049, #3805).
2016-04-27 18:04:07 +01:00
dkalleg 6f62248471 Add functionality to specify and mount vmdks (#6146)
User may specify a vmdk in their disk definition.
The options size, template, and vmdk are considered
to be mutually exclusive. User may also set whether each disk
associated with the vm should try to boot after creation.
Todo: Enforce mutual exclusivity, validate the bootable_vmdk_path
2016-04-27 17:22:22 +01:00
Xavier Sellier e4a1d21a4b Provider Docker: (#6376)
- Add option keep_locally
- Add unit test
- Add documentation
2016-04-27 17:18:02 +01:00
Thomas Bruun ccedadc9ac AWS ELB Listener: Clarify that ssl_certificate_id must be ARN (#6370)
Just saying `id` is ambiguous, it could be interpreted as the resource ID which will fail with the follow error: `CertificateNotFound: Server Certificate not found for the key: <id>`. The AWS documentation states that the ssl certificate id parameter must be the ARN.
2016-04-27 09:02:43 -05:00
Radek Simko e3ade6a784 provider/aws: Add support for api_gateway_account (#6321) 2016-04-27 13:08:59 +01:00
Colin Hebert f1f602cdf6 aws: Enable account ID check for assumed roles + EC2 instances 2016-04-27 12:56:03 +02:00
Radek Simko a9dc48158d docs: Improve docs for API Gateway int. response selection_pattern 2016-04-27 11:45:52 +02:00
Dave York a700574c34 fix some more docs issues (#6352)
spacing and newlines were messing with the docs rendering.
2016-04-26 17:13:52 +01:00
Dave York c13c0d16ab adding the price classes from the AWS cloud formation docs (#6350)
adding the price classes from the AWS cloud formation docs
2016-04-26 16:15:52 +01:00
James Nugent 47c2b8247d provider/vsphere: Document role requirements (#6340)
This moves the information presented as part of #6302 into the provider
documentation which gets published as part of the website.
2016-04-26 10:48:25 +01:00
Radek Simko d31a6ac47f provider/aws: Add support for api_gateway_authorizer (#6320) 2016-04-25 12:22:37 +01:00
Takaaki Furukawa a9a607d67f provider/vsphere: Add support for memory reservation (#6036) 2016-04-25 12:15:37 +01:00
Tommy Malmqvist 243e5c84eb fixes-#6198-vsphere-provider-improve-documentation (#6200)
* fixes-#6198-vsphere-provider-improve-documentation

* Moved VMware cluster information to it's own example.

* Fix #1
2016-04-24 18:41:27 +01:00
clint shryock 6cf37b9fdc provider/aws: Update S3 Bucket Object docs for KMS Key 2016-04-22 14:25:18 -05:00
Martin Atkins 66af2b21c3 website(aws): link directly to lambda "Runtime" defininition
Previously we linked to the whole request body definition for valid values of `runtime`.

Now we link directly to the docs for `Runtime`, which will hopefully make it easier to find the valid values.

This fixes #4570.
2016-04-22 08:34:33 -07:00
James Nugent 5b1b49e2b7 Merge pull request #4243 from kristinn/vsphere-cdrom-support
vSphere: Support mounting ISO images to virtual cdrom drives.
2016-04-21 15:50:12 -07:00
Joel Handwell 5cd60aa26c Fix typo (#6281) 2016-04-21 16:32:04 +01:00
Cedric Brandily 94d3ed08c7 provider/openstack: Support client certificates
Official OpenStack clients commonly support specifing a client
certificate/key to enable SSL client authentication when communicating
with OpenStack services. This patch enables such feature in Terraform
with new parameters and environment variables:

* 'cert' provider parameter or OS_CERT env variable to specify client
   certificate file,
* 'key' provider parameter or OS_KEY env variable to specify client
   certificate private key file.
2016-04-21 09:43:11 +00:00
Jay Wallace 77f5648c42 Updated notify_no_data default to true (#6275)
This value should be true, based on: https://github.com/hashicorp/terraform/blob/master/builtin/providers/datadog/resource_datadog_monitor.go#L77
2016-04-21 10:16:06 +01:00
Kristinn Örn Sigurðsson a67fa662bf vSphere: Support mounting ISO images to virtual cdrom drives.
It can come in handy to be able to mount ISOs programmatically.
For instance if you're developing a custom appliance (that automatically installs itself on the hard drive volume)
that you want to automatically test on every successful build (given the ISO is uploaded to the vmware datastore).

There are probably lots of other reasons for using this functionality.
2016-04-20 21:58:18 +02:00
Josh Myers 3be66aa9ed Add cloudwatch_logs_subscription_filter provider (#5996) 2016-04-20 20:05:21 +01:00
Matt Moyer 22c3db5c80 provider/fastly: fix the description for "weight" on fastly_service_v1. (#6261)
This description is essentially copied from the Fastly dashboard.
2016-04-20 20:01:44 +01:00
Clint 46f3a17b5b provider/fastly: Add Gzip rule support (#6247)
* vendor: Update go-fastly

* provider/fastly: Add basic Gzip support

* add flattengzip tests
2016-04-20 13:43:54 -05:00
Joe Topjian 29daf8ca83 provider/openstack: Add documentation for cacert_file (#6259) 2016-04-20 15:28:49 +01:00
Joe Topjian e2d0065611 Merge pull request #6207 from drebes/master
provider/openstack: static routing entries for routers
2016-04-20 08:03:24 -06:00
KOJIMA Kazunori 5e33517394 provider/aws: Add support S3 Object Lifecycle Rule (#6220)
* providers/aws: Add support S3 Object Lifecycle Rule

* Fix failed vet command

* Fix failed acceptance tests

* Check nil pointer before dereference.

* Move S3 lifecycle rule id validator func to validators.go

* Don't fail when get lifecycle rule's response code is 404
2016-04-20 11:16:14 +01:00
Josh Horwitz 325a9e937e provider/triton: fixed triton key_material documentation 2016-04-19 21:26:39 -04:00
Chris Marchesi 6ebac8403d provider/aws: CloudFront post-merge review updates (#6196)
* provider/aws: Fix hashing on CloudFront certificate parameters

Adding necessary type assertion to values on the viewer_certificate hash
function to ensure that certain fields are indeed not zero string
values, versus simply zero interface{} values (aka nil, as is such for a
map[string]interface{}).

* provider/aws: CloudFront complex structure error handling

Handle errors better on calls to d.Set() in the
aws_cloudfront_distribution, namely in flattenDistributionConfig(). Also
caught a bug in the setting of the origin attribute, was incorrectly
attempting to set origins.

* provider/aws: Pass pointers to set CloudFront primitives

Change a few d.Set() for primitives in aws_cloudfront_distribution and
aws_cloudfront_origin_access_identity to use the pointer versus a
dereference.

* docs: Fix CloudFront examples formatting

Ran each example thru terraform fmt to fix indentation.

* provider/aws: Remove delete retention on CloudFront tests

To play better with Travis and not bloat the test account with disabled
distributions.

Disable-only functionality has been retained - one can enable it with
the TF_TEST_CLOUDFRONT_RETAIN environment variable.

* provider/aws: CloudFront delete waiter error handling

The call to resourceAwsCloudFrontDistributionWaitUntilDeployed() on
deletion of CloudFront distributions was not trapping error messages,
causing issues with waiter failure.
2016-04-19 16:40:30 -05:00
Roberto Jung Drebes 65987a4b28 static routing entries for routers 2016-04-19 21:26:09 +00:00
Paul Stack a842efa6a3 documentation: Add a note to ebs_volume for snapshot_id & size (#6249) 2016-04-19 22:07:01 +01:00
Radek Simko 3213b3c6de docs: Fix typo in Beanstalk env + link to AWS docs (#6219) 2016-04-19 13:14:07 +01:00
Paul Hinze d72bb52ad4 provider/triton: fixup key_material in docs to use file()
Closes #6211
2016-04-18 18:46:38 -05:00
Sander van Harmelen b04c6f9de0 Merge pull request #6226 from svanharmelen/f-cloustack-group
provider/cloudstack: add group attribute for instance resource
2016-04-18 22:45:43 +02:00
Sander van Harmelen 55d4e3cda7 Merge branch 'cloudstack-group' of https://github.com/jefflaplante/terraform into f-cloustack-group 2016-04-18 22:32:55 +02:00
Clint 25f89c8756 provider/fastly: Add support for Request Headers (#6197)
* provider/fastly: Add support for managing Headers

Adds support for managing Headers in a Fastly configuration.

* update acc test

* update website with example of adding a header block
2016-04-18 11:11:16 -05:00
Clint fcdcb4b916 provider/aws: Default Network ACL resource (#6165)
* provider/aws: Default Network ACL resource

Provides a resource to manage the default AWS Network ACL. VPC Only.

* Remove subnet_id update, mark as computed value. Remove extra tag update

* refactor default rule number to be a constant

* refactor revokeRulesForType to be revokeAllNetworkACLEntries

Refactor method to delete all network ACL entries, regardless of type. The
previous implementation was under the assumption that we may only eliminate some
rule types and possibly not others, so the split was necessary.

We're now removing them all, so the logic isn't necessary

Several doc and test cleanups are here as well

* smite subnet_id, improve docs
2016-04-18 11:02:00 -05:00
Martin Atkins 220d73f32c provider/postgresql: default ssl_mode is "prefer"
According to the libpq documentation, "prefer" is the default in the
underlying library and so setting a different default in the Terraform
layer would be a breaking change for existing users of this provider
whose servers do not have TLS correctly configured.

The docs now link to the libpq manual's discussion of the security
implications of each of the ssl_mode options, so the user can understand
the limitations of the "prefer" default and can make an informed decision
about which setting is appropriate for their situation.
2016-04-17 08:32:02 -07:00
Martin Atkins 4954f1351f Merge #6008: PostgreSQL provider supports "ssl_mode" 2016-04-17 08:20:44 -07:00
Joe Topjian db3e731cf3 Merge pull request #6081 from jtopjian/openstack-token-auth
provider/openstack: Enable Token Authentication
2016-04-16 22:57:01 -06:00
Joe Topjian 9542efb8be provider/openstack: Notes for using OpenStack with Rackspace (#6205) 2016-04-16 23:24:22 +01:00
Martin Atkins da839e765c Fix broken example in aws_opsworks_instance docs 2016-04-16 10:26:25 -07:00
Martin Atkins 94f338d5de Merge #4276: aws_opsworks_instance resource 2016-04-16 10:14:22 -07:00
Martin Atkins bb7b8d6550 Merge #4419: aws_opsworks_application resource 2016-04-16 09:28:12 -07:00
Martin Atkins 72f121aec1 Merge #4272: custom JSON for Opsworks layers 2016-04-16 08:48:36 -07:00
Joe Topjian 831bae8624 provider/cobbler: Cobbler Provider
This introduces a provider for Cobbler. Cobbler manages bare-metal
deployments and, to some extent, virtual machines. This initial
commit supports the following resources: distros, profiles, systems,
kickstart files, and snippets.
2016-04-16 08:54:59 -05:00
David Castillo 12118b6189 Fixed typos in remote.html.markdown and connection.html.markdown. (#6195) 2016-04-15 23:05:49 +01:00
Evan Brown c6763fd3af Update docs and fix computed container settings 2016-04-14 16:33:52 -07:00
Paul Hinze eded8bbf0a Merge pull request #6087 from aheeren/Vsphere-windows
Vsphere windows support
2016-04-14 15:04:40 -05:00
Chris Marchesi a38ccbe074 CloudFront distribution and origin access identity support (#5221)
* CloudFront implementation v3

* Update tests

* Refactor - new resource: aws_cloudfront_distribution

 * Includes a complete re-write of the old aws_cloudfront_web_distribution
   resource to bring it to feature parity with API and CloudFormation.
 * Also includes the aws_cloudfront_origin_access_identity resource to generate
   origin access identities for use with S3.
2016-04-14 14:55:11 -05:00
Cameron Stokes cfbe11b126 Fix docs for azurerm_virtual_machine and ssh_keys (#6171)
For `ssh_keys` in `os_profile_linux_config`, the docs specify `key_path`, but the code expects `path` - 453d38bafc/builtin/providers/azurerm/resource_arm_virtual_machine.go (L284).
2016-04-14 00:24:01 +01:00
Adam Heeren f04298f78d Renaming linkedClone to linked_clone in config spec 2016-04-13 12:42:55 -04:00
Yousef Alam 286d2fadea Add note about ports when rule is created for all protocols (#6131) 2016-04-12 16:46:18 -05:00
Sander van Harmelen 4db1af8939 Merge pull request #6123 from svanharmelen/f-cloudstack-id
provider/cloudstck: refactor the use of names vs IDs for parameters referencing other TF resources
2016-04-12 18:34:26 +02:00
Joe Topjian 779b36106f Merge pull request #4898 from Fodoj/add-router-type
provider/openstack Add value_specs for routers
2016-04-11 22:52:10 -06:00
Peter Marton 2df53f283d Add gzip and base64 default values to cloudinit template docs (#4875) 2016-04-11 14:19:04 -05:00
Raymond Fallon 0cd0a4ec9c provider/aws: Manage Triggers for AWS CodeDeploy Event Notifications (#5599)
* provider/aws: CodeDeploy Deployment Group Triggers

  - Create a Trigger to Send Notifications for AWS CodeDeploy Events
  - Update aws_codedeploy_deployment_group docs

* Refactor validateTriggerEvent function and test

  - also rename TestAccAWSCodeDeployDeploymentGroup_triggerConfiguration test

* Enhance existing Deployment Group integration tests

  - by using built in resource attribute helpers
  - these can get quite verbose and repetitive, so passing the resource to a function might be better
  - can't use these (yet) to assert trigger configuration state

* Unit tests for conversions between aws TriggerConfig and terraform resource schema

  - buildTriggerConfigs
  - triggerConfigsToMap
2016-04-11 19:42:21 +01:00
Jeff LaPlante 014f2d5671 Added group attribute to cloudstack instance documentation markdown 2016-04-11 10:26:46 -07:00
Xavier Sellier fc9825e4c4 - Add support for 'ssl_mode' options present in lib/pq
- Update psotgresql provider's documentation
- Enforce default value to 'require' for ssl_mode
2016-04-11 13:20:39 -04:00
Seth Vargo 337895b51e Read more default envvars for GCP
- Closes #5874
- Fixes #5872
2016-04-11 12:19:07 -04:00
Seth Vargo 183100ae4e Merge pull request #6112 from hashicorp/sethvargo/gcp_project
Move GCP projece attribute onto resources, inherit from provider
2016-04-11 11:45:13 -04:00
Sander van Harmelen 815c8840a7 Refactor the use of names vs IDs for parameters referencing other TF resources
We have a curtesy function in place allowing you to specify both a
`name` of `ID`. But in order for the graph to be build correctly when
you recreate or taint stuff that other resources depend on, we need to
reference the `ID` and *not* the `name`.

So in order to enforce this and by that help people to not make this
mistake unknowingly, I deprecated all the parameters this allies to and
changed the logic, docs and tests accordingly.
2016-04-11 17:14:28 +02:00
Adam Heeren 7dfc0a6d1e Added windows clone options in vsphere and documented them 2016-04-11 09:36:06 -04:00
Jacob Severson 7721348b0b Adding privacy argument for GitHub teams for #6015 (#6116)
Added the ability to set the "privacy" of a github_team resource so all teams won't automatically set to private.

* Added the privacy argument to github_team

* Refactored parameter validation to be general for any argument

* Updated testing
2016-04-11 13:09:25 +01:00
protomouse b45e941144 add resource aws_rds_cluster_parameter_group 2016-04-11 10:26:47 +02:00
Kirill Shirinkin 5824036ca6 provider/openstack: Add value_specs for routers 2016-04-11 10:23:01 +02:00
Seth Vargo 29b073158f Update documentation to include new "project" attribute
This commit also normalizes the format we display attributes.
2016-04-10 17:34:15 -04:00
Seth Vargo 7e5ca60369 Make GCP provider "project" attribute optional 2016-04-10 13:01:23 -04:00
Joe Topjian a8a3bd71df provider/openstack: Enable Token Authentication
This commit enables the ability to authenticate to OpenStack by way
of a Keystone Token. Tokens can provide a way to use Terraform and
OpenStack with an expiring, temporary credential. The token will need
to be generated out of band from Terraform.
2016-04-10 03:20:49 +00:00
Paul Stack ed7ff1dc7f provider/triton: Change triton docs to reflect key_material not key_path (#6090) 2016-04-08 10:57:44 -05:00
Justin Clark 576e56025c Add undocumented custom_json argument to opsworks_stack doc (#6074) 2016-04-08 10:01:43 -05:00
Michael H. Oshita 786cc45d5f Update cloudwatch_metric_alarm.html.markdown (#6085)
On creating CloudWatch metric alarms, I need to get the HealthCheckId dimension. Reference would be useful.

```
    dimensions {
        "HealthCheckId" = "${aws_route53_health_check.foo.id}"
    }
```
2016-04-08 09:54:24 -05:00
Joe Topjian 28f98c3701 provider/openstack: Allow subnets with no gateway
This commit adds a no_gateway attribute. When set, the subnet will
not have a gateway. This is different than not specifying a
gateway_ip since that will cause a default gateway of .1 to be used.
This behavior mirrors the OpenStack Neutron command-line tool.

Fixes #6031
2016-04-08 03:12:49 +00:00
Justin Clayton b9417819c9 Update compute_instance_v2.html.markdown 2016-04-07 15:09:59 -07:00
Jan Nabbefeld 6bf9f21c39 Opsworks Application support 2016-04-07 14:18:50 -07:00
Paul Hinze 2de5dd06d8 Merge pull request #6070 from hashicorp/phinze/multiple-eips-per-eni
provider/aws: Allow multiple EIPs to associate to single ENI
2016-04-07 14:38:30 -05:00
Paul Hinze 8380a7b03e provider/aws: Allow multiple EIPs to associate to single ENI
When calling AssociateAddress, the PrivateIpAddress parameter must be
used to select which private IP the EIP should associate with, otherwise
the EIP always associates with the _first_ private IP.

Without this parameter, multiple EIPs couldn't be assigned to a single
ENI. Includes covering test and docs update.

Fixes #2997
2016-04-07 13:26:15 -05:00
Matthew Walter 4fbe7cb361 Corrected typo in AzureRM template deployment docs (#6068) 2016-04-07 11:26:43 -05:00
Seth Vargo 4fde3b2be9 Capitalize the H in GitHub
GitHub really doesn't like when you make the H lowercase, it violates
their brand guidelines and they won't help promote anything that doesn't
use the capital H.
2016-04-07 10:26:01 -04:00
Paul Stack 662dc9f49c update docs on required parameter for api_gateway_integration
* update docs on required parameter for api_gateway_integration

This parameter was required for lambda integration.

Otherwise,

` Error creating API Gateway Integration: BadRequestException: Enumeration value for HttpMethod must be non-empty`

* documentation: Including the AWS type on the api_gateway_integration docs
2016-04-06 16:54:40 -05:00
Hector Rivas Gandara ad761f338d provider/aws: Doc cloudwatch SNS and lambda perms
Documentation for `aws_cloudwatch_event_target` to warn that in order to be

able to have your AWS Lambda function or SNS topic invoked by a CloudWatch

Events rule, you must setup the right permissions

using `aws_lambda_permission` or `aws_sns_topic.policy`
2016-04-06 10:28:24 -05:00
Sander van Harmelen 5e6af8e01b Merge pull request #6010 from svanharmelen/f-deprecate-ipaddress
provider/cloudstack: make the CloudStack provider more inline with the other providers
2016-04-05 21:54:23 +02:00
James Nugent fe4ddba426 Merge pull request #5988 from apparentlymart/consul-key-subtree
provider/consul: consul_key_prefix resource
2016-04-05 14:41:01 -05:00
Jeff Tang 41a8220e0f add custom_json for opsworks layers 2016-04-05 08:57:19 -04:00
VERDOÏA Laurent a24207b9b7 provider/docker: #5298 Add support for docker run --user option 2016-04-04 21:43:59 -05:00
KOJIMA Kazunori d646682d7a provider/aws: Support S3 bucket notification
* Implement aws_s3_bucket_notification resource
2016-04-04 21:23:06 -05:00
Clint 986fcd95f9 provider/google: Accept GOOGLE_CLOUD_KEYFILE_JSON env var for credentials 2016-04-04 16:56:35 -05:00
Sander van Harmelen fddf3eccc6 Make the CloudStack provider more inline with the other provider
It turns out all other providers use `ip_address` where the CloudStack
provider uses `ipaddress`. To make this more consistent this PR
deprecates `ipaddress` and adds `ip_address` where needed…
2016-04-04 22:16:15 +02:00
Clint b351a72e4c provider/aws: Normalize and compact SQS Redrive, Policy JSON
* provider/aws: Nomralize SQS Redrive Policy JSON

* provider/aws: Fix typo in log statements

* compact the Policy on SNS Queue

* add acceptance test for policy formatting
2016-04-04 11:41:36 -05:00
Sander van Harmelen f81334fd88 Merge pull request #6004 from svanharmelen/f-cloudstack-static-nat
provider/cloudstack: add `cloudstack_static_nat` resource
2016-04-04 18:17:57 +02:00
Sander van Harmelen e5fecca7cc Add `cloudstack_static_nat` resource 2016-04-04 15:48:14 +02:00
Martin Atkins fa703db8a6 Merge #4955: "terraform fmt" command 2016-04-04 01:07:32 -07:00
Martin Atkins d706130a51 consul_key_prefix resource
This new resource is an alternative to consul_keys that manages all keys
under a given prefix, rather than arbitrary single keys across the entire
store.

The key advantage of this resource over consul_keys is that it is able to
detect and delete keys that are added outside of Terraform, whereas
consul_keys is only able to detect changes to keys it is explicitly
managing.
2016-04-02 20:37:11 -07:00
Martin Atkins 4b39302f04 Merge pull request #5944 from sbadia/doc-gcp
docs/google: Update links, fix syntax errors and remove whitespaces
2016-04-02 16:32:30 -10:00
Ryan Parman b9c07badba Update compute_instance_group_manager.html.markdown 2016-04-02 19:14:40 -07:00
Paul Stack 4c2738ae98 Merge pull request #5915 from dharrisio/f-aws-elastic-beanstalk-environment-options
provider/aws: Adding outputs for elastic_beanstalk_environment resource.
2016-04-01 17:34:56 -05:00
David Harris c3a6cf0620 provider/aws: Adding outputs for elastic_beanstalk_environment resource.
refs #5798
2016-04-01 13:58:09 -06:00
Alexander Savchuk b3675f4a41 Add link to Route table page, remove self-reference
This note must have been copied from the Route table page.
It makes more sense to remove the self reference and add a link to the
Route table page.
2016-04-02 08:39:19 +13:00
David Harris bb1d4ee886 provider/aws: Add support for `cname_prefix` to `aws_elastic_beanstalk_environment`. 2016-04-01 09:53:10 -06:00
Paul Stack c10c1b9a11 Merge pull request #5967 from dharrisio/f-aws-elastic-beanstalk-timeout-config
Adds `wait_for_ready_timeout` option to `aws_elastic_beanstalk_environment`.
2016-03-31 23:06:29 -05:00
David Harris a8c7fb0a06 Adds `wait_for_ready_timeout` option to `aws_elastic_beanstalk_environment`. 2016-03-31 17:28:02 -06:00
Mark Turner bc9e9faa4a Added in section for creating credentials 2016-03-31 23:03:42 +01:00
Mark Turner 06a54cdc21 Set 'Testing' title to follow same format as others 2016-03-31 21:34:27 +01:00
Sebastien Badia 63e67441b3 docs/google: Update links, fix syntax errors and remove whitespaces 2016-03-31 12:40:04 +02:00
Paul Stack 71995eaea1 Merge pull request #4971 from jedineeper/docs-fix-parameter
docs: correct remote state documentation and add config sub-arguments for atlas.
2016-03-30 21:18:16 -05:00
Paul Stack a8e0528784 Merge pull request #4277 from ctiwald/ct/add-new-asg-policy-type
Add support for "StepScaling" autoscaling policies.
2016-03-30 21:06:39 -05:00
Paul Stack 3ba1c5e7b8 Merge pull request #5884 from TimeIncOSS/docs-api-gateway-extra
docs: Add some details about API Gateway resources
2016-03-30 19:20:39 -05:00
Paul Stack 3dbedc6407 Merge pull request #5787 from iceycake/ISSUE-5702
ISSUE-5702: Making the Cloudwatch Event Rule Target target_id optional
2016-03-30 19:17:32 -05:00
Paul Stack 8ed809456d Merge pull request #5830 from hashicorp/phinze/asg-health-check-grace-period-default
provider/aws: set ASG health_check_grace_period default to 300
2016-03-30 19:05:06 -05:00
Dave Dash de61132564 ssl_certificate_id applies to lb_protocol only. 2016-03-29 14:13:54 -07:00
Clint 7d1cfde490 Merge pull request #5887 from hashicorp/b-aws-iam-server-cert-docs
provider/aws: Document lifecycle block needs for IAM Server Certificate
2016-03-29 14:35:52 -05:00
Radek Simko c7a8f05e03 Merge pull request #5890 from meteor/jsonencode
config: new interpolation function jsonencode
2016-03-29 16:33:20 +01:00
David Glasser 6cf06bb3ab config: new interpolation function jsonencode 2016-03-29 07:38:58 -07:00
Purrbiscuit 55269ae8d8 fix typo in datadog provisioner documentation 2016-03-29 10:19:28 -04:00
clint shryock ac063bf573 provider/aws: Document lifecycle block needs for IAM Server Certificate 2016-03-28 15:39:54 -05:00
Radek Simko 1ce0f1b828 docs: Add some details about API Gateway resources 2016-03-28 20:15:15 +01:00
Max Englander 4fe7db9441 #2087 add docs for consul_node and consul_service 2016-03-27 04:12:38 +00:00
Max Englander bdf2bbff2e merge master 2016-03-27 02:14:07 +00:00
Bill Fumerola 1ccfacd2dd provider/google: use non-deprecated image in acceptance tests, documentation 2016-03-26 09:55:28 -07:00
Jeshua Borges 99a1474545 Fix typo in kinesis_firehose_delivery_stream.html.markdown
Silly fix, but should be updated.
2016-03-25 16:59:26 -04:00
Radek Simko 1324838a15 Merge pull request #5857 from hashicorp/doc-ebs-block-device-mixmatch
provider/aws: doc EBS block device mix-match caveats
2016-03-25 20:41:57 +00:00
Paul Hinze 3abf815508 Merge pull request #5866 from TimeIncOSS/docs-api-gateway-fix
docs: Fix API Gateway documentation
2016-03-25 15:23:18 -05:00
Radek Simko 3afbadae75 docs: Fix API Gateway documentation 2016-03-25 20:11:00 +00:00
Sander van Harmelen 22b9e2a7d9 Update the docs to match the changes made in PR #5587 2016-03-25 18:24:16 +01:00
Paul Hinze 7501f32721 provider/aws: doc EBS block device mix-match caveats
refs #5706
2016-03-25 12:12:01 -05:00
Christopher Tiwald f5c898e345 aws_autoscaling_policy: Add documentation for StepScaling policies. 2016-03-24 16:35:54 -04:00
Clint c9293cc832 Merge pull request #5814 from hashicorp/provider-fastly-v1
provider/fastly: V1 of the Fastly Provider
2016-03-24 10:57:32 -05:00
clint shryock 3dcbdf0e28 provider/fastly: Documentation updates 2016-03-24 10:26:33 -05:00
Jeff Tang 88de250615 style updates to documentation and nil checks 2016-03-24 08:08:01 -04:00
Paul Hinze 6f76fb0702 provider/aws: set ASG health_check_grace_period default to 300
Closes #5658
2016-03-23 18:55:37 -05:00
clint shryock 2ad37bba4a provider/fastly: Add Fastly Provider, ServiceV1 resource 2016-03-23 14:53:50 -05:00
Andy Chan 76adbefb95 ISSUE-5702: 2nd attempt to impl the target_id be optional 2016-03-23 10:42:53 -07:00
Andy Chan 7008bb6b9a ISSUE-5702: Updating the documentation to reflex the corresponding change with target_id. 2016-03-23 10:25:13 -07:00
Paul Stack 0d8612b05a Merge pull request #5794 from hashicorp/f-azurerm-vm-docs-1
documentation: Fix the AzureRM documentation to remove %d from Virtual Machine
2016-03-22 21:41:13 +00:00
stack72 41e2b06875 documentation: Fix the AzureRM documentation to remove %d from Virtual
Machine
2016-03-22 21:25:49 +00:00
albert fdc105ac4d Merge pull request #5785 from ack/clc-patches
CLC update: tests and alias
2016-03-22 12:39:20 -07:00
Albert Choi 8de8c6884d [clc] re-add alias as an optional field. update docs 2016-03-22 11:25:09 -07:00
enspencer 7ee46ae343 Change stream_arm to stream_arn in docs 2016-03-22 14:08:57 -04:00
James Nugent 22a409e4cc Merge pull request #5774 from stack72/f-aws-iam-user-sshkey
provider/aws: Add `aws_iam_user_ssh_key` resource
2016-03-22 10:29:08 +00:00
stack72 49c5137ef5 provider/aws: Add documentation for `aws_iam_user_ssh_key` resource 2016-03-22 01:19:39 +00:00
Paul Hinze b2d3f92f7b Merge pull request #4893 from ack/clc
provider/clc: CenturyLink Cloud Provider
2016-03-21 18:33:00 -05:00
Henning Sprang dbb543a1fd region available is growing
Same as just changed in e46d06bd81 ;)
2016-03-21 22:12:46 +01:00
Henning Sprang e46d06bd81 region available is growing 2016-03-21 21:04:30 +00:00
Paul Hinze 293c6ca68c Revert "Revert "core: Add uuid() interpolate function.""
This reverts commit 661be01d9b.
2016-03-21 15:14:30 -05:00
stack72 fe79dcf6c1 provider/azurerm: Add the documentation for the AzureRM Template
Deployment resource
2016-03-21 18:59:54 +00:00
stack72 fb92896326 Merge branch 'master' of github.com:hashicorp/terraform 2016-03-21 18:48:47 +00:00
Andy Chan f7b85777d6 Added documentation for kms alias name_prefix 2016-03-21 18:48:15 +00:00
Clint f715c91666 Merge pull request #5756 from hashicorp/b-beanstalk-configuration-update
provider/aws: Fix crasher in Elastic Beanstalk Configuration with Options
2016-03-21 12:59:22 -05:00
Paul Hinze 74de2fa378 Merge pull request #5760 from uber/b-website-gcp-instance-group
Correct markdown for google_compute_instance_group and attach to index
2016-03-21 12:36:26 -05:00
Bill Fumerola 972aecdd84 Correct markdown for google_compute_instance_group and attach to index 2016-03-21 10:29:59 -07:00
James Nugent f946695187 Merge pull request #5444 from TimeIncOSS/f-aws-logs-metric-filter
provider/aws: Add support for CloudWatch Log Metric Filter
2016-03-21 16:43:38 +00:00
clint shryock 9ae8e85640 provider/aws: Fix crasher in Elastic Beanstalk Configuration with option settings 2016-03-21 11:43:31 -05:00
Albert Choi 7775cc8ccc snapshot from CenturyLinkLabs/terraform-provider-clc
+examples +docs for clc
2016-03-21 08:58:37 -07:00
James Nugent e70764f64d provider/triton: New provider for Joyent Triton
This brings across the following resources for Triton from the
joyent/triton-terraform repository, and converts them to the canonical
Terraform style, introducing Terraform-style documentation and
acceptance tests which run against the live API rather than the local
APIs:

- triton_firewall_rule
- triton_machine
- triton_key
2016-03-20 20:15:17 +00:00
Martin Atkins 7061448d74 Docs for InfluxDB provider and database resource 2016-03-20 14:53:34 -05:00
Josh Masseo 1b4991163f UltraDNS Provider 2016-03-20 12:10:59 -05:00
James Nugent 85b4b5813f Revert "provider/triton: New provider for Joyent Triton"
This reverts commit f60f04ac70.
2016-03-19 17:53:06 +00:00
James Nugent 5bae6cb1e6 Merge pull request #5277 from hashicorp/f-joyent-triton
provider/triton: New provider for Joyent Triton
2016-03-19 17:49:39 +00:00
James Nugent c71751c596 Merge pull request #5428 from shaneog/google_dns_managed_zone
description is now a required field for google_dns_managed_zone
2016-03-19 17:06:13 +00:00
James Nugent f60f04ac70 provider/triton: New provider for Joyent Triton
This brings across the following resources for Triton from the
joyent/triton-terraform repository, and converts them to the canonical
Terraform style, introducing Terraform-style documentation and
acceptance tests which run against the live API rather than the local
APIs:

- triton_firewall_rule
- triton_machine
- triton_key
2016-03-18 23:35:01 +00:00
Paul Hinze 020e564dc7 Merge pull request #5725 from hashicorp/phinze/aws-aurora-db-subnet-group-name-docs
provider/aws: clarify `db_subnet_group_name` in Aurora docs
2016-03-18 18:25:43 -05:00
Paul Hinze 209b691971 docs: Add a section to Debugging docs about crash logs
Not necessary for the average user, but perhaps helpful to the intrepid
one!
2016-03-18 18:10:26 -05:00
Paul Hinze fe04808d0d provider/aws: clarify `db_subnet_group_name` in Aurora docs
The `db_subnet_group_name` needs to match between clusters and their
instances.
2016-03-18 17:15:13 -05:00
Paul Hinze 4e5429a140 provider/aws: ability to generate unique RDS identifier
Needed to truncate the identifier for SQL Server engines to keep it at
max 15 chars per the docs. Not a full UUID going into it, but should be
"unique enough" to not matter in practice.

Modified the basic test to use the generated value. Other tests are
still working w/ explicitly specified identifiers.
2016-03-18 16:07:37 -05:00
stack72 2e1455df2f documentation/aws: Changing `aws_autoscaling_group` `metrics_granularity` to be optional and noting that it has a default value of 1Minute 2016-03-19 00:00:22 +05:30
Clint a8a5acec6f provider/aws: Update RDS Cluster Instance Docs
The provided config didn't work; this should patch that up, to avoid the name conflict
2016-03-18 09:34:28 -05:00
Kocsis Máté 7a0063c9eb docs/aws: Fixed aws_ecs_service example 2016-03-17 21:17:13 +01:00
Paul Hinze 07caec0d14 Merge pull request #5194 from objectpartners/f-github-provider
GitHub Organization Provider
2016-03-17 10:53:13 -05:00
stack72 808ce45612 provider/azurerm: Adds documentation for the `azurerm_virtual_machine`
resource
2016-03-17 15:08:59 +00:00
clint shryock 93a1f7a41f provider/aws: Document volume_size requirement if using EBS in ElasticSearch Domain 2016-03-17 09:00:41 -05:00
Paul Stack fea6b60f06 Merge pull request #5680 from iceycake/aws_db_instance-missing-tags-doc
Added the missing tags params to the aws_db_instance doc
2016-03-17 09:08:52 +05:30
Andy Chan 1fb74416ac Added the missing tags params to the doc 2016-03-16 16:20:40 -07:00
Jan-Arve Nygård 1aba9581f5 Changed volume to network in description for zone 2016-03-16 13:15:57 +01:00
Paul Hinze 661be01d9b Revert "core: Add uuid() interpolate function." 2016-03-15 18:39:34 -05:00
Radek Simko 7a33fad25f provider/aws: Add docs for CloudWatch Log Metric Filter 2016-03-15 15:01:20 +00:00
Jeff Tang bcd5904eea Add support for Opsworks Instances
New resource checklist
- [x] Acceptance testing
- [x] Documentation
- [x] Well-formed code
2016-03-14 15:12:43 -04:00
Paul Hinze 57070057db Merge pull request #5527 from hashicorp/phinze/untaint
command: Add `terraform untaint`
2016-03-14 09:34:43 -05:00
stack72 1f2072cd41 documentation: Marking `notification_target_arn` and `role_arn` as
optional in `aws_autoscaling_lifecycle_hook`
2016-03-14 13:23:03 +00:00
tjinjin 336822646f Fix typo: "messag" to "message." 2016-03-14 03:24:33 +09:00
Radek Simko 693b5de932 docs/aws: Add a note about ECS Service LB limitation 2016-03-13 15:22:29 +00:00
Pradeep Chhetri 19c9e14d5b Updated google instance docs with custom instance type 2016-03-13 10:23:52 +00:00
Paul Hinze c7f5450a96 command: Add `terraform untaint`
- [x] Docs
 - [x] Command Unit Tests
 - [x] State Unit Tests

Closes #4820
2016-03-11 12:38:57 -06:00
clint shryock bb806faf67 provider/aws: Document set_identifer requirement for Route53 weighted, failover types 2016-03-11 11:37:42 -06:00
Radek Simko d8b36532ef Merge pull request #5239 from TimeIncOSS/f-aws-lambda-func-updates
provider/aws: Add support for updating Lambda function
2016-03-11 16:59:18 +00:00
Paul Hinze ece259f5ed Merge pull request #5575 from hashicorp/phinze/uuid
core: Add uuid() interpolate function.
2016-03-11 10:33:01 -06:00
Sean Knox a087b29504 Fix contradictory aws_autoscaling_group doc
- Fixes https://github.com/hashicorp/terraform/issues/5457
2016-03-10 22:41:25 -08:00
Paul Hinze 14ca7e3156 docs: Clarify aws_instance.public_ip w/ EIP behavior
Closes #1425
2016-03-10 19:27:10 -06:00
Paul Hinze d447eac958 docs: ICMP type number goes in from_port in AWS SG rules
refs #1372
2016-03-10 19:23:35 -06:00
Paul Hinze 1e0b8ea478 core: Add uuid() interpolate function.
Utilizes hashicorp's go-uuid library for proper random seeding setup.
2016-03-10 18:39:07 -06:00
Paul Hinze 82765ea589 Merge pull request #5453 from bigkraig/aws-s3-kms-key
provider/aws: Support KMS encryption of S3 objects
2016-03-10 15:44:10 -06:00
Lars Wander f8784df82b provider/google: Mark next_hop_network as read only. 2016-03-10 13:58:09 -05:00
Martin Atkins 2e33f5311c Treat each consul key as having its own lifecycle
Previously this resource managed the set of keys as a whole rather than
the individual keys, and so it was unable to recognize when a particular
managed key is removed and delete just that one key from Consul.

Here this is addressed by recognizing that each key actually has its own
lifecycle, and detecting when individual keys are added and removed
without replacing the entire consul_keys instance.

Additionally this restores the behavior of updating the "value" attribute
on read, but restricts it only to blocks that already had a value so as
to avoid the quirkiness seen previously when we updated blocks that were
intended to be read-only. Updating the value is important now, because we
rely on this to detect and repair discrepancies between values stored in
Consul and values given in the configuration.

This change produces a change in the handling of the "delete" attribute.
Before it was considered only when the entire consul_keys resource was
deleted, but now it is considered also when a particular key block is
removed from within a resource.
2016-03-10 07:52:43 -08:00
Clint 5b6637e607 Merge pull request #5512 from serbaut/cs-vpc-domain
provider/cloudstack docs: add vpc.network_domain
2016-03-10 09:26:42 -06:00
Clint 239b3e4f5f Merge pull request #5533 from hashicorp/pr-5184
provider/aws: Fix EC2 Classic SG Rule issue
2016-03-10 08:56:29 -06:00
Radek Simko 9f6b487791 provider/aws: Document lambda_function updates 2016-03-10 12:31:36 +00:00
Paul Hinze d12944797a Merge pull request #3928 from TimeIncOSS/aws-kms
provider/aws: Add support for KMS
2016-03-09 18:30:06 -06:00
Pablo Porto b3ecf8eb73 Fix missing double quotes in postgresql_database resource 2016-03-09 23:42:59 +00:00
Ricard Clau 8e486985d3 vsphere_folder resource missing in vsphere provider layout 2016-03-09 23:16:12 +00:00
James Nugent 8d9126b8e3 Make aws_route and aws_route_table docs consistent
Fixes #5531.
2016-03-09 21:05:08 +00:00
ephemeralsnow 54cb5ffe00 provider/aws: Fix EC2 Classic SG Rule issue
Fixes an issue where security groups would fail to update after applying an
initial security_group, because we were improperly saving the id of the group
and not the name (EC2 Classic only).

This is a PR combining https://github.com/hashicorp/terraform/pull/4983 and
https://github.com/hashicorp/terraform/pull/5184 . It's majority
@ephemeralsnow's work.
2016-03-09 09:51:41 -06:00
Paul Stack 4601d371e1 Merge pull request #5524 from stack72/f-aws-ecr-repository_name
provider/aws: `repository_url` is computed for `aws_ecr_repository`
2016-03-09 09:38:09 +00:00
stack72 7c5ab40b74 provider/aws: Add support for the `repository_url` to be computed for
ECR
2016-03-09 09:29:23 +00:00
Paul Stack b5e6cb5f88 Merge pull request #5520 from bsiegel/aws_rds_cluster_encryption
Add storage_encrypted as an optional parameter to aws_rds_cluster
2016-03-09 00:21:26 +00:00
stack72 cad550e63d provider/aws: Add support for `description` to `aws_network_interface`
resource
2016-03-08 23:28:37 +00:00
Jacob Severson c1b373ad5f Add Github Organization provider.
Allows for managing organization membership, teams, team membership, and
team repositories.
2016-03-08 23:06:30 +01:00
Brandon Siegel 8a60c68c8c Update rds_cluster.html.markdown
Add documentation around the `storage_encrypted` parameter
2016-03-08 16:51:16 -05:00
Joakim Sernbrant 4a3dbef0c8 provider/cloudstack docs: add vpc.network_domain 2016-03-08 19:20:15 +01:00
Radek Simko c030745e45 docs: Make a separate Elastic Beanstalk section in sidebar 2016-03-08 09:53:06 +00:00
Radek Simko 6f8a9c0f77 aws: kms_key - Add support for is_enabled + enable_key_rotation 2016-03-08 09:30:47 +00:00
Radek Simko 4c1f8db32d aws: kms_key - Change field name (deletion_window -> deletion_window_in_days) 2016-03-08 09:30:47 +00:00
Philip Witty fd4be284da Added docs for kms 2016-03-08 09:30:47 +00:00
Paul Hinze ec5643f031 Merge pull request #5482 from randomeizer/patch-1
Added a cast to "(*schema.Provider)"
2016-03-07 16:29:57 -06:00
clint shryock f0d3176999 provider/aws: Add Elastic Beanstalk Application, Configuration Template, and Environment
This adds support for Elastic Beanstalk Applications, Configuration Templates,
and Environments.

This is a combined work of @catsby, @dharrisio, @Bowbaq, and @jen20
2016-03-07 14:43:23 -06:00
Michael Mell 525fddff61 insert missing word 2016-03-07 11:18:49 -08:00
Dan Carley 79e2753e41 command/fmt: Disable list/write when using STDIN
These options don't make sense when passing STDIN. `-write` will raise an
error because there is no file to write to. `-list` will always say
`<standard input>`. So disable whenever using STDIN, making the command
much simpler:

    cat main.tf | terraform fmt -
2016-03-07 15:07:15 +00:00
Dan Carley e9128769b5 command/fmt: Accept input from STDIN
So that you can do automatic formatting from an editor. You probably want to
disable the `-write` and `-list` options so that you just get the
re-formatted content, e.g.

    cat main.tf | terraform fmt -write=false -list=false -

I've added a non-exported field called `input` so that we can override this
for the tests. If not specified, like in `commands.go`, then it will default
to `os.Stdin` which works on the command line.
2016-03-07 15:07:15 +00:00
Dan Carley 1b967e612f command/fmt: Accept optional directory argument
So that you can operate on files in a directory other than your current
working directory.
2016-03-07 15:07:14 +00:00
Dan Carley c753390399 command/fmt: Default write and list to true
The most common usage usage will be enabling the `-write` and `-list`
options so that files are updated in place and a list of any modified files
is printed. This matches the default behaviour of `go fmt` (not `gofmt`). So
enable these options by default.

This does mean that you will have to explicitly disable these if you want to
generate valid patches, e.g. `terraform fmt -diff -write=false -list=false`
2016-03-07 15:07:14 +00:00
Dan Carley cc41c7cfa0 command/fmt: Add new fmt command
This uses the `fmtcmd` package which has recently been merged into HCL. Per
the usage text, this rewrites Terraform config files to their canonical
formatting and style.

Some notes about the implementation for this initial commit:

- all of the fmtcmd options are exposed as CLI flags
- it operates on all files that have a `.tf` suffix
- it currently only operates on the working directory and doesn't accept a
  directory argument, but I'll extend this in subsequent commits
- output is proxied through `cli.UiWriter` so that we write in the same way
  as other commands and we can capture the output during tests
- the test uses a very simple fixture just to ensure that it is working
  correctly end-to-end; the fmtcmd package has more exhaustive tests
- we have to write the fixture to a file in a temporary directory because it
  will be modified and for this reason it was easier to define the fixture
  contents as a raw string
2016-03-07 15:07:04 +00:00
Derek Goss 91204cf7eb Added disk_size_gb documentation to resource "google_compute_instance_template"
This was missing in the docs yet was implemented in Terraform. See line 81 in https://github.com/hashicorp/terraform/blob/master/builtin/providers/google/resource_compute_instance_template.go
2016-03-06 21:44:55 -05:00
David Peterson 0c152845ca Added a cast to "(*schema.Provider)" in the standard TestProvider function 2016-03-06 19:16:34 -03:00
Kazunori Kojima fbc94cb330 website: Fix missing sidebar_current 2016-03-06 23:51:25 +09:00
Radek Simko 61d0d19ae3 Fix typo (APIGateway -> API Gateway) 2016-03-06 09:29:31 +00:00
Radek Simko b12d906258 aws/docs: Fix wrong field name (parent_resource_id -> parent_id) 2016-03-06 09:29:31 +00:00
Radek Simko ce5324b341 Merge pull request #4295 from nicolai86/feature/aws-api-gateway
provider/aws: API Gateway resources
2016-03-06 09:00:02 +00:00
Raphael Randschau 6430fca7f6 Add aws_api_gateway_deployment resource 2016-03-05 23:21:58 +01:00
Raphael Randschau 8c59d0861e Add aws_api_gateway_api_key resource 2016-03-05 23:21:54 +01:00
Raphael Randschau b4c99f1009 Add aws_api_gateway_model resource 2016-03-05 23:21:51 +01:00
Raphael Randschau 4da8b3d03a Add aws_api_gateawy_integration_response resource 2016-03-05 23:21:48 +01:00
Raphael Randschau 1593dbe9c8 Add aws_api_gateway_integration resource 2016-03-05 23:21:44 +01:00
Raphael Randschau 91f5206f8d Add aws_api_gateway_method_response resource 2016-03-05 23:21:41 +01:00
Raphael Randschau 032e6081cb Add aws_api_gateway_method resource 2016-03-05 23:21:38 +01:00
Raphael Randschau 7ead800f6a Add aws_api_gateway_resource resource 2016-03-05 23:21:35 +01:00
Raphael Randschau a73721d248 Add aws_api_gateway_rest_api resource 2016-03-05 23:13:38 +01:00
Paul Stack 75679a1eb2 Merge pull request #5461 from marcosnils/dynamodb_stream_fix
Fix DynamoDB stream attribute scope
2016-03-05 18:39:49 +01:00
Paul Hinze 76373b70fb website: underscore not allowed in vsphere VM name
closes #5448
2016-03-04 17:15:09 -06:00
Marcos Lilljedahl cb9f1fb8fa Fix DynamoDB stream attribute scope
Stream information is at the table level and not at the LSI / GSI

Reference: http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateTable.html

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2016-03-04 16:17:57 -05:00
Kraig Amador db91aebd8e Added a kms_key_id parameter which will allow you to encrypt objects that are put into a bucket. 2016-03-03 16:20:01 -08:00
Shane O'Grady b03fc1d2e9 description is now a required field for google_dns_managed_zone
The description field for a managed-zone is now a required field when using the Cloud API.
This commit defaults the field to use the text "Managed by Terraform" to minimize required boilerplate for Terraform users.

Ref: https://cloud.google.com/sdk/gcloud/reference/dns/managed-zones/create
2016-03-02 17:23:11 -03:00
gamename 3bc09db7e0 docs(variables): redundant wording 2016-03-01 17:13:05 -06:00
gamename c6b350b98e docs(variables): describe order of evaluation with files 2016-03-01 17:08:57 -06:00
Radek Simko 8ca732528c docs: CloudWatch Event Target expects role name (not ARN) 2016-03-01 12:38:55 +00:00
stack72 d3697fa50b provider/aws: Combine AWS Metrics Collection resource and AWS
Autoscaling Group
2016-02-29 20:58:41 +00:00
stack72 4fc1391303 Scaffold the AWS Autoscaling Group Metrics Collection 2016-02-29 19:24:30 +00:00
Paul Hinze 0d728bee70 provider/aws docs: Mark ForceNew fields, note about description
The `description` field is easy to confuse for a nice field to
add an arbitrary comment to - and it's surprising that changes to this
field force a new resource, so we add a big note about it to point users
at tags.

Also marked all the other ForceNew attributes on this resource.
2016-02-29 12:06:33 -06:00
stack72 7b61567bf6 provider/aws: `aws_elastisearch_domain` tags not being set correctly.
The top level object was used not the tags within
2016-02-28 18:31:58 +00:00
Martin Atkins f09a5661cf tls_self_signed_cert reference subject doc from tls_cert_request
tls_self_signed_cert is really just a shorthand over tls_cert_request and
tls_locally_signed_cert, so rather than duplicating all of this
documentation and risking that it will get out of sync (since the
structure is shared in the implementation) we'll just link to the
existing docs.

This fixes #5343.
2016-02-27 04:37:41 -08:00
Joe Topjian e872c3d8ba provider/openstack: Instance Block Device cleanup
This commit fixes and cleans up instance block_device configuration.

Reverts #5354 in that `volume_size` is only required in certain
block_device configuration combinations. Therefore, the actual
attribute must be set to Optional and later checks done.

Doc upates, too.
2016-02-27 06:05:01 +00:00
Joe Topjian ed9e7de901 provider/openstack: multi ephemeral support
This commit adds the ability to create instances with multiple
ephemeral disks. The ephemeral disks will appear as local block
devices to the instance.
2016-02-27 04:56:27 +00:00
Joe Topjian cb9099e28a Merge pull request #5355 from jtopjian/openstack-domain-env-vars
provider/openstack: Add Support for Domain environment variables
2016-02-26 21:42:05 -07:00
Joe Topjian 8d00ee3836 provider/openstack: Add Support for Domain environment variables
This commit adds the ability to specify the Domain ID and Domain Name
by OS_DOMAIN_ID and OS_DOMAIN_NAME respectively.
2016-02-27 04:34:17 +00:00
Joe Topjian 41e6851c15 provider/openstack: Making Block Device Size Required
The `volume_size` of a `block_device` was originally set to Optional,
but it's a required parameter in the OpenStack/Nova API. While it's
possible to infer a default size of the block device, making it required
more closely matches the Nova CLI client as well as provides consistent
experience when working with multiple block_devices.
2016-02-27 04:13:26 +00:00
Sander van Harmelen 5525772a74 provider/cloudstack: small doc update 2016-02-26 23:44:53 +01:00
Joakim Sernbrant 7d30423a61 provider/cloudstack: Improve ssh keypair handling
- adds support for projects

- adds support for public_key strings as well as filenames
2016-02-26 23:06:16 +01:00
Lars Wander 6a8c814be8 Merge pull request #4087 from ajcrowe/google-instance_groups
provider/google: Support for unmanaged instance groups (google_compute_instance_group)
2016-02-26 15:33:08 -05:00
Alex Crowe b3f7d1e386 Added google_compute_instance_group resource 2016-02-26 18:41:35 +00:00
Paul Stack cc0c07e93a Merge pull request #5337 from lvjp/b-docker-container-restart
provider/docker: #2417 Add support for restart policy unless-stopped
2016-02-26 14:18:29 +00:00
Radek Simko d60f22809f Merge pull request #5029 from TimeIncOSS/f-aws-iam-pass-policy
provider/aws: Add support for account password policy
2016-02-26 13:36:46 +00:00
Radek Simko 1686a1023c provider/aws: Add docs for AWS Account Password Policy resource 2016-02-26 13:29:34 +00:00
Verdoïa Laurent ea5f53782a provider/docker: #2417 Add support for restart policy unless-stopped 2016-02-26 12:38:31 +09:00
Radek Simko adec84d8e6 provider/aws: Document how to update s3_bucket_object 2016-02-25 19:56:42 +00:00
James Nugent 5b548e938c Merge pull request #5327 from Originate/s3-website-routing-rules
Added routing rules to s3 buckets
2016-02-25 14:43:55 -05:00
Drew Minnear ef50479e8a added routing rules to s3 buckets 2016-02-25 10:19:23 -08:00
Justin Nauman f8e9a8150a Update null_resource.html.markdown
Fixing example w/ interpolation error.
2016-02-25 09:13:54 -06:00
Paul Hinze 984d682955 Merge pull request #4284 from matt-deboer/master
Added support for disk init types
2016-02-25 08:44:27 -06:00
Radek Simko b6c6e3eba3 Merge pull request #5267 from TimeIncOSS/f-config-md5-func
config: Add new interpolation function - md5
2016-02-24 14:00:08 +00:00
Radek Simko bb5af50b25 docs: Document new interpolation function md5 2016-02-24 13:01:05 +00:00
Radek Simko b90cd618c2 docs: Sort interpolation functions alphabetically 2016-02-24 13:01:05 +00:00
Akram Hussein f887b70964 aws_cloudwatch_metric_alarm docs reference 'namespace' twice. 2016-02-24 12:39:22 +00:00
Feanil Patel 8fbacf7261 Fix -module-depth typo
The module depth parameter had an equal sign instead of a dash in the name.
2016-02-23 20:02:36 -05:00
Paul Stack e454b21100 Merge pull request #5271 from stack72/f-aws-dynamodb-stream-arn
provider/aws: Enable DynamoDB Table to output `stream_arm` when streams are enabled
2016-02-23 17:27:22 +00:00
stack72 8d6cfe8e89 Implement RetentionPeriod Changes for AWS Kinesis Stream 2016-02-23 17:15:33 +00:00
stack72 0ce4aed52a provider/aws: Enable DynamoDB Table to output `stream_arm` when streams
are enabled
2016-02-23 15:40:41 +00:00
Paul Stack 57f58dec98 Merge pull request #5262 from stack72/b-aws-redshift-cluster-public
provider/aws: `aws_redshift_cluster` publicly_accessible now defaults true
2016-02-22 23:19:30 +00:00
stack72 e822d46843 provider/aws: `aws_redshift_cluster` publicly_accessible now defaults to
true
2016-02-22 23:11:55 +00:00
Paul Stack d5fb018250 Merge pull request #4945 from stack72/aws-rds-enhanced-monitoring
provider/aws: Enabled Enhanced Monitoring for RDS
2016-02-22 22:02:09 +00:00
Otto Jongerius c8bd02abee Add Datadog doco. 2016-02-22 15:04:29 -05:00
James Nugent 8e4691d895 Merge pull request #5203 from hashicorp/f-azurerm-search-service
provider/azurerm: Add Search Service resource
2016-02-22 13:53:02 -05:00
James Nugent 7d1c43b3fc Merge branch 'f-digitalocean-record-fqdn' of https://github.com/stack72/terraform into stack72-f-digitalocean-record-fqdn 2016-02-22 13:29:42 -05:00
James Nugent 16b18df1fd Merge pull request #5238 from stack72/f-aws-redshift-calculate-cluster
provider/aws: Change Redshift Cluster cluster_type to be computed
2016-02-22 13:18:09 -05:00
James Nugent 9f4826d447 provider/google: Document schema conflict in network 2016-02-22 13:15:02 -05:00
Paul Stack 30dcc45635 Merge pull request #5178 from hashicorp/f-aws-iam-server-updates
provider/aws: Update IAM Server Cert
2016-02-22 18:07:22 +00:00
Lars Wander 20f8104caf provider/google: Add support for reading SQL instance assigned IP Addresses 2016-02-22 10:38:14 -05:00
stack72 e6e18a4a9e provider/aws: Change Redshift Cluster cluster_type to be computed
It will be based off the number of nodes. Can only be multi-node (>1
node) or single-node (nodes=1)
2016-02-21 19:42:02 +00:00
Joshua Garnett 12958fb5e7 Added support for the deployment configuration settings to the ecs service resource. 2016-02-19 15:32:39 -05:00
Paul Hinze 92dc20bb35 Merge pull request #5214 from hashicorp/phinze/doc-file-path-info
website: clarify `file()` base location
2016-02-19 12:14:35 -06:00
Paul Hinze a7b8a54a83 website: clarify `file()` base location
refs #5213
2016-02-19 09:56:55 -06:00
stack72 3eab9f2ff0 provider/azurerm: Add documentation for the `azurerm_search_service`
resource
2016-02-19 00:57:51 +00:00
Matt Morrison f66f37f4d8 Add more acceptance tests, and fix some test cases 2016-02-18 08:37:58 -08:00
Matt Morrison d6039af398 Add subnetwork resource ACC tests, additional doc updates 2016-02-18 08:37:58 -08:00
Matt Morrison 430ed48a44 Update google resources where necessary to make use of subnetworks, update som docs 2016-02-18 08:37:58 -08:00
clint shryock c8178ad31c provider/aws: Update IAM Server Cert to allow name_prefix, auto generated namesprovider/aws: Update IAM Server Cert to allow name_prefix, auto generated namesdiff 2016-02-17 16:34:02 -06:00
James Nugent f7504f7f9f Merge branch 'master' of https://github.com/vincer/terraform into vincer-master 2016-02-17 13:16:16 -08:00
Clint 1ba59994e8 Merge pull request #5124 from steve-jansen/patch-2
Link aws_ami_copy documentation to aws_ami
2016-02-17 10:40:32 -06:00
stack72 5233c85172 provider/azurerm: Documentation update for `azurerm_network_interface` 2016-02-17 15:59:26 +00:00
Joe Topjian dc5aa5e0bf Merge pull request #4878 from Fodoj/support-dvr
provider/openstack Add Distributed router support
2016-02-17 08:22:45 -07:00
Paul Stack cd28433c2a Merge pull request #4826 from TimeIncOSS/f-aws-lambda-permission
[WIP] provider/aws: Add aws_lambda_permission
2016-02-17 13:31:29 +00:00
Paul Stack 77deff1194 Merge pull request #5135 from TimeIncOSS/f-aws-cloudtrail-tags
provider/aws: Add support for CloudTrail tags
2016-02-16 21:55:45 +00:00
vince rosso 2b43a317a9 documentation for lambda in VPC 2016-02-16 12:16:43 -08:00
Paulo Schreiner 7293ab99d3 Added option to attach an ELB to Opsworks layer 2016-02-16 09:44:15 -06:00
Radek Simko f53ea0b4a4 provider/aws: Add docs for aws_lambda_permission 2016-02-15 17:16:41 +00:00
Radek Simko fa92e7bd87 provider/aws: Add docs for CloudTrail tags 2016-02-15 14:11:48 +00:00
Radek Simko fdd9c3b2b8 Merge pull request #4711 from srikalyan/master
Added support for http/https endpoints that auto confirms SNS topic subscription.
2016-02-14 21:13:22 +00:00
Jonathan Kinred 3156018f42 Update doco for ip enhancements in vmware-govcd 2016-02-14 21:22:30 +11:00
Paul Stack c2feea063b Merge pull request #5126 from lwander/b-gcp-template-disk-type-doc
provider/google: Fix documentation around GCE Disk Type
2016-02-13 18:35:50 +00:00
Lars Wander 08f86e65ba provider/google: Route doc zone update 2016-02-13 10:23:55 -05:00
Lars Wander 70a6419189 provider/google: Fix documentation around GCE Disk 2016-02-13 10:20:56 -05:00
Steve Jansen 6c680a6a17 Link aws_ami_copy documentation to aws_ami
Clarify that aws_ami_copy can use the arguments from aws_ami.
2016-02-13 08:36:09 -05:00
Radek Simko e288b161d7 provider/aws: Document CloudWatch Events 2016-02-13 13:21:33 +00:00
Srikalyan Swayampakula f21dc995c5 Update code based on the review suggestions.
1. Used resource.Retry instead of custom solution
2. Removed unnecessary variables and added required variable to resource.Retry.
2016-02-12 12:21:52 -08:00
Kirill Shirinkin 63016155ea Add distributed routers support 2016-02-12 19:55:27 +01:00
Clint 169b63e401 Merge pull request #5032 from clstokes/f-aws-gateway-tunnel-info
provider/aws: Expose additional VPN Connection attributes.
2016-02-12 10:31:23 -06:00
Hasan Türken 766dac4d79 update documentation 2016-02-12 09:56:48 -06:00
Hasan Türken e41266e971 Move endpoint options into endpoints block 2016-02-12 09:38:21 -06:00
Hasan Türken 231604e8b7 support custom endpoints for AWS EC2 ELB and IAM 2016-02-12 09:35:50 -06:00
Clint a6d3c4e181 Merge pull request #5087 from vmindru/master
aws_instance docs
2016-02-12 09:09:21 -06:00
Shane O'Grady 86f791aa2b Fix a typo: "encryption" to "encrypted"
Ref PR: #4481
2016-02-12 10:46:05 -02:00
Oleksandr Kushchenko a07005eacd Update azure provider documentation. 2016-02-12 11:39:14 +00:00
Sander van Harmelen 7c32752332 Merge pull request #4906 from svanharmelen/f-chef-attribute-file
provisioner/chef: make the Chef `attributes` param also accept a raw JSON string
2016-02-11 20:57:56 +01:00
Srikalyan Swayampakula 5f558c0536 Updated the documentation to include the defaults for the remaining fields added in the PR
and add the link to amazon describing the auto confirming subscription.
2016-02-11 09:23:45 -08:00
Alex Clifford 706162fb3a Grammar inconsistencies 2016-02-11 10:06:43 +11:00
Veaceslav Mindru 1901533bea aws instance docs
associate_public_ip_address - missing explicit mentioning  that this is a bool.
2016-02-10 19:31:07 +01:00
Karol Stepniewski 45d76e4634 Fix a typo in openstack network example
OpenStack port uses "fixed_ip" property to specify Fixed IP addresses,
but network example incorrectly uses "fixed_ipS" key.
2016-02-09 17:41:03 -08:00
stack72 b57a3094f6 provider/digitalocean: Addsa FQDN out to the `digitalocean_record`
resource. This is a computed field
2016-02-09 16:57:42 +00:00
Sander van Harmelen ac0cbd400e Add `attributes_json` param for consistency
Add `attributes_json` param for both consistency and easier management
of deprecating the old `attributes` param.
2016-02-09 11:11:46 +01:00
Craig Marsden a2532a3457 correct remote state documentation and add config sub-arguments for atlas. 2016-02-08 22:21:50 +00:00
James Nugent dad70e4659 Merge pull request #5057 from stack72/azurerm-sql-firewall-rule
provider/azurerm: Add `azurerm_sql_firewall_rule` resource
2016-02-08 16:43:30 -05:00
stack72 584b52c34c provider/azurerm: Add `azurerm_sql_firewall_rule` resource 2016-02-08 21:13:59 +00:00
Radek Simko 05b6af5d83 Merge pull request #5051 from TimeIncOSS/f-aws-cloudtrail-fields
provider/aws: Add support for CloudTrail log validation + KMS encryption
2016-02-08 21:05:35 +00:00
Radek Simko 7fed07a0a2 docs: Clarify use cases in docs for the validate cmd 2016-02-08 12:36:30 +00:00
Radek Simko d8de124c89 provider/aws: Document log file validation + KMS Key ID in CloudTrail 2016-02-08 11:53:40 +00:00
Soren Mathiasen db69a2959b Added verify command 2016-02-08 12:48:14 +01:00
James Nugent 815df069c0 Merge pull request #5041 from stack72/azurerm-dns-recordsets-2
provider/azurerm: MX, SRV, TXT and NS Resources
2016-02-07 17:53:23 -05:00
stack72 81b50330a1 provider/azurerm: Add `azurerm_dns_mx_record` resource 2016-02-07 22:26:56 +00:00
stack72 8ac4d2e080 provider/azurerm: Add `azurerm_dns_srv_record` resource 2016-02-07 21:49:02 +00:00
Radek Simko 14e6f6e4ce docs: Clarify example usage of the signum function 2016-02-07 20:28:58 +00:00
Radek Simko 4edf782260 Merge pull request #4854 from jfromaniello/add_signum_interpolation
Add signum interpolation function
2016-02-07 19:44:16 +00:00
Cameron Stokes a239a2a125 Add docs for new aws_vpn_connection attributes. 2016-02-06 12:49:55 -08:00
stack72 f9ffeae0f6 provider/azurerm: Add `azurerm_dns_ns_record` resource 2016-02-06 19:09:52 +00:00
stack72 37bc5a4c80 provider/azurerm: Add `azurerm_dns_txt_record` resource 2016-02-06 18:43:53 +00:00
Maxime Bury eaacf5c618 Add multi-region option to cloudtrail 2016-02-05 13:15:05 -05:00
stack72 6b5e5710c8 provider/azurerm: Add DNS CName Record Resource 2016-02-05 12:51:33 +00:00
stack72 1357f150a5 provider/azurerm: Add AzureRM AAAA DNS Record resource 2016-02-05 12:14:09 +00:00
stack72 761308cd2a provider/azurerm: Add the DNS A Record Resource 2016-02-05 11:28:48 +00:00
James Nugent d5601a41d1 Merge pull request #5003 from stack72/azurerm-sql-database
provider/azurerm: Add azurerm_sql_database resource
2016-02-04 19:16:39 -05:00
Rich Burroughs cb537e9d7d fixed typo in AWS docs, export was misspelled 2016-02-04 15:43:42 -08:00
stack72 d89088246c provider/azurerm: Adding azurerm_sql_database resource 2016-02-04 23:36:50 +00:00
Sander van Harmelen 79e2642dab Fix issue #4881
This fixes issue #4881 by adding an option to fetch the Chef SSL
certificates.
2016-02-04 15:31:24 +01:00
stack72 4ef557bed7 deps: Update jen20/riviera 2016-02-04 10:02:58 +00:00
Paul Stack 255be73ebf Merge pull request #4979 from hashicorp/f-azurerm-dns-zone
provider/azurerm: Add `azurerm_dns_zone` resource
2016-02-03 19:43:04 +00:00
Mike Cowgill c7118eff24 updating launch_configuration aws documentation to include the placement_tenancy argument 2016-02-03 09:00:16 -08:00
Paul Stack 1421d4ce18 provider/azurerm: Add `azurerm_dns_zone` resource
This resource is the first which makes use of the new Riviera library
(at https://github.com/jen20/riviera), so there is some additional set
up work to add the provider to the client which gets passed among
resources.
2016-02-02 19:53:00 -05:00
stack72 e87d3bb711 Enabled Enhanced Monitoring for RDS 2016-02-03 00:14:24 +00:00
Joe Topjian baeaee0103 Merge pull request #4359 from jtopjian/jtopjian-openstack-lb-member
provider/openstack: Load Balancing Member Resource
2016-01-31 15:40:15 -07:00
Joe Topjian 1ccd0491ff Merge pull request #4812 from jtopjian/openstack-per-network-floating-ip
provider/openstack: Per-network Floating IPs
2016-01-31 15:24:59 -07:00
Joe Topjian df660a26a1 provider/openstack: Per-network Floating IPs
This commit adds the ability to associate a Floating IP to a specific
network. Previously, there only existed a top-level floating IP
attribute which was automatically associated with either the first
defined network or the default network (when no network block was
used).

Now floating IPs can be associated with networks beyond the first
defined network as well as each network being able to have their own
floating IP.

Specifying the floating IP by using the top-level floating_ip
attribute and the per-network floating IP attribute is not possible.

Additionally, an `access_network` attribute has been added in order
to easily specify which network should be used for provisioning.
2016-01-31 22:17:51 +00:00
Joe Topjian 7e30b5d877 Merge pull request #4928 from jtopjian/openstack-port-ip-acc-test
provider/openstack Add Acceptance Test for No Port IP
2016-01-31 15:11:33 -07:00
Joe Topjian b488541ee9 provider/openstack Add Acceptance Test for No Port IP 2016-01-31 22:04:06 +00:00
Joe Topjian 2e2ea033c5 Merge pull request #4851 from Sheile/b-openstack-convert-fixedips
provider/openstack Convert FixedIPS from struct to map for ResourceData
2016-01-31 14:59:41 -07:00
stack72 9407f538cf Changing the default for ship_final_snapshot on redshift_cluster to be true so as to match the code 2016-01-31 21:48:05 +00:00
Colin Hebert 5ef7e42834 provider/docker: Update documentation
- Use a consistent format
- Remove typos
- Specify the expected parameter type for each entry
- Change importance of block documentation
2016-01-31 08:23:35 +11:00
Radek Simko 1018af5662 config: Add docs for new base64sha256 func 2016-01-30 13:19:10 +01:00
Colin Hebert d92d205dd9 rename trim to trimspace 2016-01-30 20:51:28 +11:00
Colin Hebert f5074cd521 Add the trim() interpolation function 2016-01-30 10:28:04 +11:00
Sander van Harmelen da927fcd08 Make the Chef `attributes` param also accept a raw JSON string
See the updated docs for more details and examples, but in short this
enables the `attributes` param from the Chef provisioner to accept a
raw JSON string.

Fixes #3074
Fixes #3572
2016-01-29 18:41:14 +01:00
Kevin Woods a994a9b72f updated referenced zone to use .zone_id vs .id 2016-01-29 11:03:02 -05:00
Clint b7582fa6d9 Merge pull request #4869 from hashicorp/b-aws-provider-auth-docs
provider/aws: Provide a better message if no AWS creds are found
2016-01-29 09:25:26 -06:00
clint shryock 70fae670b7 Update auth page for AWS 2016-01-29 09:09:24 -06:00
Yo Takezawa 17e6e5d118 provider/openstack Convert FixedIPS from struct to map for ResourceData 2016-01-29 14:23:03 +09:00
Joe Topjian 5474d751ab Merge pull request #4850 from Sheile/f-openstack-optional-ipaddress
provider/openstack Changing the port resource to mark the ip_address as optional
2016-01-28 22:11:27 +01:00
James Nugent 932127e8c3 Merge pull request #4885 from hashicorp/alkersan-pdns
Rebased PowerDNS provider
2016-01-28 14:25:15 -05:00
Clint dd0475ca4e Merge pull request #4879 from hashicorp/b-aws-vpc-classiclink-fix
providers/aws: Fix issue with VPC Classic Link and regions that don't support it
2016-01-28 10:54:40 -06:00
clint shryock 2ac040bef2 providers/aws: Fix issue with VPC Classic Link and regions that don't support it
- use eu-central-1 to a config to check for #4874
- update documentation
2016-01-28 10:12:06 -06:00
Paul Stack 05d19b0fc3 Merge pull request #4693 from stack72/f-aws-asg-schedule-0values
provider/aws: aws autoscale schedule 0 values
2016-01-28 15:38:41 +00:00
Dmytro Aleksandrov 3cfe3374a3 provider/powerdns: Add site documentation 2016-01-28 10:10:46 -05:00
clint shryock 45c9a10d0f provider/aws: Provide a better message if no AWS creds are found 2016-01-27 16:30:03 -06:00
Lars Bahner 9e3cef3ce5 Fixed typo in documentation. 2016-01-27 21:20:18 +01:00
Paul Hinze da872eee66 Merge pull request #4864 from hashicorp/phinze/aws-min-elb-cap-regression
aws: undeprecate min_elb_capacity; restore min capacity waiting
2016-01-27 14:17:10 -06:00
Paul Hinze c70eab6500 aws: undeprecate min_elb_capacity; restore min capacity waiting
It was a mistake to switched fully to `==` when activating waiting for
capacity on updates in #3947. Users that didn't set `min_elb_capacity ==
desired_capacity` and instead treated it as an actual "minimum" would
see timeouts for every create, since their target numbers would never be
reached exactly.

Here, we fix that regression by restoring the minimum waiting behavior
during creates.

In order to preserve all the stated behavior, I had to split out
different criteria for create and update, criteria which are now
exhaustively unit tested.

The set of fields that affect capacity waiting behavior has become a bit
of a mess. Next major release I'd like to rework all of these into a
more consistently named block of config. For now, just getting the
behavior correct and documented.

(Also removes all the fixed names from the ASG tests as I was hitting
collision issues running them over here.)

Fixes #4792
2016-01-27 13:30:44 -06:00
Lars Bahner 8f2d39be45 On Oracle RDS DB instances you can't change the encoding
of the database after creation. So we need to be able to
set the CharacterSetName on creation.
This is an option and will automagically default to
AL32UTF8.

The AWS SDK will give you an error message if you try to
apply this setting to other engines. The patch will only
report the character_set_name attribute, if CharacterSetName
is set on the instance.

Signed-off-by: Lars Bahner <lars.bahner@gmail.com>
2016-01-27 18:39:00 +01:00
James Nugent 4e22655192 Merge pull request #4811 from superseb/vcd_unverified_ssl
provider/vcd: Add flags for unverified SSL/TLS
2016-01-27 11:59:24 -05:00
José F. Romaniello c8795b8565 Add signum interpolation function
This function returns -1 for negative numbers, 0 for 0 and 1 for positive numbers.

Useful when you need to set a value for the first resource and a different value for the rest of the resources.

Example: `${element(split(",", var.r53_failover_policy), signum(count.index))}`
2016-01-27 12:49:52 -03:00
stack72 5a5c32e7d2 Azure RM Storage Queue:
Adds the schema, CRUD, acceptance tests and documentation for the
AzureRM storage Queue resource
2016-01-27 12:27:58 +00:00
Yo Takezawa 0aff8e28a5 provider/openstack Changing the port resource to mark the ip_address as Optional 2016-01-27 17:36:29 +09:00
stack72 e470ffd0be AzureRM storage container and blob tests and documentation 2016-01-27 00:23:57 +00:00
Radek Simko df1df86771 docs/remote-state/s3: Fix typo 2016-01-25 22:16:25 +00:00
Sebastiaan van Steenis 6fe6ff4e7a Add flags for unverified SSL/TLS 2016-01-25 18:07:51 +01:00
Paul Hinze 0b11ace9ac Merge pull request #4788 from hashicorp/phinze/skip-remote-test-option
tests: allow opt-out of remote tests via env var
2016-01-25 10:57:08 -06:00
Max Englander 8c8b58400c consul_catalog_entry docs: remove errant underscore 2016-01-25 00:18:13 +00:00
Max Englander adda285cae finish tests and add docs for consul_{agent_service,catalog_entry} 2016-01-25 00:15:09 +00:00
James Nugent cb6cb8b96a core: Support explicit variable type declaration
This commit adds support for declaring variable types in Terraform
configuration. Historically, the type has been inferred from the default
value, defaulting to string if no default was supplied. This has caused
users to devise workarounds if they wanted to declare a map but provide
values from a .tfvars file (for example).

The new syntax adds the "type" key to variable blocks:

```
variable "i_am_a_string" {
    type = "string"
}

variable "i_am_a_map" {
    type = "map"
}
```

This commit does _not_ extend the type system to include bools, integers
or floats - the only two types available are maps and strings.

Validation is performed if a default value is provided in order to
ensure that the default value type matches the declared type.

In the case that a type is not declared, the old logic is used for
determining the type. This allows backwards compatiblity with previous
Terraform configuration.
2016-01-24 11:40:02 -06:00
Clint 4708e66328 Merge pull request #4098 from csabapalfi/f-aws-s3-redirect-protocol
Enable specifying aws s3 redirect protocol
2016-01-22 15:51:40 -06:00
Carles Figuerola 0983ca4c2a Merge remote-tracking branch 'upstream/master' into add-tags-plus-networktags 2016-01-21 22:37:23 -06:00
Martin Atkins 7450abe408 Merge pull request #4606 from hashicorp/tls-public-key
Export public keys from tls_private_key
2016-01-21 17:01:18 -08:00
Csaba Palfi 8f6404a0e1 provider/aws enable specifying aws s3 redirect protocol
Signed-off-by: Csaba Palfi <csaba@palfi.me>
2016-01-21 23:26:13 +00:00
clint shryock 9ee6f822f6 provider/aws: Default Autoscaling Schedule min/max/desired to zero 2016-01-21 16:02:46 -06:00
Paul Hinze 6bafa74011 tests: allow opt-out of remote tests via env var
Adds the `TF_SKIP_REMOTE_TESTS` env var to be used in cases where the
`http.Get()` smoke test passes but the network is not able to service
the needs of the tests.

Fixes #4421
2016-01-21 15:44:18 -06:00
Sander van Harmelen 3385100f56 Make the concurrence for applying rules configurable 2016-01-21 21:30:54 +01:00
Sander van Harmelen cfa9661ffa Merge pull request #4687 from Carles-Figuerola/master
Add vlan, startip, endip and gateway for network creation
2016-01-21 17:02:56 +01:00
Carles Figuerola e2d6f7c5e9 Specify that the vlan attribute in cloudstack is only usable for ROOT admins and stop reading it back 2016-01-21 09:52:27 -06:00
James Nugent c8461eae32 Merge pull request #4698 from hashicorp/f-azurerm-storage-account
provider/azurerm: Add `azurerm_storage_account`
2016-01-21 07:25:04 -05:00
James Nugent df6e111c85 provider/dme: Clarify GTD meaning in docs 2016-01-20 20:23:36 -05:00
Mat Davies 45b3b9d181 provider/dme: Add support for `gtdLocation`
Add support for GTD (Global Traffic Director) enabled domains to the DME
provider. Specifically add `gtdLocation` to the `dme_record` resource.
2016-01-20 20:23:29 -05:00
James Nugent 8449cf9d98 provider/azurerm: `azurerm_storage_account` docs 2016-01-20 19:58:48 -05:00
James Nugent 5c16b47330 Merge pull request #4765 from hashicorp/f-docs-operators
docs: Add operators for interpolation functions
2016-01-20 17:09:45 -05:00
Paul Hinze fb5eba86cb Merge pull request #4763 from hashicorp/phinze/module-depth-new-default
command: Change module-depth default to -1
2016-01-20 15:40:08 -06:00
James Nugent efe27f3eae docs: Add operators for interpolation functions 2016-01-20 16:28:07 -05:00
Paul Hinze e67fc0fe9b command: Change module-depth default to -1
This means that terraform commands like `plan`, `apply`, `show`, and
`graph` will expand all modules by default.

While modules-as-black-boxes is still very true in the conceptual design
of modules, feedback on this behavior has consistently suggested that
users would prefer to see more verbose output by default.

The `-module-depth` flag and env var are retained to allow output to be
optionally limited / summarized by these commands.
2016-01-20 13:58:02 -06:00
stack72 d91c7080e0 Scaffold the AzureRM CDN Endpoint resource 2016-01-20 16:47:41 +00:00
chris 9aa8bbda93 provider/google: Support named_port on instance_group_manager
This allows HTTP and HTTPs load-balancers to direct traffic to ports other than tcp/80 and tcp/443.
2016-01-20 09:15:30 -05:00
Paul Hinze 79fafbdbe8 website: document kms_key_id on s3 remote state 2016-01-19 18:58:47 -06:00
Carles Figuerola b18afaa5db Add taging shared module for cloudstack and implement it in resource_network 2016-01-19 11:41:18 -06:00
stack72 183eb248df Scaffold the Azure RM CDN Profile 2016-01-19 17:37:28 +00:00
Clint 569e74c2e7 Merge pull request #4481 from ElliotG/feature/encryptedBlockDevice
provider/aws: Added support for the encryption flag on ebs_block_devices in launch configurations
2016-01-19 10:26:11 -06:00
James Nugent 0a2966d26d Merge pull request #4730 from leeprovoost/master
provider/aws: Fix principal in cloud trail bucket policy docs
2016-01-19 07:45:37 -05:00
stack72 138a6b67a4 Change the AWS Launch Configuration Documentation examples from ami to image_id 2016-01-19 10:12:50 +00:00
Lee Provoost 96f3f76118 Principal * gets rejected by AWS, use cloudtrail.amazonaws.com instead. 2016-01-19 08:54:42 +00:00
Adam Ochonicki 46c2fd68d9 Fix typo in ecr_repository_policy docs 2016-01-18 21:40:08 -05:00
stack72 a9afb489f6 Adds the ability to tag more of the Azure RM Network resources 2016-01-18 20:55:28 +00:00
stack72 2ebe2c01f1 Add acceptance tests and docs update to allow the tagging of AzureRM resource & 2016-01-18 18:35:41 +00:00
stack72 d7a7eb4644 Adds an acceptance test to the ARM Availability Set to show that tagging
and updating of tags work as expected

Also updated the documentation for azure rm availability set to
demonstrate this
2016-01-18 17:47:37 +00:00
Radek Simko f2ffff33eb docs: Create new section for remote state backends 2016-01-18 08:08:19 +00:00
Srikalyan Swayampakula 9d125944c0 Added support for http/https endpoints that auto confirms SNS topic subscription.
http and https SNS topic subscription endpoints require confirmation to set a valid arn otherwise
arn would be set to "pending confirmation". If the endpoints auto confirm then arn is set
asynchronously but if we try to create another subscription with same parameters then api returns
"pending subscription" as arn but does not create another a duplicate subscription. In order to
solve this we should be fetching the subscription list for the topic and identify the subscription
with same parameters i.e., protocol, topic_arn, endpoint and extract the subscription arn.

Following changes were made to support the http/https endpoints that auto confirms

1. Added 3 extra parameters i.e.,
   1. endpoint_auto_confirms -> boolean indicates if end points auto confirms
   2. max_fetch_retries -> number of times to fetch subscription list for the topic to get the subscription arn
   3. fetch_retry_delay -> delay b/w fetch subscription list call as the confirmation is done asynchronously.

  With these parameters help added support http and https protocol based endpoints that auto confirm.

2. Update website doc appropriately
2016-01-17 12:24:32 -08:00
Martin Atkins 25bd43d6f4 Export public keys from tls_private_key
In most cases private keys are used to produce certs and cert requests,
but there are some less-common cases where the PEM-formatted keypair is
used alone. The public_key_pem attribute supports such cases.

This also includes a public_key_openssh attribute, which allows this
resource to be used to generate temporary OpenSSH credentials, so that
e.g. a Terraform configuration could generate its own keypair to use
with the aws_key_pair resource. This has the same caveats as all cases
where we generate private keys in Terraform, but could be useful for
temporary/throwaway environments where the state either doesn't live for
long or is stored securely.

This builds on work started by Simarpreet Singh in #4441 .
2016-01-16 17:30:48 -08:00
Matt Moyer c17a6ceb2a Add a sha256(...) interpolation function. 2016-01-16 23:54:04 +00:00
stack72 acabd4d407 Change ASG Lifecycle Default Result to be computed and added a test to record what the default value is 2016-01-15 22:34:16 +00:00
James Nugent 4b7a98584a provider/docker: Mount named volumes in containers
This adds support for specifying named volumes for mounting in a
`docker_container` resource.
2016-01-15 21:59:33 +00:00
Carles Figuerola 2d0d67de1c Fix wording on the docs for resource_cloudstack_network 2016-01-15 14:26:26 -06:00
Colin Hebert e887ac2523 provider/docker: Add `docker_volume` resource 2016-01-15 17:34:53 +00:00
Carles Figuerola c80ddccc12 Add vlan, startip, endip and gateway for network creation 2016-01-14 22:59:04 -06:00
James Nugent 5834e65db9 Merge branch 'paulbellamy-docker-extra-hosts' 2016-01-15 03:05:25 +00:00
James Nugent 3380f08e5a provider/docker: Tweak and test `host_entry`
This adds acceptance tests for specifying extra hosts on Docker
containers. It also renames the repeating block from `hosts` to `host`,
which reads more naturally in the schema when multiple instances of the
block are declared.
2016-01-15 03:02:20 +00:00
James Nugent 933de6b127 provider/aws: valid values for health check types
These are as per the AWS API documentation here:
http://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateHealthCheck.html
2016-01-15 00:08:11 +00:00
James Nugent 51d09d8ebb Merge branch 'patch-1' of https://github.com/Phomias/terraform into Phomias-patch-1 2016-01-15 00:05:40 +00:00
Seth Vargo ef30df002a Fix broken link 2016-01-14 17:13:14 -05:00
Phomias 5ec817ba36 add port and type args aws_route53_health_check
Taking an educated guess at the valid values of the type argument based on what I read here: http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/health-checks-creating.html

and fix a typo: s/respoonse/response/
2016-01-14 15:38:23 -06:00
Seth Vargo 8dbc43639d Use HTTPS + www. for links 2016-01-14 16:03:26 -05:00
Clint 8e6fba43ef Merge pull request #4564 from hashicorp/pr-3741
provider/aws: Supporting New AWS Route53 HealthCheck additions (supersedes #3741)
2016-01-14 14:41:19 -06:00
James Nugent 35c21cb808 Merge branch 'docker-extra-hosts' of https://github.com/paulbellamy/terraform into paulbellamy-docker-extra-hosts 2016-01-14 15:48:51 +00:00
James Nugent ace215481a provider/aws: Add profile to provider config
This allows specification of the profile for the shared credentials
provider for AWS to be specified in Terraform configuration. This is
useful if defining providers with aliases, or if you don't want to set
environment variables. Example:

$ aws configure --profile this_is_dog
... enter keys

$ cat main.tf
provider "aws" {
    profile = "this_is_dog"

    # Optionally also specify the path to the credentials file
    shared_credentials_file = "/tmp/credentials"
}

This is equivalent to specifying AWS_PROFILE or
AWS_SHARED_CREDENTIALS_FILE in the environment.
2016-01-14 15:39:35 +00:00
James Nugent ee7553f076 Merge branch 'docker_network' of https://github.com/ColinHebert/terraform into ColinHebert-docker_network 2016-01-14 07:01:03 +00:00
James Nugent ea9e01cc78 Merge pull request #4669 from lwander/f-gcp-sql-user
provider/google: SQL user resource, documentation & tests
2016-01-14 06:51:17 +00:00
clint shryock 8181a4ea24 minor clean ups after #3862 2016-01-13 16:58:07 -06:00
Clint 7f6624e926 Merge pull request #3862 from stack72/aws-redshift
provider/aws: AWS Redshift
2016-01-13 16:52:47 -06:00
Lars Wander 7245a63077 Merge pull request #3893 from lwander/b-gcp-bucket-content
provider/google: Content field for bucket objects
2016-01-13 17:14:53 -05:00
Lars Wander 504bc87ec6 Merge pull request #4265 from lwander/gcp-assigned-nat-ip
provider/google: provide assigned_nat_ip as well as nat_ip
2016-01-13 17:13:16 -05:00
Lars Wander b8c66dc5e5 provider/google: Content field for bucket objects 2016-01-13 17:06:58 -05:00
Lars Wander 456ec4d151 provider/google: SQL user resource, documentation & tests 2016-01-13 16:33:08 -05:00
Clint eed2a2a0f6 Merge pull request #3139 from koendc/b-rds-snapshots-required-fields
provider/aws: aws_db_instance: make some fields optional
2016-01-13 15:15:09 -06:00
Clint 921f6eb806 Merge pull request #4388 from jszwedko/add-support-for-aws-directory-service-microsoft-active-directory
Add support for creating Managed Microsoft Active Directory and Directory Connectors in AWS
2016-01-13 13:39:29 -06:00
Johannes Boyne df7ac2d51b Add AWS lambda alias support and documentation 2016-01-13 10:05:32 -06:00
Simeon Filipov 2962cff199 Split long comment to two lines
The comment on first line of the code example is 82 characters long
and is cut on the 80-th character when viewed online. The second line
contains only two letters "on" without # in front.

The comment is displayed on two lines anyway, it is better if it is split to
two lines of less than 80 characters.
2016-01-13 14:46:06 +00:00
Koen De Causmaecker 45ef11e59f provider/aws: aws_db_instance: unrequire fields
When spinning up from a snapshot or a read replica, these fields are
now optional:
* allocated_storage
* engine
* password
* username

Some validation logic is added to make these fields required when
starting a database from scratch.
The documentation is updated accordingly.
2016-01-13 15:40:15 +01:00
James Nugent 97de7e637e Merge pull request #4621 from jkinred/master
Specify an example url for vCloud Director provider
2016-01-13 13:22:41 +00:00
John E. Vincent 0e664c8c20 making note of artifactory env vars that are supported 2016-01-13 07:48:50 -05:00
Joe Topjian 7b4e17708a Merge pull request #4623 from jtopjian/openstack-instance-personality
provider/openstack: Add Instance Personality
2016-01-12 22:04:14 -07:00
Clint 90e5f5f655 Merge pull request #3994 from Pryz/master
Add AWS Classiclink for AWS VPC resource
2016-01-12 16:48:23 -06:00
clint shryock ac60d6b959 provider/aws: Limit SNS Topic Subscription protocols
- update the ARN with the new ID
2016-01-12 09:57:09 -06:00
Sander van Harmelen 1890f6eb43 Merge pull request #4629 from svanharmelen/f-remote-state-s3
core/remote_state: add the option to specify a custom (AWS compatible) S3 endpoint
2016-01-12 16:50:20 +01:00
Radek Simko cb0d451fe3 Merge pull request #4622 from wholroyd/patch-1
Update interpolation.html.md
2016-01-12 07:47:49 +00:00
Lars Wander 5e1b05e2cb Merge pull request #4577 from lwander/b-gcp-sql-instance-unique-name
provider/google: Clarify SQL database name cannot be reused
2016-01-11 18:25:49 -05:00
Nathaniel d6b9dc37e7 Update cloudwatch_metric_alarm.html.markdown
Added a link to the AWS docs for list of supported namespaces.
2016-01-11 13:54:41 -08:00
wata_mac bfcff6b068 Add az_mode and availability_zones parameters
Signed-off-by: wata727 <watassbass@gmail.com>
2016-01-11 23:45:07 +09:00
wata_mac df56ef44f7 Add availability_zone parameter.
Signed-off-by: wata727 <watassbass@gmail.com>
2016-01-11 23:33:21 +09:00
Sander van Harmelen 9b27db6fea Add the option to specify a custom (AWS compatible) S3 endpoint
Same fix/option as I added in Vault not too long ago:
https://github.com/hashicorp/vault/pull/750
2016-01-11 14:28:52 +01:00
Joe Topjian 4a4f2ad9e5 provider/openstack: Add Instance Personality
This commit adds the "personality" attribute which is used to provision
destination files on the instance.
2016-01-11 03:53:30 +00:00
William Holroyd 7b962006fb Update interpolation.html.md
Small changes to case on interpolation syntaxes, dealing with case.
2016-01-10 22:39:20 -05:00
Jonathan Kinred d688b88c5d Specify an example url so people know to append /api 2016-01-11 13:52:45 +11:00
Joe Topjian f17849a432 Merge pull request #4466 from jtopjian/openstack-secgroup-valid-attributes
provider/openstack: Ensure valid Security Group Rule attribute combination
2016-01-10 15:20:19 -07:00
stack72 b1c8c30df3 Scaffold the Azure RM Route Resource 2016-01-10 15:02:48 +00:00
stack72 c1fa8392e3 Scaffold Azure RM Route Table resource 2016-01-10 02:47:20 +00:00
stack72 53714542f8 Scaffold the Azure RM Network Interface resource 2016-01-10 01:23:46 +00:00
stack72 36e0978653 Organises the AzureRM layout to Network and Virtual Machine resources 2016-01-10 01:09:14 +00:00
James Nugent e7e58df96c Merge pull request #4595 from stack72/azurerm-network-subnet
provider/azurerm: add subnet resource
2016-01-09 10:34:27 -08:00
stack72 55ba179046 Scaffold the Azure RM Subnet resource 2016-01-09 18:09:46 +00:00
James Nugent 2cba2d3d04 provider/aws: Fix wording in S3 bucket docs 2016-01-09 10:09:23 -08:00
Kazunori Kojima f2ce28ed46 Add support for S3 logging. 2016-01-09 10:09:23 -08:00
James Nugent a33ffaba2a Merge pull request #4586 from stack72/azurerm-network-security-rule
provider/azurerm: add network security rule
2016-01-08 16:20:18 -08:00
stack72 719f3ad2ce Scaffold the Azure RM Network Security Rule resource 2016-01-09 00:06:58 +00:00
Sander van Harmelen 71ffb6caa0 Add the option to add arbitrary `client.rb` options
Fixes #3630
2016-01-09 00:42:02 +01:00
Mitchell Hashimoto 0702bf4f3f Update index.html.markdown 2016-01-08 12:12:22 -08:00
Sander van Harmelen 7dcf0de741 Merge pull request #4569 from partamonov/origin/chef-provisioner-reporting
Origin/chef provisioner reporting
2016-01-08 21:12:01 +01:00
Paul Hinze b6907f9bd4 docs: cloudinit_config - correct syntax and add sidebar link 2016-01-08 13:34:16 -06:00
Petr Artamonov 84bb5154be corrected value type in documentation 2016-01-08 20:03:22 +01:00
Petr Artamonov 76913703a9 modified to have less code and not to verify incoming string 2016-01-08 20:00:11 +01:00
Lars Wander 6a7da01d6b provider/google: Clarify SQL database name cannot be reused 2016-01-08 11:54:55 -05:00
Petr Artamonov 063abc866c docs updated 2016-01-08 12:23:01 +01:00
William Holroyd 5371d41c16 Update codedeploy_deployment_group.html.markdown
Fixed markdown formatting for argument
2016-01-08 00:47:27 -05:00
stack72 eab75dc884 Scaffolds the AzureRM Public IP resource 2016-01-08 00:25:50 +00:00
James Nugent 0955983655 Merge pull request #4475 from ColinHebert/docker_network_mode
provider/docker: Add network_mode support to docker
2016-01-07 16:06:55 -08:00
stack72 3ebbb62bb0 Adding child_healthchecks to the Route 53 HealthCheck resource 2016-01-07 17:13:24 -06:00
stack72 172faca052 Adding support to Route53 HealthCheck for measure_latency and inverting healthcheck 2016-01-07 17:12:45 -06:00
stack72 f79d951524 Rename the AzureRM Security Group to AzureRM Network Security Group 2016-01-07 22:38:11 +00:00
James Nugent bf54811645 Merge pull request #4556 from stack72/azurerm-network-security-group
provider/azurerm: add security group
2016-01-07 13:47:50 -08:00
stack72 43760d4670 Scaffolding for the AzureRM Network Security Groups 2016-01-07 21:05:50 +00:00
James Nugent 9d9c97af66 Merge pull request #4543 from elblivion/aws-sns-doc-update
Update doc - missing lambda protocol
2016-01-07 11:46:14 -08:00
Anthony Stanton d450476d63 Update doc - missing lambda protocol
The last update missed listing `lambda` in the list of allowed protocols.
2016-01-07 16:17:52 +01:00
stack72 fac989ed5f Azure RM Availability Sets. Adds Schema, CRUD, Acceptance Tests and Documentation 2016-01-07 14:18:18 +00:00
Paul Hinze d103dd1dcb Merge pull request #4450 from jkordish/jk-sha1-interpolation
implements sha1 hash interpolation func
2016-01-06 15:57:01 -06:00
Paul Hinze 319f7d77a0 Merge pull request #3947 from hashicorp/phinze/asg-wait-on-update
provider/aws: wait for ASG capacity on update
2016-01-06 15:55:43 -06:00
Joseph Kordish 21fe576cb5 added the function to the docs 2016-01-06 15:19:54 -06:00
Paul Hinze 0d3b86214e Merge pull request #4323 from svanharmelen/f-ssh-agent-windows
Add SSH agent support for Windows
2016-01-06 14:42:40 -06:00
Garrett Barboza 82d8e48a27 Add iam_server_certificate nuances to docs.
AWS does some funky stuff to handle all the variations in certificates that CA's like to hand out to users. This commit adds a note about this and details how to avoid issues. See #3837 for more information.
2016-01-04 21:07:52 -06:00
Clint 5551eaeddc Merge pull request #4463 from bsingr/patch-1
Remove recommendation to use create_before_destroy-hook in autoscaling group
2016-01-04 14:25:47 -06:00
Colin Hebert 6e36095644 Add the networks entry 2016-01-04 20:58:54 +01:00
James Nugent 76ded31ec6 Merge pull request #4491 from hashicorp/f-do-droplet-documentation
provider/digitalocean: Document defaults
2016-01-04 11:13:46 -05:00
James Nugent 940ed84685 Merge pull request #4492 from hashicorp/f-sns-display-name-docs
provider/aws: Document `display_name` on SNS Topic
2016-01-04 11:13:29 -05:00
Clint 25238ec7c5 Merge pull request #4427 from hashicorp/b-aws-r53-weights
provider/aws: Fix issue with Route53 and zero weighted records
2016-01-04 10:05:18 -06:00
James Nugent e22376f6a0 provider/aws: Document `display_name` on SNS Topic
Fixes #3799
2016-01-04 11:03:51 -05:00
clint shryock 4fc31abc6f fix typo 2016-01-04 09:59:21 -06:00
James Nugent acf643b96f provider/digitalocean: Document defaults 2016-01-04 10:55:20 -05:00
Colin Hebert f09280891c Add support of custom networks in docker 2016-01-02 12:20:55 +01:00
Elliot Graebert 2112f763ee Added support for the encryption flag on ebs_block_devices in launch configurations 2016-01-01 15:47:36 -08:00
Colin Hebert 32ce8fbcb4 Add network_mode support to docker 2016-01-01 09:57:21 +01:00
James Nugent 9da5dec5e7 Merge pull request #4342 from aznashwan/f-azure-localnets
provider/azure: added local network gateway resource
2015-12-31 09:52:05 -05:00
James Nugent cd32f23476 Merge pull request #4465 from jedineeper/b-fix-aws-eip-docs
update docs to reflect that the allocation ID is exported as the attribute 'id'
2015-12-30 14:31:14 -05:00
Joe Topjian 2503f0b01d provider/openstack: Ensure valid Security Group Rule attribute combination
This commit ensures that a valid combination of security group rule attributes
is set before creating the security group.
2015-12-30 18:44:56 +00:00
Craig Marsden fc39334b52 update docs to reflect that the allocation ID is exported as the attribute 'id' 2015-12-30 17:50:22 +00:00
Jens Bissinger a018195645 Remove recommendation to use create_before_destroy-hook in autoscaling group
Only use the create_before_destroy-hook in launch configurations. The autoscaling group must not use the create_before_destroy-hook, because it can be updated (and not destroyed + re-created). Using the create_before_destroy-hook in autoscaling group also leads to unwanted cyclic dependencies.
2015-12-30 10:46:32 +01:00
kozo yamagata 2a3c80461f Fix typo 'auto' => 'allow' 2015-12-30 16:58:23 +09:00
Justin Clayton 52aea649e4 Update lb_pool_v1.html.markdown
updating docs to match behavior of the code for admin_state_up
2015-12-28 11:25:46 -08:00
stack72 59bfa636c0 Adding a link to the runtime options for the AWS Lambda functions 2015-12-27 21:38:45 +00:00
John Engelman b6788479de Add Terraform/Remote State documentation to provider/resource section.
Issue #2074
2015-12-27 19:04:27 +01:00
Nashwan Azhari 1eb129a99b provider/azure: added local network gateway resource 2015-12-23 18:49:21 +02:00
James Nugent 6fb4c6f91b Merge pull request #4433 from betawaffle/packet-docs
Clarify the docs for Packet a bit.
2015-12-23 11:15:20 -05:00
clint shryock 787340f801 make note of -1 value for r53 record 2015-12-22 16:47:57 -06:00
Paul Hinze 0d895ffa96 provider/aws: mention us-east-1 in ECR docs and tests
ECR is only available in us-east-1 for now.

Also added missing sidebar links for ECR resources.

/cc @nextrevision
2015-12-22 16:00:21 -06:00
Paul Hinze 0616c51aa2 Merge pull request #4415 from nextrevision/provider/aws-ecr
provider/aws: ecr resources
2015-12-22 15:34:27 -06:00
nextrevision 6a3ed429ad Adding AWS ECR provider resources
Adds ECR aws_ecr_repository and aws_ecr_repository_policy resources to
the AWS provider.
2015-12-22 10:31:30 -05:00
gorazio d9b83ada39 Update ebs_volume.html.md
add default value of volume type
2015-12-22 17:27:44 +03:00
James Nugent b2964a6443 Merge branch 'lusis-artifactory-remote-state' 2015-12-21 17:48:53 -05:00
James Nugent 562b7dfab7 Add documentation for Artifactory remote state 2015-12-21 17:46:55 -05:00
James Nugent 399db54f03 Merge pull request #4405 from hashicorp/b-aws-docs
provider/aws: Update docs with t1 instance for accounts with EC2 Classic
2015-12-21 16:35:26 -05:00
James Nugent a4568c596e Fix CloudInit doc format and give better example 2015-12-21 13:32:26 -05:00
James Nugent 16c8750bab Make minor alterations to the cloudinit docs 2015-12-21 13:32:26 -05:00
James Nugent a926fa6fdd Adds template_cloudinit_config resource to template
This adds a new resource to template to generate multipart cloudinit
configurations to be used with other providers/resources.

The resource has the ability gzip and base64 encode the parts.
2015-12-21 13:32:26 -05:00
clint shryock c94b7c4584 provider/aws: Update docs with t1 instance for accounts with EC2 Classic 2015-12-21 10:00:34 -06:00
stack72 bf03752552 Adding the documentation for the AWS Redshift Subnet Group resource
also removed the notion of tags from the redshift security group and
parameter group documentation until that has been implemented

Redshift Cluster CRUD and acceptance tests

Removing the Acceptance test for the Cluster Updates. You cannot delete
a cluster immediately after performing an operation on it. We would need
to add a lot of retry logic to the system to get this test to work

Adding some schema validation for RedShift cluster

Adding the last of the pieces of a first draft of the Redshift work - this is the documentation
2015-12-20 20:20:05 +00:00
stack72 48091e37c7 Adding the documentation for the Redshift Parameter Groups
Changed the aws_redshift_security_group and aws_redshift_parameter_group
to remove the tags from the schema. Tags are a little bit more
complicated than originally though - I will revisit this later

Then added the schema, CRUD functionality and basic acceptance tests for
aws_redshift_subnet_group

Adding an acceptance test for the Update of subnet_ids in AWS Redshift Subnet Group
2015-12-20 20:20:03 +00:00
stack72 249e7df76c Adding the documentation for the Redshift security groups
Creation of the schema, CRUD and acceptance tests for Redshift Parameter Group
2015-12-20 20:20:01 +00:00
James Nugent c90d1b074e Merge pull request #4386 from hashicorp/b-aws-rds-notes
Better document RDS `apply_immediately`
2015-12-19 10:51:59 -05:00
stack72 d932d99679 Adds documentation for the AWS Network ACL Rule resource 2015-12-18 23:17:08 +00:00
Jesse Szwedko 48bfd67296 Add support for creating connectors to aws_directory_service_directory
This adds support for creating AD Connectors. It is pretty close to the
same as creating AD and simple directories so we reuse the resource.
2015-12-18 21:42:54 +00:00
James Nugent 0bdf249f2c provider/aws: Add aws_nat_gateway Resource 2015-12-18 14:12:27 -05:00
Jesse Szwedko 82fe67f7fc Add support for creating Managed Microsoft Active Directory in AWS
This action is almost exactly the same as creating a SimpleAD so we
reuse this resource and allow the user to specify the type when creating
the directory (ignoring the size if the type is MicrosoftAD).
2015-12-18 18:24:51 +00:00
clint shryock 93b63cc42d document for ElastiCache cluster, and fix link 2015-12-18 11:43:33 -06:00
clint shryock a5efa4a1fa Better document RDS apply immediately 2015-12-18 11:24:59 -06:00
Joe Topjian 8d5a2d05a4 provider/openstack: Load Balancing Member Resource
This commit adds the openstack_lb_member_v1 resource. This resource models a
load balancing member which was previously coupled to the openstack_lb_pool_v1
resource.

By creating an actual member resource, load balancing members can now be
dynamically managed through terraform.
2015-12-17 07:29:58 +00:00
Joe Topjian ef0b870425 Merge pull request #4356 from lowescott/issue-4319
provider/openstack: Add section on referencing security groups by name
2015-12-16 22:16:44 -07:00
Martin Atkins a9d97708ee mysql provider and mysql_database resource.
Allows databases on pre-existing MySQL servers to be created and managed
by Terraform.
2015-12-16 17:59:35 -08:00
stack72 e8eb2e3573 Changing the ingress structure to be required in DB Security Group - this was marked as optional in the docs whereas the schema has it as required 2015-12-17 01:18:53 +01:00
Scott Lowe 1a9eab2cbe Add section on referencing security groups by name
Added new section to end of Markdown file for OpenStack security groups,
recommending that security groups are referenced by the name attribute
instead of by the ID attribute.
2015-12-16 16:36:00 -07:00
Joe Topjian 03a7926198 Merge pull request #4298 from jtopjian/jtopjian-openstack-devstack
provider/openstack: DevStack Deploy Script
2015-12-16 11:44:12 -07:00
Andrew Hodges f353f5c62d Clarify the docs for Packet a bit. 2015-12-16 09:57:58 -05:00
James Nugent 805c4896bd provider/azurerm: Clean up work for base provider
- Add documentation for resources
- Rename files to match standard patterns
- Add acceptance tests for resource groups
- Add acceptance tests for vnets
- Remove ARM_CREDENTIALS file - as discussed this does not appear to be
  an Azure standard, and there is scope for confusion with the
  azureProfile.json file which the CLI generates. If a standard emerges
  we can reconsider this.
- Validate credentials in the schema
- Remove storage testing artefacts
- Use ARM IDs as Terraform IDs
- Use autorest hooks for logging
2015-12-15 18:31:02 -05:00
clint shryock e59f39df5f other m1/ami-1234 clean ups 2015-12-15 16:12:31 -06:00
clint shryock 6236e8d720 Update doc to use valid AMI and t2.micro instance types 2015-12-15 15:58:28 -06:00
Clint 64bded6269 Merge pull request #4268 from duggan/route53-health-check-doc-fix
Change wording of aws_route53_health_check
2015-12-15 14:51:22 -06:00
Lars Wander a4d9ae3fa5 Merge pull request #3735 from lwander/b-gcp-container-cluster-document-scopes
provider/google: Improve Container Scope Example Documentation
2015-12-15 13:03:05 -05:00
Clint 64482422b5 Merge pull request #4146 from hashicorp/b-aws-ebs-validate
providers/aws: Validate IOPs for EBS Volumes
2015-12-15 11:33:49 -06:00
Lars Wander 41cd85c7d8 Merge pull request #3892 from lwander/b-gcp-instance-group-restart
provider/google: Fix instance group manager instance restart policy
2015-12-15 11:38:12 -05:00
Sander van Harmelen c72342eefc Add SSH agent support for Windows
The Windows support is limited to the Pageant SSH authentication agent.
This fixes #3423
2015-12-15 16:39:23 +01:00
mdeboercw 6ca1327aa2 Added support for disk init types
Fixed formatting

changed 'init_type' to 'type'

Fixed acceptance tests for disk provisioning

Fixed docs for change from 'init_type' to 'type'
2015-12-14 23:35:45 -08:00
Martin Atkins 764ea7f39c Documentation for the Chef provider. 2015-12-13 15:09:17 -08:00
Joe Topjian 7cbd18a88d provider/openstack: DevStack Deploy Script
This commit includes a script to deploy a standardized devstack environment
for use with development and testing.
2015-12-13 02:58:29 +00:00
Michael Mell c0b91689cc fix typo in snapshot_retention_limit 2015-12-12 14:22:40 -08:00
James Nugent 19ea14bf8d Merge pull request #4256 from stack72/aws-asg-scheduled-actions
provider/aws: Autoscaling Group Scheduled Actions
2015-12-11 16:54:13 -05:00
stack72 c965d2278e Adding a resource for aws_autoscaling_schedule 2015-12-11 18:43:38 +00:00
Ross Duggan 1549adfccd Change wording of aws_route53_health_check
Both may be specified, which enables health checking of an IP address
with the Host header specified.

Defined in the API documentation:
http://docs.aws.amazon.com/Route53/latest/APIReference/API_GetHealthCheck.html
2015-12-11 18:32:22 +00:00
Lars Wander cda549ab17 provider/google: Update docs for acquiring service account credentials 2015-12-11 13:27:26 -05:00
Lars Wander a1a5788ed8 provider/google: provide assigned_nat_ip as well as nat_ip 2015-12-11 12:57:18 -05:00
Clint 8b21f284b4 Merge pull request #4259 from stack72/aws-db_parameter_group-tags
provider/aws: Adding Tag support for DB Param Groups
2015-12-11 08:58:26 -06:00
Clint 5b2230588a Merge pull request #4260 from stack72/aws-db_security_group-tags
provider/aws: Adding support for Tags to DB SecurityGroup
2015-12-11 08:48:59 -06:00
stack72 dec5a27f19 Adding the ARN as an output of the DB Subnet Group 2015-12-11 12:39:15 +00:00
stack72 474d6080f0 Adding support for Tags to the DB Security Group 2015-12-11 12:28:24 +00:00
stack72 67c1971e63 Adding support to DB Parameter Group for Tags 2015-12-11 12:07:50 +00:00
James Nugent fb4878cf37 Merge pull request #3853 from stack72/f-aws-db-instance-omit-snapshot
provider/aws: add DB Instance skip_final_snapshot
2015-12-10 18:38:11 -05:00
stack72 2b0c7aa4e9 Making the changes to db_instance skip_final_snapshot on the feedback from @catsby 2015-12-10 23:21:36 +00:00
James Nugent c5d066b828 provider/aws: Add note about cluster size reduction 2015-12-10 15:35:46 -05:00
stack72 5796b13373 Adding skip_final_snapshop bool to th db_instance. This will allow us to specify whether a snapshot is needed directly rather than checking for an empty string 2015-12-10 19:11:47 +00:00
Paul Hinze 231f0cb474 Merge pull request #4035 from rakutentech/fix-ipv6-bug
provider/vsphere: Change ip_address parameter for ipv6 support
2015-12-10 12:02:11 -06:00
Takaaki Furukawa 68ac4bceaf provider/vsphere: Change ip_address parameter to ipv4_address and ipv6_address for ipv6 support 2015-12-10 18:28:24 +09:00
Clint 9cc5e52cf0 Merge pull request #4167 from stack72/aws-security_group_name_prefix
provider/aws: securitygroup name_prefix
2015-12-09 11:42:34 -06:00
Paul Hinze e065bec624 Merge pull request #3939 from matt-deboer/master
vsphere-provider: Added folder handling for folder-qualified vm names
2015-12-09 09:55:06 -06:00
Clint ced42342ff Merge pull request #4215 from hashicorp/pr-4207
Fix issue creating AWS RDS replicas across regions
2015-12-09 09:54:53 -06:00
mdeboercw 67bfc2faef Added folder handling for folder-qualified vm names
Added acceptance test for creation in folders

Added 'baseName' as computed schema attribute for convenience

Added 'base_name' computed attribute for convenience

Added new vsphere folder resource

Fixed folder behavior

Assure test folders are properly removed

Avoid creating recreating search index in loop

Fix typeo in vsphere.createFolder

Updated website documentation

Renamed test folders to be unique across tests

Fixes based on acc test findings; code cleanup

Added combined folder and vm acc test

Restored newline; fixed skipped acc tests

Marked 'existing_path' as computed only

Removed debug logging from tests

Changed folder read to return error
2015-12-08 20:35:27 -08:00
Paul Hinze 3041920d37 Merge pull request #4183 from rakutentech/docs-default-example
provider/vsphere: Update a default example in VMware vSphere provider
2015-12-08 18:44:03 -06:00
Paul Hinze 5884323c99 Merge pull request #4208 from stack72/aws-dynamodb_streams
provider/aws: DynamoDB Table StreamSpecifications
2015-12-08 18:42:48 -06:00
clint shryock 0619898f6a provider/aws: Add arn to DB Instance output 2015-12-08 10:52:17 -06:00
stack72 a0a89ecde8 Documenting the version upgrade flags on db_instance 2015-12-08 14:13:26 +00:00
stack72 d46348c233 Adding support for AWS DynamoDB Table for StreamSpecifications 2015-12-08 14:07:11 +00:00
Andrew Teixeira 6e7c7b6a0b Move pricing_plan and replication_type in documentation to "settings" sublist as that is where the code looks for those options 2015-12-07 11:40:41 -05:00
Takaaki Furukawa fae25a9ed8 Update a default example in VMware vSphere provider 2015-12-07 10:49:04 +09:00
Corey Farwell 82e502359c Fix minor spacing inconsistency 2015-12-05 16:51:05 -05:00
Martin Atkins 283a838b58 Merge #3930: tls_locally_signed_cert resource 2015-12-04 13:30:37 -08:00
Clint c05b0a5a0d Merge pull request #4147 from hashicorp/b-aws-dynamo-gsi-docs
providers/aws: Update Dynamo DB docs for GSI hash_key
2015-12-04 14:55:26 -06:00
Paul Hinze 56339332dd Merge pull request #4166 from hashicorp/phinze/consul-remote-state-basic-auth
core: support HTTP basic auth in consul remote state
2015-12-04 11:39:00 -06:00
Paul Hinze 30a87be969 Merge pull request #4150 from svanharmelen/f-cloudstack-performance
provider/cloudstack: performance improvements
2015-12-04 09:07:10 -06:00
Takaaki Furukawa 3a08cc9334 provider/vsphere: Add allow_unverified_ssl flag for unverified SSL requests 2015-12-04 08:49:22 -06:00
stack72 6817e0d144 Adding the ability to generate a securitygroup name-prefix 2015-12-04 09:21:08 -05:00
Lars Wander 2a49ebb448 Merge pull request #4153 from lwander/gcp-pubsub-docs-update
provider/google: Added missing pubsub documentation
2015-12-04 09:01:00 -05:00
Paul Hinze 1a19f43ee1 core: support HTTP basic auth in consul remote state
Closes #1663
2015-12-04 07:15:18 -06:00
Adrian Chelaru e1eef15646 postgresql provider with "database" and "role" resources 2015-12-03 23:44:20 -08:00
Paul Hinze 709d1f3599 Merge pull request #3704 from dayer4b/add-placement-group
added placement group as an option for autoscaling groups
2015-12-03 18:05:01 -06:00
Paul Hinze 9e68c34abe Merge pull request #3785 from hmrc/master
VMWare vCloud Director Support
2015-12-03 15:51:47 -06:00
Lars Wander 738ad14ebb provider/google: Added missing pubsub documentation 2015-12-03 15:42:41 -05:00
clint shryock 16016b8866 fix typo 2015-12-03 14:24:35 -06:00
Sander van Harmelen b8f3417e79 Change all firewall related resources to take a cidr_list
Also some additional tweaks to improve performance and add in a little
concurrency to speed things up a little.
2015-12-03 15:34:53 +01:00
Paul Bellamy 7a24764c15 provider/docker: Add hosts parameter for containers 2015-12-03 10:32:41 +00:00
clint shryock 78929df2a1 providers/aws: Update Dynamo DB docs for GSI hash_key 2015-12-02 16:05:45 -06:00
clint shryock d1bba3095b providers/aws: Validate IOPs for EBS Volumes 2015-12-02 15:20:11 -06:00
Dave Cunningham d6ae527159 Merge pull request #3671 from 22Acacia/google-pubsub-clean
Google Cloud: PubSub Topic and Subscription resources
2015-12-02 15:37:23 -05:00
Paul Hinze 4216a8d1e1 Merge pull request #3718 from rakutentech/rename-config-parameters
provider/vsphere: rename vcenter_server config parameter to something clearer
2015-12-02 14:04:52 -06:00
Paul Hinze 6c76984419 Merge pull request #3867 from chrislovecnm/vsphere-custom-vm-params
vSphere custom vm params
2015-12-02 14:00:30 -06:00
pat 6f7ef2fadd golang pubsub SDK has been released. moved topics/subscriptions to use that
Conflicts:
	builtin/providers/google/provider.go
	builtin/providers/google/resource_subscription.go
	builtin/providers/google/resource_subscription_test.go

golang pubsub SDK has been released.  moved topics/subscriptions to use that

Conflicts:
	builtin/providers/google/provider.go
	builtin/providers/google/resource_subscription.go
	builtin/providers/google/resource_subscription_test.go

file renames and add documentation files

remove typo'd merge and type file move

add to index page as well

only need to define that once

remove topic_computed schema value

I think this was used at one point but is no longer. away.

cleanup typo

adds a couple more config values

- ackDeadlineSeconds: number of seconds to wait for an ack
- pushAttributes: attributes of a push subscription
- pushEndpoint: target for a push subscription

rearrange to better match current conventions

respond to all of the comments
2015-12-02 10:36:00 -08:00
James Nugent 50d7abcd8a Merge pull request #3761 from ryane/f-provider-docker-improvements
provider/docker: support additional arguments for `docker_container` resource
2015-12-02 11:46:29 -05:00
clint shryock 35b18ceb29 providers/aws: Update Security Group docs 2015-12-02 10:28:17 -06:00
James Nugent 9987f36d86 Merge pull request #4093 from paybyphone/master
provider/aws: New resource `aws_lambda_event_source_mapping`
2015-12-01 08:36:45 -05:00
Henning Sprang 6a031af0ba change get -u option get -update
get -u does not work the name is -update.
2015-11-30 19:43:54 +01:00
Chris Marchesi 85627630bd New resource (AWS provider) - aws_lambda_event_source_mapping 2015-11-30 07:45:38 -08:00
James Nugent 72b8c82c08 Merge pull request #4106 from stack72/statuscake-documentation
provider/statuscake: Adding some documentation
2015-11-30 12:49:31 +00:00
stack72 3ecf722b77 Adding some documentation for the StatusCake provider 2015-11-30 10:44:21 +00:00
Verdoïa Laurent b07356ba95 docs: Correct mistype 2015-11-28 14:10:47 +09:00
James Nugent c8bd5c0d74 Merge pull request #4074 from stack72/aws-spot-instance-block-duration-minutes
provider/aws: aws_spot_instance block_duration_minutes
2015-11-26 21:18:24 +00:00
stack72 632a9147cc Adding support for Block_Durations to AWS Spot instance 2015-11-26 11:56:04 +00:00
stack72 8cdfe152d6 Adding the documentation of aws_instance tenancy 2015-11-26 10:21:06 +00:00
chrislovecnm d70cdde233 merging in upstream, because rebase was insane 2015-11-25 00:44:27 -07:00
Paul Hinze 09bd4e7b00 Merge pull request #3195 from bensojona/f-change-artifact-type
Change amazon.ami to amazon.image
2015-11-24 16:57:55 -06:00
clint shryock d3f41320e8 provider/aws: Update Instance/Spot docs for IP information 2015-11-24 10:10:12 -06:00
Paul Hinze bd23ab35bf docs: update template_file examples
Use the new non-deprecated style.

refs #4025
2015-11-24 09:01:11 -06:00
James Nugent 09a4fdfc3d Merge branch 'mvermaes-doc-fix' 2015-11-24 13:43:34 +02:00
Michael Vermaes f0292d420f Update template example for new syntax 2015-11-24 13:42:37 +02:00
James Nugent 5290365238 Merge pull request #4038 from milkcocoa/fix-removing-locale-identifier
Remove locale identifier from links to the AWS document.
2015-11-24 13:25:51 +02:00
James Nugent 1cde2e64a0 Merge pull request #3748 from stack72/do-floatingips
provider/digitalocean : New Resource for Floating IPs
2015-11-24 13:16:24 +02:00
stack72 3fc9107333 Using the laterst version of the DO API to get the Assign of an IP working without a time.Sleep 2015-11-24 11:08:43 +00:00
Shu Masuda 1c37e908c7 Remove locale identifier from links to the AWS document. 2015-11-24 19:25:43 +09:00
Nicki Watt 3809315af9 Upped default maxRetryTimeout from 30s -> 60s 2015-11-23 11:45:16 +00:00
Paul Forman 9cec40ea3c Add missing error-checks from code review
Some error-checking was omitted.

Specifically, the cloudTrailSetLogging call in the Create function was
ignoring the return and cloudTrailGetLoggingStatus could crash on a
nil-dereference during the return.  Fixed both.

Fixed some needless casting in cloudTrailGetLoggingStatus.
Clarified error message in acceptance tests.
Removed needless option from example in docs.
2015-11-22 12:54:11 -07:00
Paul Forman 484887c0c5 Change default for logging in CloudTrail to true
The default for `enable_logging`, which defines whether CloudTrail
actually logs events was originally written as defaulting to `false`,
since that's how AWS creates trails.

`true` is likely a better default for Terraform users.

Changed the default and updated the docs.
Changed the acceptance tests to verify new default behavior.
2015-11-22 10:47:23 -07:00
Nicki Watt 49195f8b77 Added docs for maxRetryTimeout 2015-11-21 12:55:07 +00:00
Paul Forman f98dbbb580 Tests and docs for AWS CloudTrail "enable_logging"
Add acceptance tests for creation, enable, and disable logging.

Add option to docs and example.
2015-11-21 00:18:38 -07:00
stack72 7bda855590 Adding the work to assign a Floating IP to a Droplet 2015-11-20 19:12:31 +02:00
Julien Fabre ed3f54cc47 Add AWS Classiclink for AWS VPC resource 2015-11-20 16:48:48 +01:00
Takaaki Furukawa 7bf02243a1 rename vcenter_server config parameter to something clearer 2015-11-20 20:37:49 +09:00
chrislovecnm 98167cea79 merging upstream master 2015-11-18 16:09:05 -07:00
Brett Mack 815ff7ac63 Merge branch 'terraform' into hmrc 2015-11-18 17:56:28 +00:00
James Nugent b177370bdc Merge pull request #3962 from miguelaferreira/patch-1
provider/cloudstack docs: use underscore in virtual machine attribute
2015-11-18 17:14:58 +02:00
James Nugent ce1bcd7ccc Merge pull request #3959 from chrislovecnm/vsphere-ipv4-documentation-updates
Update docs to reflect vsphere provider only supporting IPv4 addresses
2015-11-18 17:11:37 +02:00
Miguel Ferreira 9e42207fee Use underscore in virtual machine attribute 2015-11-18 14:47:21 +01:00
Chris Love 9de7319b63 Update virtual_machine.html.markdown
Typo
2015-11-17 21:56:58 -07:00
chrislovecnm 2d0ceb51c4 updating documenation that vsphere provider only supports ipv4 addressing 2015-11-17 21:53:55 -07:00
Luke Amdor f23a4994ae docs: fix template_file syntax error 2015-11-17 16:45:08 -06:00
Paul Hinze 7f9360797c provider/aws: wait for ASG capacity on update
It's a bit confusing to have Terraform poll until instances come up on
ASG creation but not on update. This changes update to also poll if
min_size or desired_capacity are changed.

This changes the waiting behavior to wait for precisely the desired
number of instances instead of that number as a "minimum". I believe
this shouldn't have any undue side effects, and the behavior can still
be opted out of by setting `wait_for_capacity_timeout` to 0.
2015-11-17 10:25:41 -06:00
Brett Mack cc54785b1c Merge branch 'terraform' into hmrc 2015-11-17 10:13:53 +00:00
Paul Hinze 7e59d7f67c Merge pull request #3901 from hashicorp/phinze/google-credentials
provider/google: read credentials as contents instead of path
2015-11-16 17:57:54 -06:00
Paul Hinze 010293992a Merge pull request #3899 from hashicorp/phinze/azure-publish-settings
provider/azure: read publish_settings as contents instead of path
2015-11-16 17:54:43 -06:00
Paul Hinze fb0dc4951d provider/azure: read publish_settings as contents instead of path
Building on the work in #3846, shifting the Azure provider's
configuration option from `settings_file` to `publish_settings`.
2015-11-16 17:47:56 -06:00
Paul Hinze eb9a93862b provider/google: read credentials as contents instead of path
Building on the work in #3846, shifting the Google provider's
configuration option from `account_file` to `credentials`.
2015-11-16 15:14:32 -06:00
Paul Hinze 993ec0a320 Merge pull request #3909 from hashicorp/phinze/template-file-contents
template_file: source contents instead of path
2015-11-16 14:50:45 -06:00
Sander van Harmelen 0cdc81f390 Merge pull request #3896 from hashicorp/phinze/chef-keys-as-contents
chef: read key contents instead of paths
2015-11-16 21:44:09 +01:00
Paul Hinze afb416fba4 Merge pull request #2807 from dwradcliffe/f-dyn-provider
add Dyn provider
2015-11-16 13:53:44 -06:00
Mike Ball 874bddd84c website: add `` to format documentation env vars
this consistently formats the `TF_*` variables referenced in
documentation and also improves readability.
2015-11-16 11:23:43 -05:00
Silas Sewell 309e697a52 provider/tls: add locally signed certificates
This allows you to generate and sign certificates using a local CA.
2015-11-15 20:23:40 -05:00
Pete Shima 880002fe15 Small update to packet.net docs for project 2015-11-15 10:55:42 -08:00
Radek Simko 432cab51a7 Merge pull request #3917 from grothja/patch-1
Correct argument reference for `certificate`
2015-11-14 09:29:13 +00:00
Jonathan Groth 8491f0883d Correct argument reference for `certificate` 2015-11-13 17:13:20 -05:00
Chris Love 6d13b9296b updating documentation 2015-11-13 12:49:40 -07:00
Paul Hinze 928f534cfc template_file: source contents instead of path
Building on the work of #3846, deprecate `filename` in favor of a
`template` attribute that accepts file contents instead of a path.

Required a bit of work in the interpolation code to prevent Terraform
from assuming that template interpolations were resource variables that
needed to be resolved. Leaving them as "Unknown Variables" prevents
interpolation from happening early and lets the `template_file` resource
do its thing.
2015-11-13 11:24:20 -06:00
Joe Topjian edd8e722bf provider/openstack: Make Networking Port attributes more intuitive
This commit makes some quick updates to the port attributes to make them
more intuitive:

* `security_groups` to `security_group_ids`: since the port is expecting
IDs and not security group names like in other areas of OpenStack.

* `admin_state_up`: change to Boolean to match this same attribute on
other resources.

* `fixed_ips` to `fixed_ip`: while multiple `fixed_ip` blocks can be
specified, only one fixed IP can be specified in each block.
2015-11-13 04:46:12 +00:00
Kirill Shirinkin 3a1a242a7a provider/openstack: Allow port_id for router interface 2015-11-13 03:13:12 +00:00
Paul Hinze 73ce6d184a chef: read key contents instead of paths
Builds on the work of #3846, shifting the Chef provisioner's
configuration options from `secret_key_path` and `validation_key_path`
over to `secret_key` and `validation_key`.
2015-11-12 16:11:44 -06:00
Paul Hinze 7ffa66d1a5 ssh: accept private key contents instead of path
We've been moving away from config fields expecting file paths that
Terraform will load, instead prefering fields that expect file contents,
leaning on `file()` to do loading from a path.

This helps with consistency and also flexibility - since this makes it
easier to shift sensitive files into environment variables.

Here we add a little helper package to manage the transitional period
for these fields where we support both behaviors.

Also included is the first of several fields being shifted over - SSH
private keys in provisioner connection config.

We're moving to new field names so the behavior is more intuitive, so
instead of `key_file` it's `private_key` now.

Additional field shifts will be included in follow up PRs so they can be
reviewed and discussed individually.
2015-11-12 14:59:14 -06:00
Lars Wander 7be90215bc provider/google: Fix instance group manager instance restart policy 2015-11-12 15:44:31 -05:00
clint shryock fddafd2b96 providers/aws: Document and validate ELB ssl_cert and protocol requirements 2015-11-12 14:25:50 -06:00
James Nugent 9d27504133 Merge pull request #3866 from br0ch0n/sqs_queue_doc_example
Add example of redrive_policy to docs.

Fixes #2711.
2015-11-12 11:04:55 -06:00
James Nugent cbbe06388f Merge pull request #3883 from lwander/f-gcp-https-health-checks
provider/google: HTTPS Health Checks Resource + Tests & Documentation
2015-11-12 10:02:39 -06:00
Lars Wander 28819603ba provider/google: HTTPS health checks resource + tests & documentation 2015-11-12 10:48:26 -05:00
Michael H. Oshita 90d70786ac Align IAM version number to the current version (2012-10-17) 2015-11-13 00:32:45 +09:00
Brandon Rochon 5bdba00082 add example of redrive_policy #2711
Change-Id: Ia1b26bf32d16628c3ef5cf99745ba7c222d3251e
2015-11-11 13:50:54 -08:00
Chad Thompson d309f8b82b Update remote-config.html.markdown
Replace "shared storaged" with "shared storage".  (Very minor change.)
2015-11-11 13:09:26 -06:00
Nicki Watt 5df9d22a6a Minor doc updates 2015-11-11 07:43:36 +00:00
clint shryock 0a1890c329 Merge branch 'master' into pr-3708
* master: (95 commits)
  Update CHANGELOG.md
  Update CHANGELOG.md
  Update CHANGELOG.md
  Update CHANGELOG.md
  upgrade a warning to error
  add some logging around create/update requests for IAM user
  Update CHANGELOG.md
  Update CHANGELOG.md
  Build using `make test` on Travis CI
  Update CHANGELOG.md
  provider/aws: Fix error format in Kinesis Firehose
  Update CHANGELOG.md
  Changes to Aws Kinesis Firehouse Docs
  Update CHANGELOG.md
  modify aws_iam_user_test to correctly check username and path for initial and changed username/path
  Update CHANGELOG.md
  Update CHANGELOG.md
  Prompt for input variables before context validate
  Removing the AWS DBInstance Acceptance Test for withoutEngine as this is now part of the checkInstanceAttributes func
  Making engine_version be computed in the db_instance provider
  ...
2015-11-10 16:52:45 -06:00
Brett Mack a05ff89a7d Changed documentation to better show what can be done with firewall rules 2015-11-10 22:49:38 +00:00
James Nugent ca442bf00b Merge pull request #3818 from ijin/patch-1
provider/aws: Document `license_model` as supported argument for db_instance
2015-11-10 17:40:15 -05:00
Clint bea8e0b14f Merge pull request #3780 from hashicorp/b-aws-elb-source-sg-id
providers/aws: Provide source security group id for ELBs
2015-11-10 16:38:55 -06:00
Clint 51fd5fafef Merge pull request #3744 from stack72/f-aws-db-instance
provider/aws: Changing the db_instance resource to mark the engine_version as Optional
2015-11-10 15:48:06 -06:00
James Nugent 7c50e3ed65 Merge pull request #3833 from stack72/aws-kinesis-firehose
provider/aws: Add Kinesis Firehose resource
2015-11-10 16:04:48 -05:00
Paul Stack 77bad2c946 Changes to Aws Kinesis Firehouse Docs
Changing the AWS Kinesis Firehose docs as per @jen20's feedback
2015-11-10 20:59:01 +00:00
Clint 5708457610 Merge pull request #3802 from pforman/2911-lc-prefix
provider/aws: add name_prefix option to launch config
2015-11-10 14:43:08 -06:00
stack72 1abb0b19bf Changing the db_instance resource to mark the engine_version as Optional 2015-11-10 17:30:09 +00:00
stack72 255486857e Changing the Firehose documentation to note the regions is is available for and also that s3 is the only destination involved right now 2015-11-10 16:45:46 +00:00
stack72 8c68cb1080 Adding the documentation for the Kinesis Firehose Delivery Stream 2015-11-10 16:43:34 +00:00
Michael H. Oshita 22876be830 Document `license_model` as supported argument
Required for Oracle SE1
2015-11-10 14:31:55 +09:00
mcinteer 64d982ac9e Change the docs as the token can be explicitly set
This tripped me up today when I was trying to connect using MFA. I had a look at the source and found the token property, tested it out and low and behold it worked! 

Hopefully this saves someone else going through the same pain
2015-11-10 11:27:45 +13:00
Clint 6906dc1b2b Merge pull request #3822 from ijin/patch-2
Add db_subnet_group_name to aws_rds_cluster docs
2015-11-09 14:11:16 -06:00
Martin Atkins 988baa584b Merge #3814: 'coalesce' interpolation func 2015-11-09 09:31:18 -08:00
Michael H. Oshita 796fdeef53 Update rds_cluster.html.markdown
I needed `db_subnet_group_name` in the rds_cluster resource as well when creating on a non-default VPC.

https://github.com/hashicorp/terraform/pull/2935#issuecomment-133481106
2015-11-10 01:42:59 +09:00
Jef Statham 13e862673f Fix spelling mistake in aws iam saml title 2015-11-09 10:52:09 -05:00
Jef Statham 87e384dc97 Fix spelling mistake in aws saml example
Example resource name is `aws_iam_saml_provider` instead of `aws_saml_provider`.
2015-11-09 09:56:38 -05:00
Kirill Shirinkin 7e676a672f provider/openstack: extend documentation of Neutron::FloatingIP 2015-11-08 20:43:34 +01:00
Matt Morrison 6ecec7fe83 Add coalesce func 2015-11-08 19:34:56 +13:00
Paul Forman 4d640c6528 providers/aws: add name_prefix option to launch config
See #2911.

This adds a `name_prefix` option to `aws_launch_configuration` resources.

When specified, it is used instead of `terraform-` as the prefix for the
launch configuration.  It conflicts with `name`, so existing
functionality is unchanged.  `name` still sets the name explicitly.

Added an acceptance test, and updated the site documentation.
2015-11-07 01:29:16 -07:00
Clint 91aeba48ff Merge pull request #3795 from willrstern/aws-rds-typo
Typo in docs - AWS RDS config
2015-11-06 17:08:52 -06:00
clint shryock d6f6a3b3f5 Merge branch 'master' of github.com:hashicorp/terraform
* 'master' of github.com:hashicorp/terraform:
  Update CHANGELOG.md
  Adding S3 support for Lambda provider
2015-11-06 16:55:32 -06:00
clint shryock ccd37796ec Merge branch 'pr-3707'
* pr-3707:
  config updates for ElastiCache test
  Removing the instance_type check in the ElastiCache cluster creation. We now allow the error to bubble up to the userr when the wrong instance type is used. The limitation for t2 instance types now allowing snapshotting is also now documented
  Making the changes to the snapshotting for Elasticache Redis as per @catsby's findings
  Added an extra test for the Elasticache Cluster to show that updates work. Also added some debugging to show that the API returns the Elasticache retention period info
  When I was setting the update parameters for the Snapshotting, I didn't update the copy/pasted params
  Adding the ability to specify a snapshot window and retention limit for Redis ElastiCache clusters
2015-11-06 16:55:16 -06:00
Rob Zienert 327bd4f9c0 Adding S3 support for Lambda provider 2015-11-06 15:57:18 -06:00
Will Stern 1ab69ab638 typo in cluster_identifier 2015-11-06 15:55:58 -06:00
Clint c284f31570 Merge pull request #3626 from wojtekmach/patch-1
digitalocean: update index docs for do_token var
2015-11-06 11:32:09 -06:00
Clint ea3fc69f67 Merge pull request #3789 from stack72/f-aws-rds-cluster-instance-docs
provider/aws: RDS Cluster Instance Docs Update
2015-11-06 11:30:22 -06:00
Joe Topjian 1656e2837c Merge pull request #3772 from Fodoj/add-fixed-ips-to-openstack-ports
provider/openstack: Add fixed ips to openstack ports
2015-11-06 10:21:20 -07:00
clint shryock 83ae6fe410 document source_security_group_id for ELB 2015-11-06 11:20:30 -06:00
stack72 e8a411ce5f Fixing the RDS Cluster Instance docs to show that either an instance must be set as public OR have a db_subnet_group_name set 2015-11-06 16:10:21 +00:00
stack72 350f91ec06 Removing the instance_type check in the ElastiCache cluster creation. We now allow the error to bubble up to the userr when the wrong instance type is used. The limitation for t2 instance types now allowing snapshotting is also now documented 2015-11-06 11:16:51 +00:00
Brett Mack bda4ef7e7c Merge branch 'terraform' into hmrc 2015-11-06 10:22:25 +00:00
Clint cb52e23226 Merge pull request #3757 from stack72/f-aws-rds-cluster-backup
provider/aws: RDS Cluster additions
2015-11-05 14:28:18 -06:00
Paul Hinze d347b9d8e5 Merge pull request #3729 from hashicorp/docs-vmware-vsphere
docs: Change vSphere to VMware vSphere
2015-11-05 13:07:50 -06:00
Paul Hinze e85a618d67 Merge pull request #3717 from rakutentech/improve-acceptance-test
provider/vsphere: Fix acceptance tests for using optional parameters
2015-11-05 13:07:20 -06:00
Kirill Shirinkin 3a63b48f97 provider/openstack: fixed_ips implementation for ports 2015-11-05 19:23:05 +01:00
Brett Mack cb90e6c037 Merge branch 'master' into hmrc 2015-11-05 16:35:27 +00:00
ryane 72c86a62c0 support for log driver + config in docker container 2015-11-04 15:52:16 -05:00
ryane 4531866d8d add label support to docker container resource 2015-11-04 15:52:15 -05:00
ryane 6842c32d03 add basic runtime constraints to docker_container 2015-11-04 15:52:15 -05:00
ryane 17d185808e restart policy support for docker_container 2015-11-04 15:52:15 -05:00
ryane 0ded14f160 entrypoint support for docker_container resource 2015-11-04 15:52:15 -05:00
clint shryock e3be1d5f10 update elb access logs docs 2015-11-04 14:15:40 -06:00
Trevor Pounds 02ee437328 Add website docs. 2015-11-04 14:14:51 -06:00
stack72 1d0dbc5d19 Adding backup_retention_period, preferred_backup_window and preferred_maintenance_window to RDS Cluster 2015-11-04 19:40:22 +00:00
Dave Cunningham bb5eb4ff46 Merge pull request #3702 from lwander/f-gcp-global-forwarding-rule
provider/google: global forwarding rule tests & documentation
2015-11-03 13:41:08 -05:00
Lars Wander d344d3e39a provider/google: global forwarding rule tests & documentation 2015-11-03 13:31:46 -05:00
Lars Wander d11524682a provider/google: Target HTTPS proxy resource + tests & documentation 2015-11-03 12:34:13 -05:00
Dave Cunningham 0097d7105b Merge pull request #3727 from lwander/f-gcp-target-http-proxy
provider/google: Target HTTP proxy resource + tests & documentation
2015-11-03 12:12:01 -05:00
Lars Wander 843c04e917 provider/google: Improve Container Scope Example Documentation 2015-11-03 10:30:36 -05:00
Lars Wander e7ebb0ac40 provider/google: target http proxies resource + tests & documentation 2015-11-03 08:54:30 -05:00
Joe Topjian 312d371ce9 provider/openstack: Additions to the OpenStack Port resource
This commit adds further work to the OpenStack port resource:

* Makes relevant fields computed
* Adds state change functions
* Adds acceptance tests
* Adds Documentation
2015-11-03 06:07:32 +00:00
Joe Topjian 352d6abfd7 Merge pull request #3232 from jtopjian/openstack-bootfromvolume-image-fixes
provider/openstack: Boot From Volume and Image Handling Fixes
2015-11-03 13:57:18 +09:00
Cameron Stokes 05a0a41236 vSphere occurrences in vsphere_virtual_machine resource page 2015-11-02 18:27:22 -08:00
Cameron Stokes 964c9cd7e8 Change all occurrences of 'vSphere' to 'VMware vSphere' 2015-11-02 18:21:08 -08:00
Dave Cunningham 519756c42a Merge pull request #3722 from lwander/f-gcp-url-maps
provider/google: Added url map resource + tests & documentation
2015-11-02 17:29:29 -05:00
Lars Wander ccb3f92bd1 provider/google: Added url map resource + tests & documentation 2015-11-02 17:12:41 -05:00
Clint cb8962a6c6 Merge pull request #3710 from stack72/f-aws-asg-generated-name
provider/aws: Making the AutoScalingGroup name optional
2015-11-02 16:07:49 -06:00
Dave Cunningham 232a538c14 Merge pull request #3723 from lwander/f-gcp-ssl-certs
provider/google: SSL Certificates resource + tests & documentation
2015-11-02 14:44:19 -05:00
Lars Wander f70d4079c1 provider/google: SSL Certificates resource + tests & documentation 2015-11-02 14:35:51 -05:00
Brett Mack fc7dcb824f Minor change to documentation 2015-11-02 19:22:48 +00:00
Dave Cunningham 6ac8290f12 Merge pull request #3701 from lwander/f-gcp-global-address
provider/google: global address + tests & documentation
2015-11-02 13:29:36 -05:00
Sunil K Chopra 16b0e0d619 documentation, thanks again to stack72 2015-11-02 09:44:29 -06:00
Brett Mack 8376a5a160 Merge branch 'terraform' 2015-11-02 13:57:44 +00:00
Brett Mack 8780bd269a Added vCloud Director provider with tests and provider documentation 2015-11-02 13:39:25 +00:00
Radek Simko 94456dd20c Merge pull request #3713 from lwander/b-gcp-backend-region
provider/google: Region attribute wasn't wrapped in quotes
2015-11-02 10:47:27 +00:00
Takaaki Furukawa 12fc9a1d78 Fix acceptance tests for using optional parameters at different environment 2015-11-01 13:04:56 +09:00
Joe Topjian 7596e64570 provider/openstack: Documentation update for Security Group "self"
This commit adds a note about `cidr` and `from_group_id` being ignored
if `self` is set to true.

Fixes #3448
2015-11-01 01:24:38 +00:00
Joe Topjian 4a5cd0b415 provider/openstack: Fixing Image ID/Name areas
This commit cleans up areas that configure the image_id and image_name.

It enables the ability to not have to specify an image_id or image_name
when booting from a volume.

It also prevents Terraform from reporting an error when an image name is no
longer able to be resolved from an image ID. This usually happens when the
image has been deleted, but there are still running instances that were based
off of it.

The image_id and image_name parameters no longer immediately take a default
value from the OS_IMAGE_ID and OS_IMAGE_NAME environment variables. If no other
resolution of an image_id or image_name were found, then these variables will
be referenced. This further supports booting from a volume.

Finally, documentation was updated to take into account booting from a volume.
2015-10-31 22:45:34 +00:00
Lars Wander 966b5c9f02 provider/google: Region attribute wasn't wrapped in quotes 2015-10-31 09:52:50 -04:00
Joe Topjian cc2b3677e6 Merge pull request #3091 from berendt/openstack_subnet_ip_default
provider/openstack: use '4' as default for ip_version of subnet
2015-10-31 22:15:48 +09:00
Joe Topjian fa6df71b70 Merge pull request #3126 from jtopjian/openstack-icmp-documentation
provider/openstack: ICMP Documentation
2015-10-31 22:06:06 +09:00
stack72 69b905fb92 Making the AutoScalingGroup name optiona 2015-10-31 09:24:46 +00:00
stack72 7dd15469a5 Adding the ability to specify a snapshot window and retention limit for Redis ElastiCache clusters 2015-10-31 00:09:20 +00:00
Paul Hinze 3a7fa866c1 Merge pull request #3274 from stack72/aws-codecommit
provider/aws: CodeCommit - Currently only in us-east-1
2015-10-30 17:41:28 -05:00
Lars Wander 4ec1da4c86 provider/google: global address + tests & documentation 2015-10-30 17:57:09 -04:00
stack72 14604e432e Added the documentation for the CodeCommit repository 2015-10-30 21:39:16 +00:00
Dave Cunningham 8ff8f17add Merge pull request #3667 from lwander/f-gcp-instance-template-preemptible
provider/google: Added `preemtible` flag to `instance_template`
2015-10-30 17:38:15 -04:00
Dave Cunningham f562d17a13 Merge pull request #3617 from lwander/f-gcp-sql-instance
provider/google: SQL instance & database tests & documentation
2015-10-30 17:36:28 -04:00
Paul Hinze 07a9c34e02 Merge pull request #3339 from stack72/aws-asg-docs-3327
docs: Updating the ASG docs to suggest health_check_grace_period is a required field under certain circumstances
2015-10-30 15:46:31 -05:00
Lars Wander 2da1ba0118 provider/google: Added `preemtible` flag to `instance_template` 2015-10-30 16:07:11 -04:00
Lars Wander 07de5e7260 provider/google: SQL instance & database tests & documentation 2015-10-30 15:35:29 -04:00
Clint 4db8ef4a45 Merge pull request #3529 from hashicorp/b-aws-rds-copy-tags-to-snapshots
provider/aws: Add configuration to enable copying RDS tags to final snapshot
2015-10-30 09:09:41 -05:00
Nashwan Azhari bf09edc642 provider/Azure: fixes:
added wait on instance deletion for associated blob deletion.
added guarding Mutex for secgroup-rule-related concurrent operations.
added usage warning on secgroup rules.
2015-10-30 02:57:47 +02:00
Clint 5c3c1e2327 Merge pull request #3548 from MDL/aws_route
provider/aws: add aws_route resource (finish)
2015-10-29 17:06:56 -05:00
Paul Hinze 79e6f2fc9d Merge pull request #3683 from hashicorp/phinze/doc-vsphere-acctests
website: document vsphere acctest instructions
2015-10-29 14:53:47 -05:00
Paul Hinze b1cf7f4841 Merge pull request #3682 from f440/update-logging-option
docs: Correct logging option example
2015-10-29 14:53:31 -05:00
Paul Hinze 32ae193e94 Merge pull request #2778 from apparentlymart/tls
TLS utility provider
2015-10-29 14:51:06 -05:00
Clint cc0b941ba2 Merge pull request #3685 from stack72/f-aws-s3bucket-arn
Adding a computed ARN for the S3 Bucket as per #3666
2015-10-29 11:09:54 -05:00
stack72 8eec0c896f Adding a computed ARN for the S3 Bucket as per #3666 2015-10-29 13:33:35 +00:00
Clint cb2ecf5733 Merge pull request #3255 from Runscope/local-kinesis
provider/aws: allow local kinesis
2015-10-29 08:24:07 -05:00
Paul Hinze be3dd42c9d website: document vsphere acctest instructions
closes #3524
2015-10-29 07:48:11 -05:00
f440 983e07cc17 docs: Correct logging option example
ref. 0090c063e8
2015-10-29 18:56:40 +09:00
Radek Simko 678c7e905a Merge pull request #3094 from TimeIncOSS/f-aws-cloudtrail
provider/aws: Add support for CloudTrail
2015-10-29 07:03:17 +00:00
clint shryock 9aeb04909c Merge branch 'master' into pr-2836
* master: (335 commits)
  Update CHANGELOG.md
  config: return to the go1.5 generated lang/y.go
  Update CHANGELOG.md
  Allow cluster name, not only ARN for aws_ecs_service
  Update CHANGELOG.md
  Add check errors on reading CORS rules
  Update CHANGELOG.md
  website: docs for null_resource
  dag: use hashcodes to as map key to edge sets
  Update CHANGELOG.md
  Update CHANGELOG.md
  Update CHANGELOG.md
  Use hc-releases
  provider/google: Added scheduling block to compute_instance
  Use vendored fastly logo
  Use releases for releases
  Update CHANGELOG.md
  Update CHANGELOG.md
  Update vpn.tf
  Update CHANGELOG.md
  ...
2015-10-28 13:20:10 -05:00
Radek Simko 7c4849541a aws: Add docs for aws_cloudtrail 2015-10-28 17:14:24 +00:00
Radek Simko 0d8d6fde79 Merge pull request #2636 from TimeIncOSS/f-aws-cloudformation
provider/aws: Add aws_cloudformation_stack
2015-10-28 16:16:14 +00:00
Clint 5cedd64a15 Merge pull request #3387 from kjmkznr/s3-cors
provider/aws: Add CORS settings to S3 bucket
2015-10-28 10:09:44 -05:00
Paul Hinze fc3bda3651 Merge pull request #3659 from hashicorp/phinze/doc-null-resource
website: docs for null_resource
2015-10-27 16:16:25 -05:00
Paul Hinze 7f800f3498 website: docs for null_resource 2015-10-27 15:28:37 -05:00
Dave Cunningham 66336f577a Merge pull request #3643 from lwander/f-gcp-instance-scheduling
provider/google: Added scheduling block to compute_instance
2015-10-26 19:29:33 -04:00
Lars Wander 5a311dbd11 provider/google: Added scheduling block to compute_instance 2015-10-26 16:16:06 -04:00
BSick7 9cb1aada0a Fixing page metadata for aws_route. 2015-10-26 13:26:47 -04:00
Joshua Garnett d86376c0ac Fixing the cloudwatch_metric_alarm auto scale example 2015-10-23 08:22:46 -04:00
Martin Atkins f6fd41e7b5 tls provider
As of this commit this provider has only logical resources that allow
the creation of private keys, self-signed certs and certificate requests.
These can be useful when creating other resources that use TLS
certificates, such as AWS Elastic Load Balancers.

Later it could grow to include support for real certificate provision from
CAs using the LetsEncrypt ACME protocol, once it is stable.
2015-10-22 21:48:32 -07:00
Wojtek Mach 65cd53f70a digitalocean: update index docs for do_token var
Updates the docs and clarifies the usage of `do_token` variable.

I was experiencing an issue mentioned here https://github.com/hashicorp/terraform/issues/124 and so adding more docs should be helpful.
2015-10-22 21:14:54 +02:00
Martin Atkins ef161e1c1b Various interpolation functions for CIDR range manipulation.
These new functions allow Terraform to be used for network address space
planning tasks, and make it easier to produce reusable modules that
contain or depend on network infrastructure.

For example:
- cidrsubnet allows an aws_subnet to derive its
  CIDR prefix from its parent aws_vpc.
- cidrhost allows a fixed IP address for a resource to be assigned within
  an address range defined elsewhere.
- cidrnetmask provides the dotted-decimal form of a prefix length that is
  accepted by some systems such as routing tables and static network
  interface configuration files.

The bulk of the work here is done by an external library I authored called
go-cidr. It is MIT licensed and was implemented primarily for the purpose
of using it within Terraform. It has its own unit tests and so the unit
tests within this change focus on simple success cases and on the correct
handling of the various error cases.
2015-10-22 08:10:52 -07:00
Martin Atkins 932f0ddbeb Fix syntax errors in AWS CodeDeploy resource docs. 2015-10-21 09:45:48 -07:00
Martin Atkins c0f44a7301 Merge #2783: AWS Codeploy apps and deployment groups 2015-10-21 08:38:58 -07:00
Martin Atkins dd56b39e0c Codeploy deployment group app_name instead of application_name.
The corresponding resource is called aws_codeploy_app, so for consistency
we'll name the attribute app_name instead of application_name.
2015-10-21 08:34:46 -07:00
Matt Morrison cccc5d03e3 Add lower / upper interpolation functions 2015-10-21 08:16:24 -07:00
Christopher Tiwald 0952505358 aws: Add docs for aws_codedeploy_deployment_group 2015-10-20 18:05:40 -04:00
Christopher Tiwald fa3dfd1420 aws: Add documentation for "aws_codedeploy_app" resources. 2015-10-20 18:05:39 -04:00
Martin Atkins 484d6f8765 Merge pull request #3487 from nathan7/etcd
Etcd remote state backend
2015-10-19 18:42:29 -07:00
BSick7 6a593f9d17 Fixing aws identifiers for aws_route.
Fixing basic acceptance test.
Adding warning to website about mixed mode.
Adding exists to aws_route.
Adding acceptance test for changing destination_cidr_block.
2015-10-19 09:16:27 -04:00
gkze ac0afad6e9 Add aws_route resource 2015-10-19 09:16:26 -04:00
David Adams 3021069207 Update init and remote config command docs
* Update init docs to be correct, and provide an example.
* Update remote config docs to provide more details about the Consul
  backend and to provide another example.
2015-10-18 18:23:13 -05:00
Nathan Zadoks 362a2035c0 Document the etcd remote state backend 2015-10-18 23:24:56 +02:00
Dave Cunningham 5930771615 Update compute_instance.html.markdown
Make it clear that you can't have two networks
2015-10-18 13:21:41 -04:00
clint shryock 20bc0ca3cd document copy_tags 2015-10-16 11:20:24 -05:00
Radek Simko 4017a611c3 docs: Glacier Vault - add title + make note more brief 2015-10-15 20:59:58 +02:00
Radek Simko 26bc27594b docs: Fix EFS documentation 2015-10-15 20:57:42 +02:00
Paul Hinze 9d41e6f3d1 vsphere docs: add warning about possible changes
Since we merged this so that the community could collaborate on
improvements, I thought it would be prudent to inform potential users of
the status of the provider so they know what to expect.
2015-10-15 09:35:06 -05:00
Paul Hinze 60e9bec052 Merge pull request #3483 from hashicorp/d-vsphere
vsphere docs; first draft
2015-10-15 09:21:32 -05:00
Paul Hinze 05d6c5b509 vsphere docs; first draft
I'm not familiar with vSphere so I had to skip over details in some
places, but this at least gets the basic structure in for the docs.
2015-10-15 09:18:05 -05:00
Martin Atkins 3708e752af Merge pull request #3138 from mastor/master
Support tags for aws_db_subnet_group
2015-10-14 19:36:45 -07:00
Martin Atkins 1300f165b1 Merge pull request #3311 from caarlos0/allow-non-persistent-spot-requests
Allow non-persistent spot requests
2015-10-14 19:34:31 -07:00
Rob Zienert a1939e70f7 Adding ignore_changes lifecycle meta property 2015-10-14 16:34:27 -05:00
Paul Hinze 5f6c03f515 Merge pull request #3191 from hashicorp/f-asg-wait-config
provider/aws: configurable capacity waiting duration
2015-10-14 10:34:55 -05:00
Paul Hinze c51080d16b Merge pull request #3210 from hashicorp/d-module-source-private-github-repos
doc: module sources from private github repos
2015-10-14 10:21:15 -05:00
Paul Hinze 46952b9c13 Merge pull request #3469 from squaresurf/doc-update
A script must have executable permissions.
2015-10-14 10:20:45 -05:00
Paul Hinze e62d2c7aec Merge pull request #3489 from gtheys/fix_doc_aws_elb_stickyness
fix illegal char in the policy name
2015-10-14 10:19:47 -05:00
Garrett Heel 9c2725e0a5 provider/aws: allow local kinesis 2015-10-13 14:29:50 -07:00
Radek Simko 61948f35d2 provider/aws: Add docs for aws_cloudformation_stack 2015-10-13 22:55:09 +02:00
Radek Simko 88e56479a5 docs: Make IAM policy doc canonical 2015-10-13 22:52:11 +02:00
Radek Simko 43c7711ac8 docs/aws: Fix whitespacing in glacier_vault 2015-10-13 22:46:55 +02:00
stack72 2a7b8be9f3 Gofmt of the aws glacier vault resource 2015-10-13 14:58:29 +01:00
stack72 95d35ad77f Adding the the docs for the Glacier Vault resource
Updating the glacier docs to include a link to the AWS developer guide
2015-10-13 14:58:29 +01:00
Geert Theys aaac9435ec fix illegal char in the policy name
aws_lb_cookie_stickiness_policy.elbland: Error creating LBCookieStickinessPolicy: ValidationError: Policy name cannot contain characters that are not letters, or digits or the dash.
2015-10-13 12:57:22 +02:00
Paul Hinze a811a72f11 provider/aws: fix force_delete on ASGs
The `ForceDelete` parameter was getting sent to the upstream API call,
but only after we had already finished draining instances from
Terraform, so it was a moot point by then.

This fixes that by skipping the drain when force_delete is true, and it
also simplifies the field config a bit:

 * set a default of false to simplify the logic
 * remove `ForceNew` since there's no need to replace the resource to
   flip this value
 * pull a detail comment from code into the docs
2015-10-12 17:10:01 -05:00
Paul Hinze 61721387b3 Merge pull request #3457 from TimeIncOSS/f-aws-ec2-placement-groups
provider/aws: Add support for EC2 Placement Group
2015-10-12 14:24:12 -05:00
Clint 8152f5822e Merge pull request #3265 from stack72/aws-s3-bucket-update
provider/aws: Adding some other simple S3 Bucket Object (Optional) Inputs
2015-10-12 14:23:29 -05:00
Martin Atkins 51630aea26 Merge #3397: Tags for AWS Kinesis Streams 2015-10-12 09:38:09 -07:00
Garrett Heel 36f78cc1dc provider/aws: Allow tags for kinesis streams 2015-10-12 09:00:56 -07:00
stack72 3809cb5b88 Fixing the merge conflicts on the s3 bucket object resource after another PR had been merged 2015-10-12 16:51:27 +01:00
Martin Atkins 091d3fe206 Merge #3351: aws_autoscaling_lifecycle_hook resource 2015-10-11 22:52:00 -07:00
stack72 7d600cadd2 Adding the docs for the autoscaling_lifecycle_hook 2015-10-11 20:42:14 -03:00
Martin Atkins 200a42ab46 Documentation of TF_LOG taking log levels.
As of 0090c063e it is now possible to filter the logs by level by setting
TF_LOG to one of the known log level names.
2015-10-11 10:56:45 -07:00
Anthony Stanton b62833e7b8 Add documentation for compact() 2015-10-11 16:47:48 +02:00
Martin Atkins b7247026e9 Merge #3228: aws_directory_service_directory resource 2015-10-10 18:09:17 -07:00
Martin Atkins fd0174b031 Merge pull request #3415 from apparentlymart/heredoc-docs
Document that heredoc syntax is supported
2015-10-10 17:32:27 -07:00
Martin Atkins a97036f3a3 Merge pull request #3383 from apparentlymart/docker-container-command-docs
Example for the command arg on docker_container.
2015-10-10 17:30:33 -07:00
Martin Atkins 5a91a765e9 Merge pull request #3367 from josephholsten/atlas-artifact
Update docs to show correct launching of atlas artifact in AWS.
2015-10-10 17:19:09 -07:00
Trevor Pounds a4fb080abe Add missing `to_port` argument to website docs. 2015-10-10 14:54:59 -07:00
Martin Atkins a888cd6f62 Merge pull request #3200 from zpatrick/master
Optional "content" argument for "s3_bucket_object"
2015-10-10 11:26:38 -07:00
Sam Handler 444d63240b Update page title for project.html.markdown 2015-10-09 17:43:10 -04:00
Daniel Paul Searles fd2d9371e9 A script must have executable permissions.
Why:

* The current example for passing arguments to a local script does not
  include making the uploaded file executable.

This change addresses the need by:

* Add a step to make the uploaded script executable to the example
  showing how to pass arguments to an uploaded script.
2015-10-09 11:27:38 -07:00
Julian C. Dunn 3143d1703d Graphviz Workspace appears to be dead, so remove it from the docs. 2015-10-09 01:19:14 -04:00
Radek Simko f43ea74f4d provider/aws: Add docs for aws_directory_service_directory 2015-10-08 17:06:39 -07:00
Rafael Fonseca acb8d044a3 Add missing 'e' 2015-10-09 09:34:17 +13:00
Radek Simko 78f76b993c provider/aws: Add docs for aws_placement_group 2015-10-08 13:03:25 -07:00
stack72 0a5387db90 Adding some examples of the S3 bucket object parameters as well as checking for an empty string in the new S3 bucket object params 2015-10-08 17:24:33 +01:00
Clint 4962ef159b Merge pull request #3036 from hashicorp/b-aws-eip-computed-instance
provider/aws: Allow Instance to be computed in EIPs
2015-10-08 09:38:26 -05:00
Clint Shryock 9d973f1279 document limitation of instance id / network interface id 2015-10-08 09:30:55 -05:00
Radek Simko 8364827a36 Merge pull request #3443 from TimeIncOSS/f-aws-es
provider/aws: Add support for Elastic Search
2015-10-08 07:06:52 -07:00
Sander van Harmelen cc921b0bc7 Small refactor for better readability and updated the docs 2015-10-08 10:09:11 +02:00
Radek Simko 4ca3853824 Merge pull request #3277 from stack72/aws-app-cookieness-doc-update
docs: Updating the app_cookie_stickiness_policy docs to reflect needing a L…
2015-10-07 17:18:55 -07:00
Radek Simko e65ef8f13f provider/aws: Add docs for aws_elasticsearch_domain 2015-10-07 16:57:46 -07:00
Paul Hinze 40f09b7cbd Merge pull request #2260 from crunchywelch/packet_driver
Packet bare metal cloud hosting platform provider
2015-10-07 15:15:42 -05:00
Robert Roland 2b75e65129 Update container.html.markdown
Correcting a misspelling in the docs.
2015-10-07 13:07:41 -07:00
Clint Shryock 7abe2a10e7 Fix spellng errorr 2015-10-07 11:26:23 -05:00
Clint Shryock 70841285c2 Update RDS Cluster for final snapshot, update tests/docs 2015-10-07 11:26:23 -05:00
Clint Shryock 77d8f87308 add publicly_accessible, update docs 2015-10-07 11:26:23 -05:00
Clint Shryock 5739c4869c provider/aws: Docs for RDS Cluster, Cluster Instance 2015-10-07 11:26:23 -05:00
Paul Hinze 59c414d257 Merge pull request #2162 from apparentlymart/aws-opsworks-stackslayers
provider/aws: Opsworks Stacks and Layers
2015-10-06 15:24:00 -05:00
Dave Cunningham b816ed6c87 Merge pull request #3272 from lwander/f-gce-bucket-acls
provider/gce: Implemented bucket & object ACLs, as well as documentation and tests
2015-10-06 14:49:20 -04:00
Dave Cunningham f9fc89dfde Merge pull request #3258 from lwander/f-gce-optional-region
provider/gce: Make region optional for remaining GCE resources
2015-10-06 14:48:36 -04:00
Lars Wander d15acb042c Implemented bucket & object ACLs, as well as documentation and tests 2015-10-06 14:46:47 -04:00
Lars Wander 1be8e85d44 Implements optional region for remaining GCE resources 2015-10-06 14:44:40 -04:00
balser 4ede14ee3e Correct VPC customer gw type in examples. 2015-10-06 13:39:39 -04:00
Martin Atkins 6c71504073 Various AWS OpsWorks layer resource types.
A "Layer" is a particular service that forms part of the infrastructure for
a set of applications. Some layers are application servers and others are
pure infrastructure, like MySQL servers or load balancers.

Although the AWS API only has one type called "Layer", it actually has
a number of different "soft" types that each have slightly different
validation rules and extra properties that are packed into the Attributes
map.

To make the validation rule differences explicit in Terraform, and to make
the Terraform structure more closely resemble the OpsWorks UI than its
API, we use a separate resource type per layer type, with the common code
factored out into a shared struct type.
2015-10-05 22:47:44 -07:00
Martin Atkins 4ce3d089fb aws_opswork_stack resource type.
"Stack" is the root concept in OpsWorks, and acts as a container for a number
of different "layers" that each provide some service for an application.
A stack isn't very interesting on its own, but it needs to be created before
any layers can be created.
2015-10-05 22:47:44 -07:00
Paul Hinze 374070d066 website: docs for parallelism setting
/cc @stack72 @knuckolls @mitchellh
2015-10-05 17:21:29 -05:00
Martin Atkins 3e9e96286a Document that heredoc syntax is supported.
Previously the only "documentation" I could find about this was a pull
request in the HCL repository.
2015-10-05 09:38:52 -07:00
Radek Simko d86c753cf1 provider/aws: Add docs for EFS resources 2015-10-03 19:35:07 -07:00
Martin Atkins e849ec3af5 Example for the command arg on docker_container.
For those accustomed to running commands via a shell it may not be clear
why this argument is a list and what the elements of that list should be.
Hopefully giving an example will help people understand what is expected.

This is in response to the misunderstanding discovered in #3011.
2015-10-03 18:03:04 -07:00
Martin Atkins 859c6c5e68 Merge #3233: Allow canned ACLs on S3 remote state. 2015-10-03 17:40:17 -07:00
Martin Atkins b8706a24d4 Merge #3156: aws_iam_saml_provider resource 2015-10-03 17:29:25 -07:00
Martin Atkins 1896d71d59 Merge #3235: elasticache cluster name to lowercase 2015-10-03 15:53:54 -07:00
Martin Atkins 0b85d35e87 Rename base64enc/dec to encode/decode.
There isn't any precedent for abbreviating words in the interpolation
function names, and it may not be clear to all users what "enc" and "dec"
are short for, so instead we'll prefer to spell out the whole words for
improved readability.
2015-10-03 15:12:51 -07:00
Martin Atkins b4e0a8e225 Merge branch 'base64-interp-funcs' 2015-10-03 14:52:09 -07:00
Martin Atkins c3d15a2336 Docs for base64 interpolation functions. 2015-10-03 14:49:50 -07:00
Clint Shryock 0af9a9f68f Merge branch 'pr-3256'
* pr-3256:
  docs: AWS launch configuration
2015-10-02 16:18:50 -05:00
Clint Shryock e317d6ec7b merge pr-3162 2015-10-02 16:02:58 -05:00
Clint 671b6e0f06 Merge pull request #3188 from miketheman/patch-1
Update aws_db_instance `db_subnet_group_name`
2015-10-02 15:56:45 -05:00
Clint 75c4ee06fc Merge pull request #2415 from TimeIncOSS/f-aws-cloudwatch-log-group
provider/aws: Add cloudwatch_log_group
2015-10-02 15:16:57 -05:00
Kazunori Kojima e0632de30c Add support S3 CORS 2015-10-02 01:49:32 +09:00
carinadigital 1d6a5c5401 Update docs to show correct launching of atlas artifact in AWS. 2015-09-30 00:36:20 -07:00
stack72 dc27e3d10b Adding a node to AWS AutoScale docs to make it clear that health_check_grace_period is a required field when setting ELB as the health_check_type 2015-09-28 10:51:36 +01:00
Radek Simko 4e29025820 docs: rundeck: Remove extra backslashes
- it may not feel right, but that's currently how the builtin functions work -> double quotes are not escaped
 - cc @apparentlymart
2015-09-25 10:51:55 +01:00
Radek Simko 0d5a0bb45d Merge pull request #3314 from apparentlymart/rundeck-doc-fix
Corrected example on rundeck provider index page
2015-09-25 10:47:03 +01:00
rob boll 325f95839a correct policy_document to policy in vpc_endpoint docs 2015-09-24 10:58:58 -04:00
Martin Atkins 7884fb805e Corrected example on rundeck provider index page.
An earlier version of the provider implementation accepted
key_material_file instead of key_material. This was updated in the
resource-specific docs but not in this provider-wide example.
2015-09-23 17:31:38 -07:00
Carlos A Becker 362024056f docs 2015-09-23 15:35:47 -03:00
Jason Gedge 3c6faf068f Allow setting the notification topic ARN for ElastiCache clusters. 2015-09-22 15:49:59 -04:00
Chavez ac42432690 docs: AWS launch configuration
* Spot instance documentation
2015-09-19 12:44:12 -07:00
Enrique Garbi 72b0ffe22e List of security groups should be ID/s not name/s 2015-09-18 14:43:53 +01:00
stack72 6337c350f5 Updating the app_cookie_stickiness_policy docs to reflact needing a LoadBalancer name NOT Id 2015-09-18 11:13:37 +01:00
stack72 f3f9ffea0b Noticed some typos in the LaunchConfig docs when replying to a github issue earlier 2015-09-17 22:18:23 +01:00
Spencer Owen 1dfafe1840 Fixes typo 2015-09-17 14:51:05 -06:00
Clint Shryock f0a3e8ed92 Merge branch 'master' of github.com:hashicorp/terraform
* 'master' of github.com:hashicorp/terraform:
  Update CHANGELOG.md
  Changing the ElastiCache Cluster configuration_engine to be on the cluster, not on the cache nodes
  Adding configuration endpoint to the elasticache cluster nodes
2015-09-17 14:28:28 -05:00
Clint Shryock b7cbd08e0c provider/aws: Fix typo in VPN Connection docs
Fixes #3241
2015-09-17 14:28:12 -05:00
Paul Hinze 028e50bae6 Merge pull request #3250 from stack72/aws-elasticache-configuration_endpoint
Adding configuration endpoint to the elasticache cluster nodes
2015-09-17 14:27:10 -05:00
stack72 2b7a13b609 Adding some other simple S3 Bucket Object (Optional) Inputs 2015-09-17 20:13:06 +01:00
Dave Cunningham 488738163b Merge pull request #3240 from lwander/f-gce-bucket-website
provider/gce: Implement "website features" for GCE buckets
2015-09-16 17:37:32 -04:00
Radek Simko 7b0626adb6 provider/aws: Add docs for CloudWatch Log Group 2015-09-16 22:28:01 +01:00
stack72 68c187c01e Changing the ElastiCache Cluster configuration_engine to be on the cluster, not on the cache nodes 2015-09-16 17:15:31 +01:00
stack72 029f1fa572 Adding configuration endpoint to the elasticache cluster nodes 2015-09-16 13:06:54 +01:00
Dave Cunningham 30c27362b1 Merge pull request #3213 from lwander/f-gce-vpn
provider/gce: VPN resources, documentation, tests and example
2015-09-15 16:29:41 -04:00
Lars Wander 6850786422 Documentation and tests written for GCE VPN config 2015-09-15 16:13:48 -04:00
Lars Wander 53e7058dee Address issue #2292 2015-09-15 15:06:52 -04:00
thrashr888 55f3c8c764 provider/aws: aws_elasticache_cluster normalizes name to lowercase 2015-09-14 16:50:53 -07:00
Radek Simko 4f7f20ba23 remote/s3: Add some docs for supported parameters 2015-09-14 10:40:53 +01:00
Anthony Scalisi 198e1a5186 remove various typos 2015-09-11 11:56:20 -07:00
Paul Hinze 863a7383aa doc: module sources from private github repos 2015-09-10 16:14:25 -05:00
Martin Atkins 141c419cc7 Docs for aws_s3_bucket content argument. 2015-09-09 23:17:57 -07:00
Dave Cunningham b91df72371 Merge pull request #3192 from lwander/f-gcs-bucket-object
Allow GCE users to upload objects to buckets by file
2015-09-09 12:27:37 -04:00
Jon Benson cf53778de5 Change amazon.ami to amazon.image 2015-09-08 16:23:25 -05:00
Lars Wander 602acadde8 Implemented GCS bucket objects 2015-09-08 16:57:18 -04:00
Sander van Harmelen 6cf126defa Merge pull request #3020 from davemcdermid/azure-join-domain
Added join_domain feature to Azure Instance resource
2015-09-08 22:54:38 +02:00
Paul Hinze 506aae2f28 provider/aws: configurable capacity waiting duration
move wait for capacity timeout from a constant to a configurable
2015-09-08 13:22:42 -05:00
Dave McDermid 00ea29aea7 Updated documentation for Azure join-domain 2015-09-08 15:53:52 +01:00
Mike Fiedler 10c96afa9b Update aws_db_instance `db_subnet_group_name`
When launching a new RDS instance in a VPC-default AWS account, trying to control which VPC the new RDS instance lands in is not apparent from the parameters available.
The following works:
```
resource "aws_db_subnet_group" "foo" {
  name = "foo"
  description = "DB Subnet for foo"
  subnet_ids = ["${aws_subnet.foo_1a.id}", "${aws_subnet.foo_1b.id}"]
}

resource "aws_db_instance" "bar" {
...
  db_subnet_group_name   = "${aws_db_subnet_group.foo.name}"
...
}
```

Hopefully this doc update will help others
2015-09-08 09:10:54 -04:00
Radek Simko 0a0f532bf9 Make docs more accurate 2015-09-08 12:11:02 +01:00
Radek Simko 1578372e9b google: Add docs for google_compute_backend_service 2015-09-08 10:22:15 +01:00
Kazunori Kojima 6c958e30e7 Add S3 versioning document 2015-09-06 11:25:24 +09:00
Paul Hinze 0a64779ee5 Merge pull request #2412 from apparentlymart/rundeck
Rundeck Provider
2015-09-04 13:38:20 -05:00
Paul Hinze 5f3b6f9952 Merge pull request #3120 from apparentlymart/elasticache-subnet-names
aws_elasticache_subnet_group normalizes name to lowercase.
2015-09-04 13:21:06 -05:00
Paul Hinze 3abf4796d4 Merge pull request #2784 from apparentlymart/aws-images
AWS AMI resources
2015-09-04 13:16:44 -05:00
Paul Hinze eb150ae025 provider/aws: add ses_smtp_password to iam_access_key
AWS gives instructions for converting AWS credentials into SES SMTP
credentials here:

https://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-credentials.html#smtp-credentials-convert

This implements their algorithm and yields the result as an attribute on
`iam_access_key`.
2015-09-03 13:01:04 -05:00
Martin Atkins 7f64327663 Three resources for AWS AMIs.
AWS provides three different ways to create AMIs that each have different
inputs, but once they are complete the same management operations apply.

Thus these three resources each have a different "Create" implementation
but then share the same "Read", "Update" and "Delete" implementations.
2015-09-03 10:05:41 -07:00
Martin Atkins 4ae3a17eab aws_elasticache_subnet_group normalizes name to lowercase.
The Elasticache API accepts a mixed-case subnet name on create, but
normalizes it to lowercase before storing it. When retrieving a subnet,
the name is treated as case-sensitive, so the lowercase version must be
used.

Given that case within subnet names is not significant, the new StateFunc
on the name attribute causes the state to reflect the lowercase version
that the API uses, and changes in case alone will not show as a diff.

Given that we must look up subnet names in lower case, we set the
instance id to be a lowercase version of the user's provided name. This
then allows a later Refresh call to succeed even if the user provided
a mixed-case name.

Previously users could work around this by just avoiding putting uppercase
letters in the name, but that is often inconvenient if e.g. the name is
being constructed from variables defined elsewhere that may already have
uppercase letters present.
2015-09-03 10:03:35 -07:00
Martin Atkins 1c8d0cdac7 Rundeck provider documentation for the website. 2015-09-03 10:01:32 -07:00
Joshua Semar b06f0bbf4a fix documentation 2015-09-03 10:33:59 -05:00
Radek Simko ac762e5503 provider/aws: Add docs for aws_iam_saml_provider 2015-09-02 20:01:36 +01:00
Marcello Laganà 72e421942e Support tags for aws_db_subnet_group 2015-09-01 17:23:28 +02:00
Joe Topjian d7fa07b348 provider/openstack: ICMP Documentation
Adds a note to the compute_secgroup_v2 documentation to clarify ICMP usage.
2015-08-31 14:19:05 +00:00
Clint 60a23274ec Merge pull request #3003 from cstamm13/master
Updating AWS SNS docs to include lambda protocol
2015-08-31 09:14:47 -05:00
Clint ade93d2fa8 Merge pull request #3031 from kjmkznr/docs-sqs-delayseconds
Fix AWS SQS DelaySeconds default value.
2015-08-31 09:13:06 -05:00
Radek Simko 3f7c3a92c3 docs: Fix typo (hyphen -> underscore) in remote-config 2015-08-29 11:30:11 +01:00
Radek Simko 5560f8a8d2 Merge pull request #3057 from jszwedko/patch-1
Fix remote state AWS configuration key names
2015-08-29 11:19:39 +01:00
Mark Turner c9ec10d71a Altered Consul variable from 'access-token' to 'access_token' so it's the same as in the codebase 2015-08-28 17:18:35 +01:00
Christian Berendt 3af3ce4242 provider/openstack: use '4' as default for ip_version of subnet 2015-08-27 18:27:14 +02:00
Radek Simko f4d7ec714e Merge pull request #3061 from TimeIncOSS/b-aws-ecs-iam-diff
Various ECS bugfixes (IAM, destroy timeout)
2015-08-25 16:22:51 +01:00
Lars Wander 2aad1f7bd2 Implemented CRUD project metadata operations
Common metadata state is now stored

Optimistic locking support added to common_metadata

Revisions to keys in project metadata are now reflected in the project state

Wrote tests for project metadata (all pass)

Relaxed test conditions to work on projects with extra keys

Added documentation for project metadata
2015-08-24 12:53:28 -04:00
Radek Simko 9c2a3e79f9 ecs_service: Add note about race condition w/ IAM policy
- fixes #2902
2015-08-23 17:45:24 +01:00
Jesse Szwedko 43e6a14290 Fix remote state AWS configuration key names 2015-08-21 21:03:20 -07:00
Sander van Harmelen 6b8d37e938 Fix issue #3033 and update tweak several cloudstack resources
- Added a retry loop for attaching disks as this something was tried to
fast when the VM was still booting
- Fix issue #3033
- Update docs for latest updates and done some minor refactoring
(styling)
2015-08-21 16:59:35 +02:00
Jeroen de Korte 2d1d47fac6 Added LoadBalancer support for Cloudstack Provider
PR is complete with docs and tests
2015-08-21 10:37:08 +02:00
Kazunori Kojima 1a68376585 Fix SQS DelaySeconds default value.
See [API Reference](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_CreateQueue.html)
> DelaySeconds - The time in seconds that the delivery of all messages
> in the queue will be delayed. An integer from 0 to 900 (15 minutes). The
> default for this attribute is 0 (zero).
2015-08-19 23:32:10 +09:00
Sam Clinckspoor 1f6c688d85 Updated AWS_SQS_QUEUE docs
* Added undocumented `redrive_policy` #
* Added link to AWS docs for `visibility_timeout_seconds`
2015-08-19 14:20:24 +02:00
Clint 79bd3a318d Merge pull request #2887 from hashicorp/f-aws-pr-2779
provider/aws/aws_instance: add instance_initiated_shutdown_behavior (supersedes 2779)
2015-08-18 14:53:43 -05:00
Kevin Fishner 76bbd3b457 Clarify that you get the AMI id from metadata 2015-08-18 12:48:01 -07:00
Clint Shryock fde2a400f7 Merge branch 'master' into f-aws-pr-2779
* master: (84 commits)
  provider/aws: Update to aws-sdk 0.9.0 rc1
  use name instead of id  - launch configs use the name and not ID
  Fix typo on heroku_cert example
  provider/aws: add value into ELB name validation message
  tests: fix missed test update from last merge
  update prevent_destroy error message
  Update CHANGELOG.md
  Update CHANGELOG.md
  providers/aws: Update Launch Config. docs to detail naming and lifecycle recommendation
  release: cleanup after v0.6.3
  v0.6.3
  Update CHANGELOG.md
  core: fix deadlock when dependable node replaced with non-dependable one
  tests: extract deadlock checking test helper
  core: log every 5s while waiting for dependencies
  Fixed indentation in a code sample
  state/remote/s3: match with upstream changes
  provider/aws: match with upstream changes
  google: Add example of two-tier app
  Updating Launch Config Docs for Name attribute
  ...
2015-08-18 14:40:01 -05:00
Dave York 6c6793a260 use name instead of id
- launch configs use the name and not ID
2015-08-17 10:24:25 -04:00
Gabriel Sobrinho 456fc37449 Fix typo on heroku_cert example 2015-08-14 18:56:57 -03:00
Casey Stamm 364a3b90df Updating AWS SNS docs to include lambda protocol 2015-08-14 16:50:09 -04:00
Paul Hinze cdcef1c852 Merge pull request #2704 from thegedge/add-index-function
Add a function to find the index of an element in a list.
2015-08-12 17:07:49 -05:00
Clint c5e8da2925 Merge pull request #2601 from nathanielks/feature/docs-environment-variables
Added page documenting useful Environment Variables
2015-08-12 13:54:55 -05:00
Clint d74ea5d472 Merge pull request #2933 from hashicorp/docs-math-interpolation
More details about math in interpolation
2015-08-12 13:49:58 -05:00
Clint 5eb9b6c74e Merge pull request #2867 from berendt/gh_issue_2864
provider/openstack: not only SATA or SSD are valid volume types
2015-08-12 11:10:37 -05:00
Clint f927835abe Merge pull request #2726 from trumant/provider_doc_clarification
Clarifying the resource state persistence mechanism for custom Provid…
2015-08-12 11:09:38 -05:00
Clint Shryock d7c3221b02 providers/aws: Update Launch Config. docs to detail naming and lifecycle recommendation 2015-08-12 11:00:05 -05:00
Clint a1507c85f2 Merge pull request #2966 from stack72/launch-config-docs
Updating Launch Config Docs for Name attribute
2015-08-12 10:44:31 -05:00
Alex Gaynor a419cb3005 Fixed indentation in a code sample 2015-08-10 16:48:32 -04:00
Paul Stack 38ef406b87 Updating Launch Config Docs for Name attribute
Hopefully this will help clear up this type of confusion https://github.com/hashicorp/terraform/issues/2958
2015-08-08 14:13:09 +01:00
Clint f238e254f4 Merge pull request #2944 from hashicorp/b-aws-document-lifecycle-dep
Document `create_before_destroy` limitation
2015-08-06 16:48:23 -05:00
Clint b779144a1e Merge pull request #2924 from calvinfo/f-aws-dynamo-arn
provider/aws: Add arn attribute for DynamoDB tables
2015-08-05 14:42:20 -05:00
Clint Shryock 285b4061db Merge remote-tracking branch 'upstream/master' into f-aws-s3-object-pr-2079
* upstream/master:
  Update CHANGELOG.md
  Update CHANGELOG.md
  provider/aws: allow external ENI attachments
  Update AWS provider documentation
  docs/aws: Fix example of aws_iam_role_policy
  provider/aws: S3 bucket test that should fail
  provider/aws: Return if Bucket not found
  Update CHANGELOG.md
  Update CHANGELOG.md
  helper/schema: record schema version when destroy fails
  settings file is not required
  provider/azure: Allow settings_file to accept XML string
  add note to aws_iam_policy_attachment explaining its use/limitations
  docs: clarify template_file path information
  google: Sort resources by alphabet in docs
  Support go get in go 1.5
  Update CHANGELOG.md
  aws_network_interface attachment block is not required
  provider/aws: Fix issue in Security Group Rules where the Security Group is not found
2015-08-05 13:45:06 -05:00
Clint Shryock 13e50e684c Document that create_before_destroy cannot depend on resources that are not also create_before_destroy 2015-08-05 11:59:08 -05:00
Clint 3e1300e96b Merge pull request #2913 from GrayCoder/master
add note to aws_iam_policy_attachment explaining its use/limitations
2015-08-05 10:00:39 -05:00
Pavel Vaněček d649af8813 Update AWS provider documentation
Changed `AWS_SECURITY_TOKEN` to `AWS_SESSION_TOKEN`
2015-08-05 14:40:26 +02:00
Cameron Stokes 30d57bf1ec Clarify math operations available for interpolation
As reported in #2782, the math operations, specifically subtraction,
can cause unexpected behavior when resource or variable names use hyphens.

I added clarification about using spaces with math operators as well as
which operations are available.
2015-08-04 11:09:43 -07:00
Radek Simko 57c2c90e20 docs/aws: Fix example of aws_iam_role_policy 2015-08-04 11:57:05 +01:00
Calvin French-Owen cb2d90a7d9 provider/aws: Add arn attribute for DynamoDB tables
This commit exports the `arn` as well as the `id`, since IAM
roles require the full resource name rather than just the table
name. I'd even be in favor or having `arn` as the `id` since the
<region, tablename> pair is the uniqueness constraint, but this
will keep backwards compatibility:

http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateTable.html
2015-08-03 14:10:18 -07:00
Clint 27b1aa6637 Merge pull request #2922 from hashicorp/azure-settings-file
provider/azure: Allow settings_file to accept XML string
2015-08-03 16:05:00 -05:00
Clint Shryock a7543de393 settings file is not required 2015-08-03 15:34:34 -05:00
Clint Shryock 2a5c18d88b provider/azure: Allow settings_file to accept XML string 2015-08-03 15:31:25 -05:00
Patrick Gray 99fae273eb add note to aws_iam_policy_attachment explaining its use/limitations 2015-08-02 16:44:43 -04:00
Paul Hinze 2cea7c7d0c docs: clarify template_file path information
- change example to use the most commonly necessary path format w/
   `path.module`
 - link to path variable page in description

/cc @KFishner
2015-07-31 11:44:07 -05:00
David Radcliffe 76dcc66597 Dyn provider docs 2015-07-31 08:39:52 -04:00
Jesse Szwedko 5b740c02db aws_network_interface attachment block is not required
Mark the `attachment` field of `aws_network_interface` as optional because it is not required to create a network interface
2015-07-30 16:25:50 -04:00
Clint Shryock f6bad310ee update docs 2015-07-30 15:17:16 -05:00
Clint Shryock 5c6083e1c4 Merge branch 'master' into f-aws-s3-object-pr-2079
* master: (720 commits)
  Update CHANGELOG.md
  Update CHANGELOG.md
  dynamodb-local Update AWS config https://github.com/hashicorp/terraform/pull/2825#issuecomment-126353610
  Make target_pools optional
  Update CHANGELOG.md
  code formatting
  Update CHANGELOG.md
  providers/google: Fix reading account_file path
  providers/google: Fix error appending
  providers/google: Return if we could parse JSON
  providers/google: Change account_file to JSON
  providers/google: Default account_file* to empty
  providers/google: Add account_file/account_file_contents ConflictsWith
  providers/google: Document account_file_contents
  providers/google: Use account_file_contents if provided
  providers/google: Add account_file_contents to provider
  Update CHANGELOG.md
  Update CHANGELOG.md
  dynamodb-local Use ` instead of : to refer region to keep the consistency with the provider docs
  dynamodb-local Update aws provider docs to include the `dynamodb_endpoint` argument
  ...
2015-07-30 14:30:35 -05:00
Dave Cunningham 6e7c6122e9 Merge pull request #2894 from sparkprime/optional_target_pool
Make target_pools optional
2015-07-30 13:52:44 -04:00
Pablo Cantero 28bef7c0c7 Merge branch 'master' into dynamodb-local 2015-07-30 12:16:07 -03:00
Dave Cunningham 65ba4c1b06 Make target_pools optional 2015-07-30 10:46:16 -04:00
Clint 26b416335f Merge pull request #2861 from hashicorp/b-azure-instance-error
provider/azure: Provide a simpler error when using a Platform Image without a Storage Service
2015-07-30 09:28:33 -05:00
Clint Shryock 30572212f2 Merge branch 'master' into pr-2779
* master: (86 commits)
  providers/google: Fix reading account_file path
  providers/google: Fix error appending
  providers/google: Return if we could parse JSON
  providers/google: Change account_file to JSON
  providers/google: Default account_file* to empty
  providers/google: Add account_file/account_file_contents ConflictsWith
  providers/google: Document account_file_contents
  providers/google: Use account_file_contents if provided
  providers/google: Add account_file_contents to provider
  Update CHANGELOG.md
  Update CHANGELOG.md
  use d.Id()
  Update CHANGELOG.md
  Update CHANGELOG.md
  scripts: change website_push to push from HEAD
  update analytics
  core: fix crash on provider warning
  provider/aws: Update source to comply with upstream breaking change
  Update CHANGELOG.
  provider/aws: Fix issue with IAM Server Certificates and Chains
  ...
2015-07-29 15:54:56 -05:00
Justin Campbell 773852e2d5 providers/google: Change account_file to JSON
If JSON fails to parse, treat it as a file path
2015-07-29 15:59:32 -04:00
Justin Campbell c7954dbf74 providers/google: Document account_file_contents 2015-07-29 15:59:32 -04:00
Pablo Cantero 2f6d20837f dynamodb-local Update aws provider docs to include the `dynamodb_endpoint` argument 2015-07-29 13:33:51 -03:00
Clint 16c1deffe0 Merge pull request #2846 from tphummel/patch-1
aws_sqs_queue argument description fix
2015-07-29 11:04:57 -05:00
Dave Cunningham 5544dac7c6 Merge branch 'master' into gce_autoscaling 2015-07-27 20:48:39 -04:00
Dave Cunningham 1ec247ef37 Use new autoscaler / instance group manager APIs. 2015-07-27 20:47:10 -04:00
Christian Berendt 9a7e6618cb provider/openstack: not only SATA or SSD are valid volume types
The available volume types depend on the used OpenStack environment.

Closes-bug: #2864
2015-07-28 00:33:43 +02:00
Clint Shryock de74608d37 provider/azure: Note to Instance docs about some images requiring a Storage Service 2015-07-27 10:22:35 -05:00
Tom Hummel 6931e8520e aws_sqs_queue argument description fix
the descriptions of `delay_seconds` and `visibility_timeout_seconds` appear to be swapped.
2015-07-25 12:49:10 -07:00
Jesse Szwedko 5554942721 This adds the source_dest_check attribute to the aws_network_interface resource
Defaults to true to be consistent with AWS
2015-07-23 06:16:51 +00:00
John Engelman cbe9be4571 Add website_domain for S3 buckets. 2015-07-22 10:38:28 -05:00
Clint f979fd7dee Merge pull request #2571 from TimeIncOSS/f-aws-autogenerated-elb-name
provider/aws: Allow ELB name to be generated
2015-07-21 15:52:36 -05:00
Dave Cunningham c6f0bf479b Merge branch 'master' into gce_autoscaling 2015-07-20 14:25:26 -04:00
Travis Truman d7e0e3fbe8 Responding to feedback 2015-07-19 14:15:56 -04:00
Marc Tamsky 521451db4d provider/aws/aws_instance: add new argument `instance_initiated_shutdown_behavior`,
accepts string values of 'stop' or 'terminate'.

Signed-off-by: Marc Tamsky <tamsky@users.noreply.github.com>
2015-07-18 09:45:34 -07:00
Mitchell Hashimoto 55985a6f9e Merge pull request #2752 from SamClinckspoor/patch-1
website: Fixed typo in AWS_CLOUDWATCH_METRIC_ALARM docs
2015-07-17 10:49:38 -07:00
Sander van Harmelen 28b7b53be6 Updates and tweaks 2015-07-16 17:40:11 +02:00
Sam Clinckspoor b54b35904d Fixed typo in AWS_CLOUDWATCH_METRIC_ALARM docs 2015-07-16 17:27:33 +02:00
Jon Simpson a2e14c0464 Fix typo 2015-07-15 16:48:53 +01:00
Clint abe62e635a Merge pull request #2724 from hashicorp/f-aws-asg-updates
provider/aws: Improved Auto Scaling Groups updates
2015-07-15 08:42:54 -05:00
Travis Truman 4bf24d5f97 Clarifying the resource state persistence mechanism for custom Provider/Resource authors 2015-07-14 13:40:58 -04:00
Radek Simko 650b13ebd4 provider/aws: Add docs for vpc_endpoint 2015-07-14 18:34:21 +01:00
Clint Shryock 55a1a31c2b provider/aws: document that availability zones are now optional in ASGs 2015-07-14 10:24:16 -05:00
Jason Gedge cf5926ddad Add a function to find the index of an element in a list. 2015-07-13 14:11:30 -04:00
Radek Simko 206278bac0 google: Update google_container_cluster attribute docs according to reality 2015-07-11 19:33:45 +01:00
Dave Cunningham 0df8bf90c7 Merge pull request #2357 from TimeIncOSS/gke
Add support for GKE (Google Container Engine)
2015-07-11 14:14:50 -04:00
Radek Simko 70c69e445c Add docs for google_container_cluster 2015-07-11 18:56:24 +01:00
Patrick Lee 80af6825fb changed combine() to concat() in docs
The example of the concat() function uses combine() instead of concat().
2015-07-09 17:04:36 -06:00
Sander van Harmelen 0dc0cff14d Merge pull request #2657 from blueharford/master
provisioner/chef: add secret key
2015-07-09 20:20:46 +02:00
Anthony Stanton 49a1f21a09 Use correct terms in DB Subnet Group docs 2015-07-09 17:39:05 +02:00
Joshua Seidel 147efbc52c update markdown 2015-07-09 10:13:54 -04:00
Clint b169a53786 Merge pull request #2642 from hashicorp/f-aws-elasticache-maintenance-window
provider/aws: Add maintenance window to ElastiCache cluster
2015-07-08 13:10:32 -06:00
Clint Shryock ef28007988 merge master 2015-07-08 13:05:33 -06:00
Patrick Gray b32008804e fix markdown for aws_iam_policy_attachment 2015-07-08 14:25:57 -04:00
Clint 82d142cc5f Merge pull request #2634 from hashicorp/f-aws-elasticache-redis-s3-snap
provider/aws: Add support for restoring from Redis backup stored in S3
2015-07-08 11:51:23 -06:00
Clint Shryock 49a01ee787 provider/aws: Add maintenance window to ElastiCache cluster
Implements #2612
2015-07-07 10:41:46 -06:00
Clint Shryock 91ea40d157 provider/aws: Update Launch Configuration docs to reflect required device name 2015-07-06 16:32:18 -06:00
Clint Shryock edf8948d52 provider/aws: Add support for restoring from Redis backup stored in S3
Fixes #2377
2015-07-06 16:19:15 -06:00
Radek Simko 1e56b607a0 Merge pull request #2599 from kelcecil/ebs_optimized
Add ebs_optimized argument to launch_configuration docs
2015-07-05 09:29:58 +02:00
Radek Simko 8d6e2eb064 Merge pull request #2609 from CpuID/cpuid_ecs_task_definition_docs
Updated docs for aws_ecs_task_definition, to avoid confusion.
2015-07-03 19:53:59 +02:00
Nathan Sullivan bba53d46a6 oops :) 2015-07-04 03:41:44 +10:00
Nathan Sullivan 21a336fb4a updates as per @radeksimko's comments 2015-07-03 18:30:55 +10:00
Radek Simko 03dc6c4879 Merge pull request #2610 from CpuID/cpuid_ecs_service_docs_iam
Fix aws_ecs_service iam_role docs
2015-07-03 07:45:31 +02:00
Nathaniel Schweinberg c29b4a9edd adding more verbose description to Environment Variables page, explained TF_LOG more 2015-07-02 13:49:57 -05:00
Kel Cecil 857f139404 Add ebs_optimized argument to launch_configuration docs 2015-07-02 13:03:27 -04:00
Clint 460d49fd52 Merge pull request #2062 from reverbdotcom/adding-rds-snapshots
Adding rds snapshots
2015-07-02 08:56:51 -05:00
Nathan Sullivan 5edbb37994 fix variable for aws_iam_role 2015-07-02 21:53:01 +10:00
Nathan Sullivan 928d5f76ab updated docs for aws_ecs_task_definition to avoid confusion 2015-07-02 20:34:58 +10:00
Nathaniel Schweinberg 382cad03c2 Added page documenting useful Environment Variables 2015-07-01 21:38:25 -05:00
Dave Cunningham 447da2177e Add ForceNew metadata_startup_script field 2015-07-01 21:24:34 -04:00
Paul Hinze 3dc055f18b Merge pull request #2582 from Tomohiro/fix-iam-user-access-key-example
Remove status argument from `aws_iam_access_key` example usage
2015-07-01 13:23:31 -05:00
Daisuke Fujita 280313ed24 Fix page description of aws_iam_group_membership 2015-07-02 01:38:40 +09:00
Daisuke Fujita cf432a5acd Fix page title of aws_iam_group_membership 2015-07-02 01:37:36 +09:00
Tomohiro TAIRA 405ed57544 Remove status argument from `aws_iam_access_key`
`aws_iam_access_key` resource is not supported `status` field.

Example from https://www.terraform.io/docs/providers/aws/r/iam_access_key.html:

    resource "aws_iam_access_key" "lb" {
        user = "${aws_iam_user.lb.name}"
        status = "Active"
    }

    resource "aws_iam_user" "lb" {
        name = "loadbalancer"
        path = "/system/"
    }

Result:

    $ terraform plan
    There are warnings and/or errors related to your configuration. Please
    fix these before continuing.

    Errors:

      * aws_iam_access_key.lb: "status": this field cannot be set
2015-07-01 13:07:31 +09:00
Adam Enger d206d6d5d8 Adding snapshot_identifier to db_instance docs 2015-06-30 15:33:13 -05:00
John Ewart 7b7d754bb5 Minor change to docs 2015-06-30 11:43:13 -07:00
John Ewart ca7fe86c67 Update DynamoDB example docs to remove non-key attributes; update test to remove non-key attribute from attribute set to prevent infinite planning loops 2015-06-30 11:38:16 -07:00
Radek Simko 676d490d40 provider/aws: Allow elb name to be generated 2015-06-30 13:13:51 +01:00
Radek Simko 8acc55ae13 Merge pull request #2402 from hashicorp/f-aws-ecs-td-deregistration
provider/aws: Deregister ECS task definition correctly
2015-06-30 12:36:58 +01:00
Radek Simko f67410db53 Merge pull request #2534 from dtan4/ec-subnet-group-subnet-ids
Make elasticache_subnet_group subnet_ids as required argument
2015-06-30 08:45:48 +01:00
Radek Simko f5eb581425 provider/aws: ecs task definition is deregistered correctly 2015-06-29 23:37:20 +01:00
Paul Hinze bc06deace2 Merge pull request #2535 from managedbyq/d-bogus-known-issue-dhcp-options
aws/docs: Removes bogus known linked issue from docs.
2015-06-29 17:17:54 -05:00
Mitchell Hashimoto 2b0d2f4c7d Merge pull request #2559 from hashicorp/b-push
command/push: new UX (prefer Atlas over local vars) [GH-2373]
2015-06-29 14:00:43 -07:00
Mitchell Hashimoto 3cc5252b9d website: update copy 2015-06-29 13:59:25 -07:00
Mitchell Hashimoto 9d9bcc2f6e command/push: update flag to -overwrite, update docs 2015-06-29 13:53:05 -07:00
Mitchell Hashimoto 82028a7667 website: update push docs 2015-06-29 13:45:35 -07:00
Clint 791787047f Merge pull request #2395 from GrayCoder/master
Add resource "aws_iam_policy_attachment" to attach a managed policy to users, roles, or groups
2015-06-29 14:33:34 -05:00
aznashwan 7429027a8c Added SQL Database Server Firewall Rule resource. 2015-06-29 21:36:02 +03:00
Paul Hinze 12e429c69c Merge pull request #2542 from jszwedko/fix-docker-image-field
The docker-image resource expects name, not image
2015-06-29 12:31:28 -05:00
Mitchell Hashimoto da136d1dff website: make clear that verbose policies are needed for s3_bucket 2015-06-28 22:42:13 -07:00
Jesse Szwedko b05ca5a39c The docker-image resource expects name, not image
to be set

[ci skip]
2015-06-28 19:16:56 -07:00
Camilo Aguilar f6cd88bcc4 aws/docs: Removes bogus known linked issue from docs.
aws-sdk-go does what it is supposed to do. Some DHCP clients
are just too weird.
2015-06-28 09:31:23 -04:00
Daisuke Fujita 562cf596dc Make elasticache_subnet_group subnet_ids essential 2015-06-28 16:13:25 +09:00
Clint 079e4505a8 Merge pull request #2276 from SamClinckspoor/resource-aws-elasticache-parameter-group
provider/aws elasticache parameter group
2015-06-26 14:01:19 -05:00
aznashwan 6ea0397e07 Made instances deployable on already existing services. 2015-06-26 15:49:05 +03:00
aznashwan c1ac72683d Fixed indentation in Azure documentation. 2015-06-26 15:49:05 +03:00
aznashwan 1e08c6e72f Made Azure security group rules - security groups relationship one - many. 2015-06-25 21:57:38 +03:00
Clint Shryock 54ddd55c63 add note on availability 2015-06-25 11:09:30 -05:00
Clint Shryock 93a577880b provider/aws: Allow in-place updates for ElastiCache cluster 2015-06-25 11:09:29 -05:00
Mitchell Hashimoto 25fa84974b update CHANGELOG 2015-06-25 09:07:11 -07:00
Mitchell Hashimoto 02624118b3 Merge pull request #2489 from joshgarnett/aws_instance_monitoring
provider/aws: adding support for detailed monitoring of instances
2015-06-25 09:05:15 -07:00
Joshua Garnett d23f534d26 Adding support for detailed monitoring of instances 2015-06-25 10:58:28 -04:00
Sander van Harmelen 61517f68b1 Add an `ohai_hints` option to upload hint files
This option takes a list of hints that will be uploaded to the new node
before starting the initial Chef run.
2015-06-25 16:32:36 +02:00
Sander van Harmelen 4c66df0dbf Merge pull request #2483 from svanharmelen/f-provisioner-chef-ostype
provisioner/chef: add an option to specifically specify the target OS
2015-06-25 16:14:23 +02:00
Sander van Harmelen 2690d87d39 Add an option to specifically specify the target OS
Before this option (`os_type`) the provisioner would use the connection
type to determine the targeted OS. When not supplying a value for
`os_type`, it will fall back to the old behaviour, so this is full BC.
2015-06-25 14:29:48 +02:00
Jimmy Cuadra 94b11ed690 Fix wording in multi-provider resource docs
The sentence says that resources target a resource, but it should say that resources target providers.
2015-06-25 01:01:12 -07:00
Mitchell Hashimoto f6b56a46ba Merge pull request #2480 from dtan4/fix-elasticache-websites
website: Fix page titles and descriptions of ElastiCache websites
2015-06-24 23:18:02 -07:00
Mitchell Hashimoto ede6af8763 Merge pull request #1921 from jtopjian/openstack-servergroup-schedulerhints
provider/openstack: scheduler_hints and servergroups
2015-06-24 23:13:25 -07:00
Daisuke Fujita 75be0a1529 Fix page description of elasticache_cluster 2015-06-25 15:11:49 +09:00
Daisuke Fujita 0850838dfc Fix page description of elasticache_subnet_group 2015-06-25 15:11:23 +09:00
Daisuke Fujita 19b6e2816b Fix page title of elasticache_subnet_group 2015-06-25 15:10:49 +09:00
Daisuke Fujita 30bc6afeed Fix page description of elasticache_security_group 2015-06-25 15:09:47 +09:00
Mitchell Hashimoto c223518085 Merge pull request #2332 from TimeIncOSS/docs-cache-nodes
provider/aws: Add docs for elasticache_cluster - cache_nodes
2015-06-24 23:08:09 -07:00
Daisuke Fujita 5da9dd52e8 Fix page title of elasticache_security_group 2015-06-25 15:07:28 +09:00
Radek Simko dc26f06b5f Merge pull request #2410 from TimeIncOSS/f-aws-lc-monitoring
provider/aws: Add aws_launch_configuration.enable_monitoring
2015-06-25 07:02:56 +01:00
Radek Simko 5cf5451d28 Merge pull request #1999 from TimeIncOSS/r53-delegation-set
provider/aws: Add Route 53 delegation set resource
2015-06-23 22:51:47 +01:00
Paul Hinze c154ef9558 Merge pull request #1790 from TimeIncOSS/combine-func
config: Add support for lists to concat
2015-06-23 15:41:59 -05:00
Clint 24c4c55511 Merge pull request #2384 from hashicorp/f-aws-flow-logs
provider/aws: Add FlowLog resource
2015-06-23 15:08:00 -05:00
Paul Hinze 35f296e802 Merge pull request #2425 from hashicorp/f-ssh-bastion
communicator/ssh: bastion host support
2015-06-23 14:29:34 -05:00
Andrew Matheny 0ecd1fd054 Fixes incorrect usage of terraform_remote_state in docs
I was getting an error about a missing 'name' parameter when using the snippet from the docs that referenced a path value.  Looking into the source, I found it was actually supposed to be name for the atlas provider.
2015-06-23 00:56:18 -04:00
Paul Hinze a7cbbbd258 communicator/ssh: bastion host support
* adds `bastion_*` fields to `connection` which add configuration for a
   bastion host
 * if `bastion_host` is set, connect to that host first, then jump
   through it to make the SSH connection to `host`
 * enables SSH Agent forwarding by default
2015-06-22 18:00:18 -05:00
Clint Shryock 8e23607b67 update docs to include IAM roles 2015-06-22 10:07:43 -05:00
Clint Shryock cc43ae8c4b Merge branch 'master' into f-aws-flow-logs
* master:
  Update CHANGELOG.md
  Update CHANGELOG.md
  Added affinity group resource.
  update link to actually work
  provider/azure: Fix SQL client name to match upstream
  add warning message to explain scenario of conflicting rules
  typo
  remove debugging
  Update CHANGELOG.md
  provider/aws: Add docs for autoscaling_policy + cloudwatch_metric_alarm
  provider/aws: Add autoscaling_policy
  provider/aws: Add cloudwatch_metric_alarm
  rename method, update docs
  clean up some conflicts with
  clean up old, incompatible test
  update tests with another example
  update test
  remove meta usage, stub test
  fix existing tests
  Consider security groups with source security groups when hashing
2015-06-22 09:33:42 -05:00
Clint Shryock 87c7f6337d remove flow/deliver log status attributes 2015-06-22 09:31:37 -05:00
Clint Shryock d5f962b14b clean up extra indentation 2015-06-22 09:25:27 -05:00
Radek Simko cbddab8a69 provider/aws: Add aws_launch_configuration.enable_monitoring 2015-06-20 23:40:29 +01:00
Paul Hinze 44de0996c5 communicator/ssh: switch agent default to true
This changes SSH Agent utilization from opt-in to opt-out, bringing
Terraform in line with the behavior of Packer and the `ssh` command
itself.

But skip SSH agent connections if the SSH_AUTH_SOCK env var doesn't exist,
whcih means there's no agent to connect to.
2015-06-19 17:14:43 -05:00
aznashwan 9b5c99ba28 Added affinity group resource. 2015-06-19 21:53:36 +03:00
Patrick Gray 8abca07889 add markdown 2015-06-18 11:54:26 -04:00
Radek Simko 079ba4e310 provider/aws: route53 delegation set docs added 2015-06-17 23:25:32 +01:00
Alex Pilon 14f4e5fe54 provider/aws: Add docs for autoscaling_policy + cloudwatch_metric_alarm 2015-06-17 23:10:23 +01:00
Clint Shryock 641a86effa additional attributes exported 2015-06-17 16:29:31 -05:00
Clint Shryock cbb6b97f7e provider/aws: Docs for FlowLog resource 2015-06-17 16:29:31 -05:00
aznashwan 357ed8e774 Added Azure SQL server and service support. 2015-06-17 21:23:16 +03:00
Paul Hinze a75095aa69 docs: clarify wording around destroy/apply args
inspired by #2360 with clarification on args vs flags

/cc @catsby
2015-06-17 10:10:23 -05:00
Clint b132dd284e Merge pull request #2121 from johnewart/dynamodb
DynamoDB Support
2015-06-17 09:47:13 -05:00
Paul Hinze f1a88fca5b Merge pull request #2350 from thegedge/fix-aws-docs
provider/aws: grammar fix in the db_instance docs.
2015-06-15 12:34:53 -05:00
Jason Gedge 11b136f503 Grammar fix in the aws_db_instance docs. 2015-06-15 13:32:30 -04:00
Paul Hinze e514e16215 docs: add route53_health_check to sidebar
/cc @rubbish
2015-06-15 11:08:37 -05:00
Paul Hinze 924278c33f Merge pull request #2226 from Banno/add-aws-route53-health-checks-squashed
provider/aws: add aws_route53_health_check (rebase,squash+docs)
2015-06-15 11:06:03 -05:00
Radek Simko 487164f0cf provider/aws: Add docs for elasticache_cluster - cache_nodes 2015-06-13 14:06:14 +01:00
Radek Simko 6a60fa4bfe config: concat function supports lists (combines more lists into one) 2015-06-13 08:54:01 +01:00
Paul Hinze 1ebe117085 Merge pull request #2052 from aznashwan/azure
provider/azure: added a number of storage and networking resources.
2015-06-12 16:49:36 -05:00
aznashwan 548a17d38c Added documentation for running tests. 2015-06-12 20:57:49 +03:00
aznashwan ebfbef0d52 Added Storage Queue resource. 2015-06-12 01:55:43 +03:00
aznashwan 329424c04b Added documentation. 2015-06-11 21:27:40 +03:00
Chris Bednarski f01154366a Merge with changes from master 2015-06-09 12:12:47 -07:00
Sam Clinckspoor c22f271fb0 Cleaned indentation of example 2015-06-09 17:57:31 +02:00
Sander van Harmelen aed44622b1 Merge pull request #2281 from svanharmelen/f-provider-cloudstack
provider/cloudstack: updating and tweaking tests and docs
2015-06-09 12:44:22 +02:00
Sander van Harmelen c9d3b988bc provider/cloudstack: updating and tweaking tests and docs
Making sure everything is up-to-spec again and all tests run flawless,
after merging in some new functionality.
2015-06-09 12:38:05 +02:00
Clint Shryock eee7a2778d add doc file that I forgot 2015-06-08 16:18:47 -05:00
Sam Clinckspoor dedbac5a46 added documentation 2015-06-08 22:51:56 +02:00
Paul Hinze e305d7c5df Merge pull request #2263 from hashicorp/f-aws-spot-instance-request
provider/aws: spot_instance_request
2015-06-08 10:29:58 -05:00
Mitchell Hashimoto 8748a86e60 Merge pull request #2160 from grubernaut/elasticache_port_required
provider/aws: Set AWS Elasticache Port Number to be required
2015-06-07 22:27:59 -07:00
Paul Hinze 112724fc39 provider/aws: spot_instance_request
This is an iteration on the great work done by @dalehamel in PRs #2095
and #2109.

The core team went back and forth on how to best model Spot Instance
Requests, requesting and then rejecting a separate-resource
implementation in #2109.

After more internal discussion, we landed once again on a separate
resource to model Spot Instance Requests. Out of respect for
@dalehamel's already-significant donated time, with this I'm attempting
to pick up the work to take this across the finish line.

Important architectural decisions represented here:

 * Spot Instance Requests are always of type "persistent", to properly
   match Terraform's declarative model.
 * The spot_instance_request resource exports several attributes that
   are expected to be constantly changing as the spot market changes:
   spot_bid_status, spot_request_state, and instance_id. Creating
   additional resource dependencies based on these attributes is not
   recommended, as Terraform diffs will be continually generated to keep
   up with the live changes.
 * When a Spot Instance Request is deleted/canceled, an attempt is made
   to terminate the last-known attached spot instance. Race conditions
   dictate that this attempt cannot guarantee that the associated spot
   instance is terminated immediately.

Implementation notes:

 * This version of aws_spot_instance_request borrows a lot of common
   code from aws_instance.
 * In order to facilitate borrowing, we introduce `awsInstanceOpts`, an
   internal representation of instance details that's meant to be shared
   between resources. The goal here would be to refactor ASG Launch
   Configurations to use the same struct.
 * The new aws_spot_instance_request acc. test is passing.
 * All aws_instance acc. tests remain passing.
2015-06-07 17:33:32 -05:00
Guillaume Giamarchi e04a6cacc5 Enpoint type configuration for OpenStack provider
Add the possibility to specify the endpoint type
(public, admin, internal). The default remains the
same (public).
2015-06-07 23:50:34 +02:00
Aaron Welch 07ad320960 Packet bare metal cloud hosting platform provider 2015-06-07 16:34:08 -04:00
Ian MacLeod 20558fcf70 Fix page title for aws_elasticache_cluster 2015-06-07 12:42:38 -07:00
ketzacoatl 4bbe93552a Minor correction to aws_s3_bucket docs 2015-06-05 19:20:23 -04:00
Radek Simko 2df0e734ae docs: Fix wrong title (aws_autoscaling_notification) 2015-06-05 23:47:50 +02:00
Clint e2cefe290d Merge pull request #2232 from justnom/master
Fixing bugs with `aws_network_interface` and added docs.
2015-06-05 16:24:14 -05:00
Clint e172508788 Merge pull request #2197 from hashicorp/f-aws-asg-notifications
provider/aws: ASG Notifications Resource
2015-06-05 16:04:19 -05:00
Clint Shryock f8eb5e4b11 clarify docs 2015-06-05 15:42:04 -05:00
Radek Simko 1770713633 Merge pull request #1803 from TimeIncOSS/ecs
aws: Add support for ECS (Container Service)
2015-06-05 22:25:41 +02:00
Clint Shryock 3858ee0ade add docs for asg notifications 2015-06-05 10:14:24 -05:00
justnom aed17f8658 Fixing bugs with `aws_network_interface` and added docs.
When a user tried to create an `aws_network_interface` resource without specifying the `private_ips` or `security_groups` attributes the API call to AWS would fail with a 500 HTTP error. Length checks have been put in place for both of these attributes before they are added to the `ec2.CreateNetworkInterfaceInput` struct.

Documentation was also added for the `aws_network_interface` resource.
2015-06-04 11:44:33 -04:00
Julian Schneider b9a437658e Add privileged option to docker container resource 2015-06-04 13:05:52 +02:00
Trent Johnson 054a40475c provider/aws: add aws_route53_health_check 2015-06-04 05:58:45 -05:00
John Ewart bbc6f14807 Adding DynamoDB documentation 2015-06-03 17:07:03 -07:00
Radek Simko c3fcdfc6eb Add docs for new AWS ECS resources 2015-06-03 22:48:19 +01:00
Paul Hinze b71fa3d0ae provider/aws: handle upstream aws-sdk-go repo move
`awslabs/aws-sdk-go => aws/aws-sdk-go`

Congrats to upstream on the promotion. :)
2015-06-03 13:36:57 -05:00
Paul Hinze f1439e6118 Merge pull request #2204 from thorduri/docfix
Fixup aws_security_group doc example.
2015-06-03 09:28:59 -05:00
Paul Hinze e91705ac96 Merge pull request #2102 from Fodoj/add-module-outputs
Add module outputs
2015-06-03 09:23:43 -05:00
Benjamin Vickers e0b9961d93 Update docs for Cloudstack with SSH keypair and timeout 2015-06-03 12:45:46 +01:00
Thordur Bjornsson f3a86114ae Fixup aws_security_group doc example.
Both to_ and from_ port must be zero to use protocol -1.
2015-06-03 11:02:16 +02:00
Sander van Harmelen 31ae2482d5 Merge pull request #2053 from svanharmelen/f-provider-azure
WIP: Add Azure provider (peer-review PR)
2015-06-02 21:17:03 +02:00
Paul Hinze f057d6e176 Merge pull request #2194 from jjshoe/master
Let people know elbs support tags
2015-06-02 14:11:31 -05:00
Joel 3939236f87 Let people know elbs support tags 2015-06-02 14:05:55 -05:00
Jack Pearkes 50fc610604 website: atlas artifact type is amazon.ami no aws.ami 2015-06-02 13:26:28 -04:00
Andrew Langhorn 70c90f420e Clarify syntax for RDS maintenance window param
Closes #2069
2015-06-02 07:44:09 +01:00
Radek Simko f29dbe0c87 Merge pull request #2181 from mzupan/add-elaticcache-tags
aws: adding tags option for aws_elasticache_cluster
2015-06-02 07:34:08 +01:00
Mike Zupan 544236df94 tags lacking from docs 2015-06-01 15:05:07 -07:00
Radek Simko 7a5cf7e361 docs: aws_sqs_queue - Add newline to fix Markdown 2015-06-01 20:57:57 +01:00
Chris Bednarski 6986121305 AWS Lambda functionality
- Includes documentation
- Includes acceptance tests
2015-06-01 09:33:45 -07:00
Dave Cunningham 265b9b254e Merge pull request #2060 from alphagov/f-add-google-cloud-storage
Feature: add google cloud storage
2015-06-01 12:10:07 -04:00
Paul Hinze 115ea19ab5 Merge pull request #2165 from TimeIncOSS/fix-iam-examples
docs: Fix IAM assume_role_policy examples
2015-06-01 10:51:31 -05:00
Jake Champlin a6e17d3b5f Update Documentation 2015-06-01 10:55:07 -04:00
Clint ceca4ef9aa Merge pull request #2148 from hashicorp/b-aws-netacl-icmp-support
provider/aws: Add support for ICMP Protocol in Network ACLs
2015-06-01 08:33:06 -05:00
Radek Simko 40a582170a docs: Fix IAM assume_role_policy examples 2015-06-01 13:29:21 +01:00
Dan Hilton b909f7826b provider/google: Add support for Google Compute Stogare buckets.
Configure Google Compute Storage buckets using:
* name (compulsory attribute)
* predefined_acl (optional, default: `projectPrivate`)
* location (optional, default: `US`)
* force_destroy (optional, default: `false`)

Currently supporting only `predefined_acl`s. Bucket attribute updates happen via re-creation. force_destroy will cause bucket objects to be purged, enabling bucket destruction.
2015-06-01 11:36:50 +01:00
Paul Hinze 84cb771c33 Merge pull request #2153 from TimeIncOSS/sort-aws-resources
AWS docs nitpicks (alphabetical sort + names)
2015-05-30 12:56:44 -05:00
Radek Simko 3093e49ea3 Merge pull request #2150 from hashicorp/d-module-ssh-source-example
docs: clarify ssh git module source syntax
2015-05-30 16:08:29 +01:00
Radek Simko 14279e04d0 Docs: Fix name according to reality (route-table-assoc->route-table-association) 2015-05-30 15:51:21 +01:00
Radek Simko 09d7b90e47 Docs: Fix name according to reality (launch-config -> launch-configuration) 2015-05-30 15:51:08 +01:00
Radek Simko ef92a03a9b Docs: Fix name according to reality (autoscaling->autoscaling_group) 2015-05-30 15:50:56 +01:00
Paul Hinze 5f1e8ebb5d Merge pull request #2152 from mzupan/doc-elb-stickiness-fix
aws_app_cookie_stickiness_policy doc fix
2015-05-30 08:49:53 -05:00
Mike Zupan f90536eb60 Need the id to link back 2015-05-30 06:38:49 -07:00
Paul Hinze 53d8981ef1 Merge pull request #2076 from atlassian/lb_cookie_stickiness_policy_doco
Correct lb_cookie_stickiness_policy example config
2015-05-29 21:50:23 -05:00
Paul Hinze 160c87a3e3 docs: clarify ssh git module source syntax
refs #2116
2015-05-29 21:15:55 -05:00
Clint c4af5b2e9a Merge pull request #2120 from hashicorp/b-aws-instance-ebs-snapshot
provider/aws: Fix issue with restoring from snapshot ID
2015-05-29 17:07:01 -05:00
Clint Shryock 339f2bd21f provider/aws: Add support for ICMP Protocol in Network ACLs
- added icmp_type attribute
- added icmp_code attribute
- fixed an issue hiding the error
2015-05-29 16:48:50 -05:00
Mike Zupan ef83fd52ae missing a closing } in the example
This is a simple one.. Docs were missing a closing }
2015-05-29 13:33:32 -07:00
ketzacoatl 9a0c733c18 Update interpolation.md, doc pattern combining template_file and count
This example is derived from @phinze's [work seen here](https://github.com/hashicorp/terraform/issues/1893#issuecomment-100945306)
2015-05-29 18:24:08 +00:00
Clint 4cd8147340 Merge pull request #2110 from hashicorp/f-aws-kinesis
provider/aws: AWS Kinesis Stream support
2015-05-29 10:37:29 -05:00
Radek Simko 01399f3240 Add tags to EBS volumes 2015-05-29 12:39:20 +01:00
ketzacoatl addb43deae Correct to_port in egress example
When using `-1` for the protocol, both `from_port` and `to_port` must be `0`, or so says AWS thru Terraform:

```
* from_port (0) and to_port (65535) must both be 0 to use the the 'ALL' "-1" protocol!
```
2015-05-28 21:37:46 -04:00
Syohei YOSHIDA 4702f4e97c Correct misspellings 2015-05-29 10:25:42 +09:00
Sander van Harmelen cef8259923 Adding the last parts of the docs for the new Azure provider
Next to the remaining docs, I also updated the code so any Virtual
Network related API calls are now synchronised by using a mutex (thanks
@aznashwan for pointing that out!).
2015-05-29 00:10:21 +02:00
Clint 440537a6cf Merge pull request #2050 from hashicorp/f-aws-volume-attachment
provider/aws: Add resource_aws_volume_attachment
2015-05-28 16:24:16 -05:00
gkze 55555a2a03 Typos 2015-05-28 13:53:05 -07:00
gkze 946d7a3102 Correcting typo 2015-05-28 11:32:26 -07:00
Clint Shryock db8805dfa5 provider/aws: Fix issue with restoring from snapshot ID
Fixes #1862
2015-05-28 11:25:13 -05:00
Clint Shryock 1f5c038570 provider/aws: Document Volume Attachment 2015-05-28 10:33:20 -05:00
dan 8553d97682 fix typo 2015-05-28 10:20:00 +02:00
Sander van Harmelen ca1eb1917b Adding docs and tweaking the provider 2015-05-28 00:51:18 +02:00
Clint Shryock 214ed23974 provider/aws: AWS Kinesis Stream support
Adds a Kinesis Stream resource
2015-05-27 15:54:17 -05:00
Kirill Shirinkin b945d1ee0b Update docs 2015-05-27 17:11:31 +02:00
Clint 13e2a7cf0e Merge pull request #2086 from hashicorp/f-aws-iam-server-cert
provider/aws: Add IAM Server Certificate resource
2015-05-27 08:34:23 -05:00
7heo ff9b74c7e8 More internal links in template documentation. 2015-05-27 12:22:52 +02:00
Radek Simko f64cb23334 Fix docs for aws_route53_record params 2015-05-27 02:50:28 +01:00
Clint 8764205bcf Merge pull request #1974 from johnewart/sns
Initial SNS topic / subscription support
2015-05-26 16:50:57 -05:00
Clint Shryock be7ece0ce7 provider/aws: Add IAM Server Certificate resource 2015-05-26 16:40:15 -05:00
Michael Austin 3eceddc34d added documentation 2015-05-26 11:25:03 -04:00
Paul Hinze a6b8b65e6e Merge pull request #2029 from julienlavergne/ebs_description
added attributes reference section for AWS_EBS_VOLUME
2015-05-26 09:50:02 -05:00
Otto Jongerius 3031b08cd9 Correct lb_cookie_stickiness_policy example config documentation. 2015-05-26 11:26:41 +10:00
Radek Simko ff2f446eb4 aws_db_instance docs updated per #2070 2015-05-26 00:14:44 +01:00
Radek Simko d569e14121 Merge pull request #2070 from managedbyq/master
providers/aws: Clarifies db_security_group usage docs.
2015-05-25 16:10:49 -07:00
Camilo Aguilar e94a8b2627 providers/aws: Adds link to AWS docs about RDS parameters. 2015-05-25 18:57:23 -04:00
Camilo Aguilar 868564c820 providers/aws: Clarifies db_security_group usage.
db_security_group is only intended to be used in EC2-Classic Platform.
For DB instances in a VPC, we associate VPC security groups instead,
when declaring the db_instance resource.
2015-05-25 11:45:20 -04:00
Andrew Langhorn b451eed453 "More more" no more!
We don't need to say "for more for more" here, because it
doesn't make sense. Fixes this.
2015-05-25 15:37:49 +01:00
John Ewart 1dd95df5ab Export ARN in SQS queue and SNS topic / subscription; updated tests for new AWS SDK errors; updated documentation. 2015-05-22 21:12:25 -07:00
John Ewart 68734517f8 Initial SNS support 2015-05-22 20:26:10 -07:00
Marc Tamsky 396fed9bd6 correct resource name in example 2015-05-22 09:24:51 -07:00
Clint 11f67ddc39 Merge pull request #2039 from stephenchu/master
Added support for 'comment' field for an AWS route53 zone resource.
2015-05-22 07:11:19 -05:00
Clint ec06e81cf3 Merge pull request #1946 from hashicorp/f-aws-db-read-replicas
provider/aws: Add AWS RDS Read Replica
2015-05-21 15:14:11 -05:00
Clint Shryock 729238675b update docs 2015-05-21 15:06:22 -05:00
Stephen Chu f5102e9174 Added docs for route53 zone 'comment' argument. 2015-05-21 20:05:52 +00:00
Clint Shryock 6de8f9d180 provider/aws: RDS Read Replica cleanups
remove typos, debugging, and try spelling things correctly
2015-05-21 09:49:46 -05:00
Julien Lavergne d56eb3eb92 added attributes reference section for AWS_EBS_VOLUME 2015-05-21 12:06:13 +02:00
Julien Lavergne fb847151b5 fixed aws_ebs_volume description 2015-05-21 11:54:11 +02:00
Michael Austin dba8771b14 added documention for force_destroy argument 2015-05-20 19:26:44 -04:00
Clint Shryock d755fbd347 provider/aws: Add docs for AWS RDS Read Replicate 2015-05-20 08:24:36 -05:00
Justin Campbell c585aae38b Merge pull request #1992 from justincampbell/s3-policy
providers/aws: Add support for policy on S3 bucket
2015-05-18 13:34:58 -04:00
Justin Campbell 9c764a3253 providers/aws: Add support for policy on S3 bucket 2015-05-18 13:10:44 -04:00
Sander van Harmelen aa4aca65d0 Merge pull request #2003 from svanharmelen/f-update-docs
provisioner/chef: small fix in the docs
2015-05-18 16:29:21 +02:00
Sander van Harmelen 0e87980c72 provisioner/chef: small fix in the docs 2015-05-18 16:21:31 +02:00
Dave Cunningham 419b4f02d2 Merge autoscaler & instance group PR from dwatson
Additionally:
Update CHANGELOG
Make cooldown period optional for autoscaler
Refactor autoscaler and add more error checking
Instance template now supports image aliases
Replace instance group manager 'size' -- use target_size (now writeable)
Add documentation for autoscaler
Add beta warnings to docs
2015-05-16 20:14:38 -04:00
John Engelman 597ecf82e4 Remove notes about nameservers only being available for public zones.
Support for nameservers in private zones was added in bd6ff34.
2015-05-15 21:24:11 -05:00
Clint 9f52192a79 Merge pull request #1939 from johnewart/sqs
Initial SQS support
2015-05-15 15:44:52 -05:00
John Ewart d538194f59 Added docs, tests, and updated SQS code 2015-05-15 13:09:20 -07:00
Paul Hinze e1ea427649 provider/aws: support ec2 termination protection
closes #1233
2015-05-15 15:20:58 -04:00
Clint Shryock 5113761f41 Merge branch 'f-aws-network-subnet-ids'
* f-aws-network-subnet-ids:
  document Network ACL Subnet IDs attribute
  provider/aws: Add tests for Network ACL subnets
  upgrade to use typeset for subnet_ids
  network acl cleanups
  provider/aws: Support multiple subnets in Network ACL
2015-05-15 09:58:57 -05:00
Clint Shryock bf65f7c013 document Network ACL Subnet IDs attribute 2015-05-15 09:35:38 -05:00
Justin Campbell e68dd5a8bf Merge pull request #1909 from justincampbell/s3-redirect
providers/aws: Add support for S3 website redirect
2015-05-15 09:32:39 -04:00
John Engelman f1d85f955a Fix typo in docs 2015-05-14 16:04:37 -05:00
John Engelman b784908491 Add documentation and changelog for route53_zone_association 2015-05-14 16:04:36 -05:00
John Engelman 258422621f Update documentation and changelog for route53_hosted_zone. 2015-05-14 16:03:51 -05:00
John Engelman bf97d6a80f AWS/Route53Zone - create private hosted zone associated with VPC. 2015-05-14 16:03:50 -05:00
Paul Hinze b56a42627f provider/aws: ASGs can wait for ELB InService
This enhances the waiting strategy introduced in #1839 to wait for each
ASG instance to become InService in attached ELBs before continuing.
2015-05-14 15:03:53 -05:00
Mitchell Hashimoto ad62be8642 website: parameter_group_name for elasticache cluster required [GH-1929] 2015-05-13 20:23:37 -07:00
Mitchell Hashimoto 0c9e95a32f website: note that interpolations can be escaped 2015-05-13 20:22:14 -07:00
Daisuke Fujita 89c97787df Fix argument mistake in IAM group policy document 2015-05-14 10:34:02 +09:00
Paul Hinze f0e6d0f97e docs: fix cidr_block on aws SG egress
fixes #1936
2015-05-13 18:41:41 -05:00
uzyexe 2043698819 missing is "aws_" 2015-05-13 17:17:33 +09:00
Josh Bleecher Snyder 02e751e356 config: add formatlist
formatlist distributes formatting over lists.
See the docs for details.

As a colleague commented:

"It happens all the time that we want a set of
outputs, but in a slightly different way than
just simple joining or concatting."

formatlist (combined with join)
makes it easy to satisfy those needs.
2015-05-12 16:11:42 -07:00
Radek Simko 0c07fa359b Add missing EOF to iam_role_policy example 2015-05-12 22:29:36 +01:00
Radek Simko b5f0dc867b Fix incorrect parameter name 2015-05-12 22:29:36 +01:00
Radek Simko c214130401 aws: Reorder resources in IAM examples in docs
- This is to make relevant resources more visible
2015-05-12 22:29:36 +01:00
Radek Simko f24e8c7b53 Add docs for aws_iam_role 2015-05-12 22:29:35 +01:00
Sander van Harmelen 4e0aa334fa Merge pull request #1868 from svanharmelen/f-chef-client-provisioner
New provisioner for Chef-Client
2015-05-12 23:06:09 +02:00
Dave Cunningham 372908cc6f Merge pull request #980 from BashtonLtd/gce_instance_template_network_update
Update Instance Template network definition to match changes to Instance.
2015-05-12 15:46:04 -04:00
uzyexe b16b5e4a8c Typo in website docs for aws_route_table 2015-05-13 01:13:02 +09:00
Justin Campbell b8cd6b2bae providers/aws: Add support for S3 website redirect 2015-05-12 11:24:08 -04:00
Sander van Harmelen 11314a3d71 Tweaking a few minor things according to the feedback on GH 2015-05-12 10:37:38 +02:00
Dave Cunningham 5f15a9d26a Allow local SSDs, Fix #1088 2015-05-11 21:40:37 -04:00
Joe Topjian 7ca7eeabe7 Added scheduler_hints to the OpenStack instance resource.
This allows various hints to be passed to the OpenStack scheduler
that will determine where the instance will be hosted in the cloud.
2015-05-12 01:08:20 +00:00
Joe Topjian b74e74fc16 ServerGroup Resource
This commit adds a server group resource. Users can create server
groups with different policies. If a server is launched in a certain
group, the server will adhere to that policy. For example, servers
can be made to all launch on the same compute node or different compute
nodes.
2015-05-12 01:08:19 +00:00
Paul Hinze a268cc3d81 Merge pull request #1878 from jamesob/doc_for_paramterized_lists
Document work-arounds necessary to parameterize list types.
2015-05-08 17:02:36 -05:00
James O'Beirne 56ec897a84 Fix typo. 2015-05-08 14:58:01 -07:00
James O'Beirne a074b33bcf Document work-arounds necessary to parameterize list types.
Related to https://github.com/hashicorp/terraform/issues/57.
2015-05-08 14:49:29 -07:00
Sander van Harmelen c19d92fb67 Refactored quite a few things after review...
Also renamed the provisioner to just `chef` as it’s out intention to
end up with one provisioner for all types of `chef` clients.
2015-05-08 23:25:24 +02:00
Clint Shryock eaf96d9d6f provider/aws: Document AWS ElastiCache cluster
- ElastiCache subnet group name is computed
2015-05-08 14:33:41 -05:00
Radek Simko ce8351ddef provider/aws: Add FQDN as output to route53_record 2015-05-08 20:19:40 +01:00
Justin Campbell 870b48b1c0 Merge pull request #1865 from justincampbell/s3-region-zone
providers/aws: Add hosted_zone_id and region to attributes
2015-05-08 14:49:12 -04:00
Alexander Dupuy fa8cb0f495 link new openstack resource docs into sidebar 2015-05-08 18:14:02 +02:00
Justin Campbell 64d2b495c3 providers/aws: Add region to S3 attrs 2015-05-08 10:02:16 -04:00
Justin Campbell 839688d477 providers/aws: Add hosted_zone_id to S3 attrs 2015-05-08 10:02:16 -04:00
Sander van Harmelen 60984b2da2 This commit adds a Chef Client provisioner
The commit is pretty complete and has a tested/working provisioner for
both SSH and WinRM. There are a few tests, but we maybe need another
few to have better coverage. Docs are also included…
2015-05-08 14:54:56 +02:00
Radek Simko c6a9a0684a Incorrect references fixed 2015-05-08 10:40:56 +01:00
Radek Simko ff1e4427cd Typo fixed (vpc -> vpn) 2015-05-08 10:40:56 +01:00
Mitchell Hashimoto f1ae920aa9 website: document templating as a provider 2015-05-07 18:20:22 -07:00
Clint Shryock 70984526a4 Merge remote-tracking branch 'ctiwald/ct/fix-protocol-problem'
* ctiwald/ct/fix-protocol-problem:
  aws: Document the odd protocol = "-1" behavior in security groups.
  aws: Fixup structure_test to handle new expandIPPerms behavior.
  aws: Add security group acceptance tests for protocol -1 fixes.
  aws: error on expndIPPerms(...) if our ports and protocol conflict.
2015-05-07 17:13:21 -05:00
Christopher Tiwald 0688431715 aws: Document network ACL's new validations. 2015-05-07 00:02:48 -04:00
Paul Hinze 90907c8be5 Merge pull request #1738 from justincampbell/s3-website
providers/aws: S3 bucket website support
2015-05-06 19:37:29 -05:00
Paul Hinze 9a286402c3 Merge pull request #1838 from josharian/consul-scheme
providers/consul: add scheme argument
2015-05-06 19:09:11 -05:00
Paul Hinze 761523e8f9 Merge pull request #1839 from hashicorp/f-aws-asg-wait-for-capacity
provider/aws: wait for ASG capacity on creation
2015-05-06 18:40:13 -05:00
Paul Hinze 063454e9b8 provider/aws: wait for ASG capacity on creation
On ASG creation, waits for up to 10m for desired_capacity or min_size
healthy nodes to show up in the group before continuing.

With CBD and proper HealthCheck tuning, this allows us guarantee safe
ASG replacement.
2015-05-06 18:34:20 -05:00
Josh Bleecher Snyder 30d34908b7 providers/consul: add scheme argument
This enables connecting to consul over https
without having to set the envvar CONSUL_HTTP_SSL.
2015-05-06 16:12:32 -07:00
Andrew Langhorn bb4f7415ca Rename "The The" so that they can play songs again
Other than the fact that "The the" doesn't really make any sense anywhere
that it's used in Terraform, they're a post-punk band from the UK.

Fixes "The The" so that they can get back to playing songs.
2015-05-06 22:53:11 +01:00
Josh Bleecher Snyder fa2e89a381 website: update aws security description docs 2015-05-06 10:08:30 -07:00
Justin Campbell 564b7e1e67 providers/aws: Add docs for S3 website 2015-05-06 08:15:56 -04:00
Paul Hinze 5d50264c31 core: module targeting
Adds the ability to target resources within modules, like:

module.mymod.aws_instance.foo

And the ability to target all resources inside a module, like:

module.mymod

Closes #1434
2015-05-05 21:58:48 -05:00
Paul Hinze cebcee5c63 Merge pull request #1778 from josharian/template-provider
providers: add template provider
2015-05-05 20:09:27 -05:00
Mitchell Hashimoto 56e92f7f02 website: document state 2015-05-05 17:52:28 -07:00
Clint Shryock 885efa0837 provider/aws: Add Security Group Rule as a top level resource
- document conflict with sg rules and sg in-line rules
- for this to work, ingress rules need to be computed
2015-05-05 16:56:39 -05:00
Clint a4000941c2 Merge pull request #1765 from hashicorp/f-aws-security-group-remove-default-egress
provider/aws: Remove default egress rule from Security Group on creation
2015-05-05 16:47:23 -05:00
Mitchell Hashimoto febc8643af website: add prpogating_vgws 2015-05-05 14:44:07 -07:00
Clint Shryock e9b08cf31f revert the required part 2015-05-05 16:23:26 -05:00
Clint Shryock b145ce88b7 Document Egress+VPC change, update link 2015-05-05 16:23:26 -05:00
Mitchell Hashimoto 412a2dca0b Merge pull request #1575 from freshbooks/aws-eni-route
provider/aws: Add Elastic Network Interfaces as route destination
2015-05-05 13:28:48 -07:00
Mitchell Hashimoto 379895931d website: network interface for EIP 2015-05-05 13:25:45 -07:00
Clint 18b43b78cb Merge pull request #939 from bitglue/iam
Implement a subset of IAM resources
2015-05-05 15:05:05 -05:00
Mitchell Hashimoto 639f310ae6 Merge pull request #1805 from dupuy/openstack-resource-docs
Openstack resource docs
2015-05-05 10:25:30 -07:00
Christopher Tiwald d76719bbb8 Add docs for various iam_* resources. 2015-05-05 12:47:20 -04:00
Phil Frost b082117e92 Implement AWS IAM resources
- Users
- Groups
- Roles
- Inline policies for the above three
- Instance profiles
- Managed policies
- Access keys

This is most of the data types provided by IAM. There are a few things
missing, but the functionality here is probably sufficient for 95% of
the cases. Makes a dent in #28.
2015-05-05 12:47:20 -04:00
jba 11ba9b1042 add the auto_accecpt option 2015-05-05 10:37:13 -05:00
Alexander Dupuy fdd1f566b9 missed docs changes from PR#1550 2015-05-05 14:53:19 +02:00
Alexander Dupuy b4df3c427a fix openstack fw/floating ip sidebar refs
expand firewall examples to be self-contained
2015-05-05 14:26:45 +02:00
Alexander Dupuy 2633585531 add online docs for remaining OpenStack resources 2015-05-05 14:00:51 +02:00
Avi Nanhkoesingh 1411d4010f Fixes #1: sets the rights values based on isUUID 2015-05-05 12:31:21 +02:00
Christopher Tiwald 2526379cf0 aws: Document the odd protocol = "-1" behavior in security groups. 2015-05-05 00:04:21 -04:00
Mitchell Hashimoto 9ed909c8fe Merge pull request #1749 from nabeken/aws-proxy-protocol-policy
provider/aws: Add proxy protocol support in ELB
2015-05-04 14:04:53 -07:00
Mitchell Hashimoto 8633c88723 Merge pull request #1775 from TimeIncOSS/r53-alias-record
aws: Add support for Alias records into AWS Route 53
2015-05-04 14:03:29 -07:00
Mitchell Hashimoto c8c0b02790 Merge pull request #1787 from koendc/f-aws-max-retries
aws: make MaxRetries for API calls configurable
2015-05-04 14:00:37 -07:00
Mitchell Hashimoto 2c90d3a637 Merge pull request #1793 from ctiwald/ct/add-vpn-connection-route
provider/aws: add support for VPN connection routes
2015-05-04 13:58:17 -07:00
Josh Bleecher Snyder 2da7c9a823 website: document templates
While we're here, fix a broken link.
2015-05-04 11:42:05 -07:00
Clint c437886a46 Merge pull request #1774 from hashicorp/b-website-parsing
Fix indentation, which was causing a rendering error in middleman
2015-05-04 12:05:54 -05:00
Christopher Tiwald e8976dca6b aws: Add documentation for VPN connection routes. 2015-05-04 12:55:55 -04:00
Christopher Tiwald 4727260987 aws: fix VPN connection acceptance test.
This corrects syntactical errors and uses distinct IP addresses for
each configuration.
2015-05-04 11:34:35 -04:00
Koen De Causmaecker 398c22adcd aws: make MaxRetries for API calls configurable
- Make it configurable in the AWS provider by add an option
  'max_retries'.
- Set the default from 3 to 11 retries.
2015-05-03 15:35:51 +02:00
Paul Hinze df15757311 docs: fix newline 2015-05-01 19:39:42 -05:00
Paul Hinze 199dabaf75 Merge pull request #1772 from ctiwald/ct/add-vpn-connection
Add support for AWS VPN connections.
2015-05-01 19:39:10 -05:00
TANABE Ken-ichi 3b549a9e4f Fix typo 2015-05-02 07:34:22 +09:00
Clint Shryock 3c6cec4fcd Fix indentation, which was causing a rendering error in middleman 2015-05-01 16:52:30 -05:00
Radek Simko 3d665ddfcf provider/aws: Add support for alias record to Route53 2015-05-01 22:43:04 +01:00
Sander van Harmelen 907eee24f2 Updating the docs 2015-05-01 18:50:57 +02:00
Christopher Tiwald 282c96f0e9 aws: Add docs for aws_vpn_connection resources. 2015-05-01 12:23:39 -04:00
Radek Simko bafabf17be provider/aws: Expose zone_id from elb 2015-05-01 08:07:33 +01:00
Camilo Aguilar 338ae601bc providers/aws: Implements DHCP Options Set support. 2015-04-30 17:52:04 -04:00
Paul Hinze a9de720a4e Merge pull request #1708 from hashicorp/f-elb-source-security-group
providers/aws: add source_security_group to elb
2015-04-30 16:10:02 -05:00
Paul Hinze d30d88e327 Merge pull request #1655 from hashicorp/f-build-graph-during-plan
core: validate on verbose graph to detect some cycles earlier
2015-04-30 16:08:33 -05:00
Mitchell Hashimoto af5ac59188 Merge pull request #1723 from apparentlymart/s3remotestate
S3 Remote State Backend
2015-04-30 13:25:33 -07:00
Paul Hinze 043387fc8f docs: Fix styling in provider code block
Font was different from rest of the page and very weird lookin'
2015-04-30 14:50:21 -05:00
Martin Atkins 53e93d6f63 S3 remote stage storage backend, against the new remote state API.
Stores state in a particular key in a given S3 bucket.
2015-04-30 09:21:49 -07:00
Christopher Tiwald 46296db9dc docs: vpn_gateway vpc_ids are optional, not required.
This is simply a mistake in the documentation. The code already leaves
this as optional.
2015-04-30 10:39:56 -04:00