Commit Graph

1253 Commits

Author SHA1 Message Date
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
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
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
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
Clint c8140df10e Merge pull request #3090 from berendt/openstack_provider_docs_structure
provider/openstack: structuring of the documentation sidebar
2015-08-31 09:16:10 -05: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 88ac993bb0 provider/openstack: structuring of the documentation sidebar 2015-08-28 09:57:35 +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
Paul Hinze b0992985b9 Merge pull request #2596 from hashicorp/d-tfvars-mappings
docs: expand how to assign mappings from file
2015-08-12 17:05:47 -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
Radek Simko 96d6531171 google: Sort resources by alphabet in docs 2015-07-31 15:07:55 +01: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
Kevin Fishner d780524385 update analytics 2015-07-28 16:09:31 -07: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 b6b3626f90 Merge pull request #2829 from apparentlymart/aws-docs-headings
Split AWS provider topics by service.
2015-07-27 14:38:42 -05: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
Martin Atkins 7092b8ba8a Split AWS provider topics by service.
With so many AWS provider resources, the docs are getting pretty hard
to navigate. This is particularly true due to the mismatch of some
resources encoding the service name (like aws_route53_record) but some
others ignoring it (like aws_subnet) or using a generic prefix (like
aws_db_instance), which causes an alphabetical ordering to muddle
up all of the services.

Since the AWS UI and docs are themselves oriented around services, most
users should be familiar with the service brands and understand which
resources belong to which service. Thus this categorization follows the
primary categorization used within the AWS Console, preferring EC2-VPC
over EC2-Classic-style bucketing.
2015-07-23 01:01:13 -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
Sander van Harmelen 761c8ab225 Fix link in the docs 2015-07-22 20:59:45 +02: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