Commit Graph

4592 Commits

Author SHA1 Message Date
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
Clint Shryock 547080002c provider/aws: Fix issue with Route 53 and pre-existing, external Hosted Zones 2015-04-07 15:20:56 -05: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
Clint Shryock 6376ac2dab provider/aws: Convert AWS Network Interface to aws-sdk-go
Also adds sdk versions of structure, structure test
2015-04-07 12:07:12 -05:00
Clint Shryock a15547b955 provider/aws: Convert EIP to use upstream aws-sdk-go 2015-04-07 10:37:17 -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
Clint Shryock 2c1c448031 providers/aws: Convert AWS Internet gateway to upstream aws-sdk-go 2015-04-07 09:44:00 -05:00
Daisuke Fujita 236d3af646 Remove owner_id argument from document 2015-04-07 16:16:04 +09:00
Clint Shryock 6feba0bf36 migrate aws keypair test suite 2015-04-06 15:13:29 -05:00
Clint Shryock 0fbbd1195a provider/aws: Convert AWS Subnet to mainstream aws-sdk-go 2015-04-06 15:07:40 -05:00
Clint Shryock eb82f2bf2a provider/aws: Convert Key Pair to upstream aws-sdk-go 2015-04-06 12:22:57 -05: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
Paul Hinze c2b293d047 Fix comment typo 2015-04-06 10:45:02 -05:00
Clint Shryock c5eb16cfb1 provider/aws: Change Route 53 record to allow resource updates
This removes `ForceNew` from `records` and `ttl`, and introduces a
`resourceAwsRoute53RecordUpdate` function. The `resourceAwsRoute53RecordUpdate`
falls through to the `resourceAwsRoute53RecordCreate` function, which utilizes
AWS `UPSERT` behavior and diffs for us.

`Name` and `Type` are used by AWS in the `UPSERT`, so only records with matching
`name` and `type` can be updated. Others are created as new, so we leave the
`ForceNew` behavior here.
2015-04-06 10:16:23 -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