Commit Graph

5815 Commits

Author SHA1 Message Date
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
Radek Simko 487aba6a9c Update CHANGELOG.md 2015-07-03 00:01:09 +02:00
Radek Simko 0ba041912e Add regression test for db_subnet_group w/ underscores
- ref https://github.com/hashicorp/terraform/issues/2603
2015-07-02 23:58:46 +02:00
Radek Simko 127fa3090f Merge pull request #2604 from CpuID/cpuid_gh2603
Allow underscores in aws_db_subnet_group name
2015-07-02 23:57:49 +02:00
Paul Hinze 60490033a1 Update CHANGELOG.md 2015-07-02 16:12:17 -05:00
Paul Hinze c8a0d3f0b9 Merge pull request #2615 from hashicorp/b-ssh-agent-masks-key-file
communicator/ssh: sort agent after static keyfile
2015-07-02 16:09:43 -05:00
Paul Hinze 801aaf1eec communicator/ssh: sort agent after static keyfile
In the SSH client configuration, we had SSH Agent authentication listed
before the static PrivateKey loaded from the `key_file` setting.
Switching the default of the `agent` setting exposed the fact that the
SSH agent overrides the `key_file` during the handshake. By listing the
`key_file` first, we catch the provided key before any query goes out to
the agent.

Adds a key-based authentication SSH test to cover this new behavior. It
fails without the reordering on any machine with an SSH agent running.

Fixes #2614
2015-07-02 15:41:23 -05:00
Paul Hinze c33bc350cc Update CHANGELOG.md 2015-07-02 13:13:11 -05:00
Paul Hinze 9de673b7e2 Merge pull request #2613 from hashicorp/b-input-var-default
core: don't prompt for variables with defaults
2015-07-02 13:12:34 -05:00
Paul Hinze 5c38456b05 core: don't prompt for variables with defaults
In `helper/schema` we already makes a distinction between `Default`
which is always applied and `InputDefault` which is displayed to the
user for an empty field.

But for variables we just have `Default` which is treated like
`InputDefault`. This changes it to _not_ prompt the user for a value
when the variable declaration includes a default.

Treating this as a UX bugfix and the "don't prompt for variables w/
defaults set" behavior as the originally expected behavior we were
failing to honor.

Added an already-passing test to verify and cover the `helper/schema`
behavior.

Perhaps down the road we can add a `input_default` attribute to
variables to allow similar behavior to `helper/schema` in variables, but
for now just sticking with the fix.

Fixes #2592
2015-07-02 10:40:30 -05:00
Clint 3b56814fbd Update CHANGELOG.md 2015-07-02 08:58:15 -05: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 c0b692b360 allow underscores in aws_db_subnet_group name, docs don't claim they are
allowed but they are.
2015-07-02 14:45:25 +10:00
Dave Cunningham e26a1b8c18 Merge pull request #2375 from sparkprime/startup-script
Add ForceNew metadata_startup_script field
2015-07-01 22:55:40 -04: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
Paul Hinze 75a5d3836a Merge pull request #2591 from dtan4/fix-iam-group-membership-website
website: Fix page title and description of IAM Group Membership website
2015-07-01 11:48:27 -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
Radek Simko 9a68a6b191 Update CHANGELOG.md 2015-07-01 07:32:03 +01:00
Radek Simko 1e8fb65925 provider/aws: Add regression test for ELB name validation
- prevent #2580 from hapenning again
2015-07-01 07:29:56 +01:00
Radek Simko 815c900aae Merge pull request #2580 from pmoust/b-aws-elb-A-Z
providers/aws: aws_elb: Allow alnum plus hyphen in name attribute
2015-07-01 07:28:16 +01:00
Panagiotis Moustafellos 0cbb815d28 providers/aws: aws_elb: Allow alnum plus hyphen in name attribute 2015-07-01 09:16:32 +03: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
Paul Hinze 3d81d83d01 release: clean up after 0.6.0 2015-06-30 17:39:32 -05:00
Adam Enger d206d6d5d8 Adding snapshot_identifier to db_instance docs 2015-06-30 15:33:13 -05:00
Adam Enger ca8736d29f Merge branch 'master' of github.com:reverbdotcom/terraform into adding-rds-snapshots
* 'master' of github.com:reverbdotcom/terraform: (524 commits)
  docs: tweaks to RELEASING
  Minor change to docs
  Update CHANGELOG.md
  Update DynamoDB example docs to remove non-key attributes; update test to remove non-key attribute from attribute set to prevent infinite planning loops
  Update CHANGELOG.md
  use /usr/bin/env bash
  provider/aws: fix go vet
  provider/aws: ignore providers with Meta nil
  update CHANGELOG
  provider/aws: Code cleanups for Spot Requests
  provider/aws: fix db_subnet acc test
  Fixing the tests
  Fixes issue #2568
  Update CHANGELOG.md
  Update CHANGELOG.md
  fixes typo
  Fixed void Azure network config bug.
  provider/aws: ecs task definition is deregistered correctly
  provider/azure: fixup storage service test
  provider/docker: [tests] change images
  ...
2015-06-30 15:26:23 -05:00
Paul Hinze e40127fda6 v0.6.0 2015-06-30 19:57:29 +00:00
Paul Hinze 1797ba4df6 Merge pull request #2577 from hashicorp/d-releasing-tweaks
docs: tweaks to RELEASING
2015-06-30 14:46:32 -05:00
Paul Hinze 59be84bfb6 docs: tweaks to RELEASING
- jump into the VM first
 - include full Godeps snapshot in release archive that's uploaded with
   the github tag
 - start a release branch as part of the process, setting us up for
   docs deploys
2015-06-30 14:45:23 -05:00
Paul Hinze 0d58b94636 Merge pull request #2576 from johnewart/dynamodb_docs
[dynamodb] Update docs and fix the acceptance test accordingly
2015-06-30 14:03:08 -05:00
John Ewart 7b7d754bb5 Minor change to docs 2015-06-30 11:43:13 -07:00
Paul Hinze 144412bcd7 Update CHANGELOG.md 2015-06-30 13:42:33 -05:00
Paul Hinze 97ee42663b Merge pull request #2533 from hashicorp/b-vpn-connection-protection
provider/aws: nil protection against VPN connections [GH-2144]
2015-06-30 13:40:47 -05: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
Paul Hinze 13dd7f8fad Update CHANGELOG.md 2015-06-30 13:26:03 -05:00
Paul Hinze ece4430188 Merge pull request #2562 from aznashwan/b-azure-non-existent-netconfig
Fixed void Azure network config bug.
2015-06-30 13:25:43 -05:00
Paul Hinze a0103cbcc6 Merge pull request #2575 from sofuture/master
use /usr/bin/env bash
2015-06-30 13:25:11 -05:00
Jeff Zellner ac462d2ef1 use /usr/bin/env bash 2015-06-30 11:52:11 -06:00
Paul Hinze 0698b865e2 provider/aws: fix go vet 2015-06-30 12:35:54 -05:00
Mitchell Hashimoto 0b3d249727 provider/aws: ignore providers with Meta nil
We changed the way validation works for providers so that they aren't
always configured if they have computed attributes. The result is that
sometimes the Configure won't be called, hence Meta is nil
2015-06-30 10:24:53 -07:00
Mitchell Hashimoto 6209eed10e update CHANGELOG 2015-06-30 08:31:18 -07:00
Clint 4f2f9546c3 Merge pull request #2574 from hashicorp/b-aws-spot-request-touchup
provider/aws: Code cleanups for Spot Requests
2015-06-30 09:30:26 -05:00
Clint Shryock c81345f535 provider/aws: Code cleanups for Spot Requests 2015-06-30 09:28:14 -05:00
Paul Hinze 8fa96d2c33 provider/aws: fix db_subnet acc test
AWS accepts uppercase DB Subnet Group names - it just automatically
downcases them. We already had logic to handle that - so we
intentionally had an acctest with uppercase characters that was now
failing.

Loosening the regexp to allow uppercase letters for now - we can discuss
if we want to tighten the validation as a separate question.

/cc @radeksimko @catsby
2015-06-30 09:20:52 -05:00
Sander van Harmelen 57980349fc Merge pull request #2570 from svanharmelen/b-provisioner-chef-version
provisioner/chef: fixes issue #2568
2015-06-30 14:35:04 +02:00
Sander van Harmelen 3d03f4b2aa Fixing the tests 2015-06-30 14:13:36 +02:00
Sander van Harmelen b7e981c6d1 Fixes issue #2568
When surrounding the version with quotes, even no version (an empty
string) will be accepted as parameter. The install.sh script treats an
empty version string the same as no when version is set. So it will
then just use the latest available version.
2015-06-30 14:03:06 +02:00
Radek Simko 282e139334 Update CHANGELOG.md 2015-06-30 12:37:57 +01:00