Commit Graph

4024 Commits

Author SHA1 Message Date
Paul Hinze 8fccd9cec4 providers/aws: fix a few more bugs in launch configs
These bugs were found by additional check added in #1443

 * Reversed nil err check meant that block devices were broken :(
 * Fixing the err check revealed a few missed pointer derefs
 * Unlike instances, ephemeral block devices do come back in
   `BlockDeviceMappings` from `DescribeLaunchConfigurations` calls, so
   we need to recognize them and filter them properly. Even though
   they're not set as computed, I'm doing a `d.Set` since it doesn't
   hurt and it gives us the benefit of basic drift detection.
2015-04-09 08:36:18 -05:00
Mitchell Hashimoto 4888c18b61 update CHANGELOG 2015-04-07 15:36:28 -07:00
Mitchell Hashimoto a6790a4c7d Merge pull request #1417 from hashicorp/b-tfvars-on-push
command/push: read terraform.tfvars
2015-04-07 15:36:07 -07:00
Mitchell Hashimoto 000d28c489 command/push: read terraform.tfvars 2015-04-07 15:34:06 -07:00
Paul Hinze a9ea489487 Merge pull request #1412 from hashicorp/b-asg-in-classic
providers/aws: fix LCs being invalid in classic
2015-04-07 17:31:08 -05:00
Mitchell Hashimoto 1fac7b6488 state: cache should use State.Equal to check equality
reflect.DeepEqual was returning false, sometimes.
2015-04-07 15:03:04 -07:00
Mitchell Hashimoto c9fe0c1b34 website: fix remote config docs 2015-04-07 14:50:10 -07:00
Paul Hinze ee7ccb7908 providers/aws: fix LCs being invalid in classic
Turns out AssociatePublicIPAddress was always being set, but the AWS
APIs don't like that when you're launching into EC2 Classic and return a
validation error at ASG launch time.

Fixes #1410
2015-04-07 13:08:09 -05:00
Paul Hinze 18f2e13275 Merge pull request #1401 from dtan4/remove-owner_id-arg-in-doc
Remove Security Group owner_id argument from document
2015-04-07 10:19:59 -05:00
Daisuke Fujita 236d3af646 Remove owner_id argument from document 2015-04-07 16:16:04 +09:00
Clint 23c0fb7695 Merge pull request #1384 from hashicorp/b-aws-fix-route53-hosted-refresh
provider/aws: Fix refresh issue in Route 53 hosted zone
2015-04-06 11:11:07 -05:00
Clint fa2d41ef55 Merge pull request #1234 from hashicorp/b-fix-aws-subnet-map-public-change
provider/aws: Fix issue when changing map-public-ip in Subnets
2015-04-06 11:03:45 -05:00
Paul Hinze cf0b65ac6a Merge pull request #1386 from nickhs/b-docs-minor-aws-db-fixes
Fix docs inconsistencies in AWS DB Provider
2015-04-06 11:02:02 -05:00
Paul Hinze 514a5b9684 Merge pull request #1378 from bobtfish/better_doc_math
Document the fix to GH-1068 on the website
2015-04-06 11:00:08 -05:00
Clint 008012b7a6 Merge pull request #1382 from hashicorp/f-aws-rds-updates
provider/aws: Support additional changes to RDS without forcing new
2015-04-06 10:59:57 -05:00
Paul Hinze b14a8592b1 Merge pull request #1388 from trumant/openstack_docs_spelling
Correcting a minor spelling mistake, closes #1387
2015-04-06 10:59:32 -05:00
Paul Hinze 373f366193 Merge pull request #1371 from hashicorp/b-aws-launch-config-forced-update
providers/aws: don't force update for existing launch configs
2015-04-06 10:57:25 -05:00
Paul Hinze 6726309947 Fix string typo 2015-04-06 10:51:30 -05:00
Mitchell Hashimoto 2b294ddb81 Merge pull request #1390 from alexshd/patch-1
contrib/zsh: added taint completion
2015-04-04 15:36:04 -07:00
Alex Shadrin fdfb84df71 added taint completion 2015-04-04 13:06:27 +03:00
Travis Truman 2a387725fa Correcting a minor spelling mistake 2015-04-03 17:38:42 -04:00
Nick HS 39598cf1fa Rename False to false in aws_db_instance
False isn't allowed in hcl, just fixing a typo
2015-04-03 15:19:41 -04:00
Nick HS 95270bf68d Change example name in aws_db_paramater_group res
AWS DB Paramater Groups cannot contain underscores, see
http://docs.aws.amazon.com/AmazonRDS/latest/CommandLineReference/CLIReference-cmd-CreateDBParameterGroup.html
2015-04-03 15:16:13 -04:00
Clint Shryock f02de51d58 provider/aws: Fix refresh issue in Route 53 hosted zone
Change the error handling/detection to correctly determine no hosted zone
exists.
2015-04-03 13:59:34 -05:00
Paul Hinze 9a91e1021a providers/aws: don't force update for existing launch configs
These changes should fix #1367:

 * `ebs_optimized` gets `Computed: true` and set from `Read`
 * `ephemeral_block_device` loses `Computed: true`
 * explicitly set `root_block_device` to empty from `Read`

While I was in there (tm):

 * Send pointers to `d.Set` so we can use its internal nil check.
2015-04-03 12:58:49 -05:00
Paul Hinze b0abb4ea49 Merge pull request #1379 from hashicorp/f-validate-forcenew-on-resources-without-update
helper/schema: ensure ForceNew set when Update is not
2015-04-03 12:53:55 -05:00
Clint Shryock 961a646b9a provider/aws: Support additional changes to RDS without forcing a new resource 2015-04-03 12:23:01 -05:00
Clint 0cff04a37f Merge pull request #1377 from hashicorp/b-aws-fix-db-subnet-group-check
provider/aws: Fix issue finding db subnets
2015-04-03 10:02:20 -05:00
Paul Hinze 66dbf91ffd helper/schema: ensure ForceNew set when Update is not
If a given resource does not define an `Update` function, then all of
its attributes must be specified as `ForceNew`, lest Applys fail with
"doesn't support update" like #1367.

This is something we can detect automatically, so this adds a check for
it when we validate provider implementations.
2015-04-03 09:57:30 -05:00
Tomas Doran 2dfb837974 Document the fix to GH-1068 on the website 2015-04-03 15:51:12 +01:00
Clint Shryock 268f935386 provider/aws: Fix issue finding db subnets
AWS seems to lower case DB Subnet Group names, causing a failure in TF if your
name isn't all lower case.
2015-04-03 09:34:04 -05:00
Jack Pearkes ccb6cefca9 website: fix openstack doc links and style 2015-04-02 21:08:42 -07:00
Paul Hinze 3751533c3a Update CHANGELOG.md 2015-04-02 14:10:16 -05:00
Mitchell Hashimoto 2f37b80fb7 up version for dev 2015-04-02 11:38:10 -07:00
Mitchell Hashimoto 8577fd466c website: update middleman dep 2015-04-02 11:29:46 -07:00
Mitchell Hashimoto 2055405d2f website: fix markdown syntax errors 2015-04-02 11:19:27 -07:00
Mitchell Hashimoto 1894e98555 Merge pull request #1365 from hashicorp/f-0-4-0-deps
record deps for 0.4.0 release
2015-04-02 11:02:36 -07:00
Paul Hinze a2cd804e17 record deps for 0.4.0 release 2015-04-02 12:51:01 -05:00
Mitchell Hashimoto 9fd14f1638 v0.4.0 2015-04-02 10:42:10 -07:00
Paul Hinze cedfadc808 Merge pull request #1352 from hashicorp/b-rds-pointers
providers/aws: pass pointers directly to d.Set in RDS
2015-04-02 12:41:31 -05:00
Paul Hinze 045c020244 Merge pull request #1364 from hashicorp/f-lc-block-devices
block device support for launch configurations
2015-04-02 12:41:11 -05:00
Jason Waldrip f77250f17d block device support for launch configurations
- mimics block device support from AWS instance
 - splits the acceptance tests out so they all pass, handling a FIXME
   from #1079
2015-04-02 12:34:13 -05:00
Paul Hinze f8a699f3d8 Merge pull request #1079 from bobtfish/launch_configuration_computed_names
RFC for making launch configuration names computed.
2015-04-02 12:10:22 -05:00
Paul Hinze 737ecb3c31 Merge pull request #1363 from jtopjian/openstack-doc-updates
provider/openstack: documentation updates
2015-04-02 11:43:32 -05:00
Paul Hinze de1a58512a Merge pull request #1359 from hashicorp/b-do-ssh-key-test
providers/digitalocean: fix ssh key test
2015-04-02 11:34:34 -05:00
Joe Topjian c6a8849725 OpenStack Documentation Updates 2015-04-02 16:12:18 +00:00
Paul Hinze ec356f5b9c Merge pull request #1362 from hhoover/docs
Fix(docs) Correct spelling error in Docker documentation
2015-04-02 10:45:53 -05:00
Hart Hoover 3fcaab9114 Fix(docs) Correct spelling error in Docker documentation 2015-04-02 10:43:40 -05:00
Paul Hinze ace47c1c5b providers/digitalocean: fix ssh key test
there's now validation on the public key field
2015-04-02 09:04:59 -05:00
Clint Shryock 87e1260fac update hash for aws security group test 2015-04-02 09:00:47 -05:00