Commit Graph

862 Commits

Author SHA1 Message Date
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
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
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