Commit Graph

445 Commits

Author SHA1 Message Date
Mitchell Hashimoto 2acc9b2e44 Merge pull request #1564 from nickryand/docker_links
Added Docker links support to the docker_container resource.
2015-04-18 16:41:17 -07:00
Radek Simko 555f9dfab3 aws: Support for weighted Route53 records added
- closes #1155
2015-04-17 18:53:36 +01:00
Paul Hinze e3a6fab501 Merge pull request #1566 from hashicorp/f-prevent-destroy
core: add prevent_destroy lifecycle flag
2015-04-17 11:01:19 -05:00
Paul Hinze afe4abb637 core: add prevent_destroy lifecycle flag
When the `prevent_destroy` flag is set on a resource, any plan that
would destroy that resource instead returns an error. This has the
effect of preventing the resource from being unexpectedly destroyed by
Terraform until the flag is removed from the config.
2015-04-17 10:40:04 -05:00
Luke Amdor c3f9c12426 Merge remote-tracking branch 'refs/remotes/origin/master' into route53-zone-nameservers 2015-04-17 10:11:53 -05:00
Nick Downs f74405d5e7 Added Docker links support to the docker_container resource. 2015-04-16 12:42:21 -07:00
Paul Hinze 2566975c8e Merge pull request #1542 from TimeIncOSS/length-func-docs
Add docs for length func
2015-04-16 13:57:26 -05:00
Guillaume Giamarchi d855047af3 Floating IP support for LBaaS Virtual IP 2015-04-16 02:51:05 +02:00
Clint e97fd27b14 Merge pull request #1539 from hashicorp/f-aws-instance-vpc-sec-ids
provider/aws: Add support for separate VPC Security Group IDs attribute
2015-04-15 15:25:03 -05:00
Guillaume Giamarchi b87c05e5a8 Allow to disable HTTPS certificate check 2015-04-15 21:54:44 +02:00
Radek Simko 2078c593a2 conf: docs added for length func 2015-04-15 18:55:49 +01:00
Clint Shryock 3337503eda update test and documentation for vpc ids in instances 2015-04-15 12:17:21 -05:00
Clint Shryock 97b98b1da6 Merge branch 'master' into f-aws-instance-vpc-sec-ids
* master: (511 commits)
  Update CHANGELOG.md
  core: avoid diff mismatch on NewRemoved fields during -/+
  Update CHANGELOG.md
  update CHANGELOG
  Fix minor error in index/count docs
  terraform: remove debug
  terraform: when pruning destroy, only match exact nodes, or exact counts
  up version for dev
  update CHANGELOG
  terraform: prune tainted destroys if no tainted in state [GH-1475]
  update CHANGELOG
  config/lang: support math on variables through implicits
  update CHANGELOG
  update cHANGELOG
  update cHANGELOG
  providers/aws: set id outside if/esle
  providers/aws: set ID after creation
  core: remove dead code from pre-deposed refactor
  website: update LC docs to note name is optional
  security_groups field expects a list of Security Group Group Names, not IDs
  ...
2015-04-15 12:12:17 -05:00
Jon Topper 6e3675e2de Fix minor error in index/count docs 2015-04-14 22:21:30 +02:00
Luke Amdor a4e4ffb87f updating Route53 docs for parent nameserver change 2015-04-14 14:18:38 -05:00
Mitchell Hashimoto 96e05e2f9f Merge pull request #1498 from dublx/patch-2
website: clarify docs for docker params
2015-04-14 08:31:26 -07:00
Mitchell Hashimoto c9eb7dc8bf Merge pull request #1465 from tlovett-rmn/fix-security-groups-docs
website: security_groups field expects a list of Group Names, not Group IDs
2015-04-14 08:29:13 -07:00
Mitchell Hashimoto 0bd7856942 website: update LC docs to note name is optional 2015-04-13 16:00:29 -07:00
Jason Waldrip 74bfbece69 Implement Additional ELB Connection Attributes 2015-04-13 14:14:26 -06:00
Thomas Lovett baf1625485 security_groups field expects a list of Security Group Group Names, not IDs 2015-04-13 14:23:11 -05:00
Luis Faustino f3bc644bc2 Fix #1402
Fixed the argument reference from 'name' to 'image'.
2015-04-12 22:23:15 +01:00
Sander van Harmelen d678b79fce Adding docs for the new resource... 2015-04-12 10:52:29 +02:00
Paul Hinze 56836c236f Merge pull request #1482 from hashicorp/d-aws-sg-tags
docs: move aws SG tags from rules to resource
2015-04-10 14:53:35 -05:00
Paul Hinze 5b53c26d33 docs: fill out all provider env var configuration
I find env vars a lot easier to use in day-to-day practice, so it's
probably a good idea to let the users have that benefit too!
2015-04-10 14:31:53 -05:00
Paul Hinze de3735bd6f docs: move aws SG tags from rules to resource
fixes #1479
2015-04-10 14:29:31 -05:00
Justin Campbell 8a60fc1422 provider/dnsimple: Document DNSimple env vars 2015-04-09 14:00:28 -04:00
Paul Hinze 34c7bbcf4d providers/aws: reduce scope of block_device set hashcodes
Fixes #1409

Resource set hash calculation is a bit of a devil's bargain when it
comes to optional, computed attributes.

If you omit the optional, computed attribute from the hash function,
changing it in an existing config is not properly detected.

If you include the optional, computed attribute in the hash and do not
specify a value for it in the config, then you'll end up with a
perpetual, unresolvable diff.

We'll need to think about how to get the best of both worlds, here, but
for now I'm switching us to the latter and documenting the fact that
changing these attributes requires manual `terraform taint` to apply.
2015-04-09 08:53:09 -05:00
Dainis Tillers b05780cdfe Added - documentation about added features 2015-04-08 14:41:47 +03:00
Mitchell Hashimoto c9fe0c1b34 website: fix remote config docs 2015-04-07 14:50:10 -07:00
Daisuke Fujita 236d3af646 Remove owner_id argument from document 2015-04-07 16:16:04 +09: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
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
Tomas Doran 2dfb837974 Document the fix to GH-1068 on the website 2015-04-03 15:51:12 +01:00
Mitchell Hashimoto 2055405d2f website: fix markdown syntax errors 2015-04-02 11:19:27 -07: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 737ecb3c31 Merge pull request #1363 from jtopjian/openstack-doc-updates
provider/openstack: documentation updates
2015-04-02 11:43:32 -05:00
Joe Topjian c6a8849725 OpenStack Documentation Updates 2015-04-02 16:12:18 +00:00
Hart Hoover 3fcaab9114 Fix(docs) Correct spelling error in Docker documentation 2015-04-02 10:43:40 -05:00
Rui Zhang 94bb3ed513 Support for AWS Placement Group
- add placement_group for aws instance
- update test and document
2015-04-01 23:33:16 -07:00
Tarrant f68c9eee63 Merge branch 'master' of https://github.com/hashicorp/terraform 2015-04-01 18:24:57 -07:00
Ryan Uber 854267fb0e Merge pull request #1355 from hashicorp/f-plan-exitcode
Granular exit code during terraform plan
2015-04-01 16:21:01 -07:00
Clint Shryock 261faaf3d2 Merge branch 'master' into f-rds-update
* master: (167 commits)
  return error if failed to set tags on Route 53 zone
  core: [tests] fix order dependent test
  Fix hashcode for ASG test
  provider/aws: Fix issue with tainted ASG groups failing to re-create
  Don't error when reading s3 bucket with no tags
  Avoid panics when DBName is not set
  Add floating IP association in aceptance tests
  Use env var OS_POOL_NAME as default for pool attribute
  providers/heroku: Add heroku-postgres to example
  docs: resource addressing
  providers/heroku: Document environment variables
  providers/heroku: Add region to example
  Bugfix on floating IP assignment
  Update CHANGELOG.md
  update CHANGELOG
  website: note on docker
  core: formalize resource addressing
  core: fill out context tests for targeted ops
  core: docs for targeted operations
  core: targeted operations
  ...
2015-04-01 15:28:35 -05:00
Ryan Uber 4df04e0878 website: document detailed exit codes for plan 2015-04-01 09:49:36 -07:00
Paul Hinze 5b699fea9e Merge pull request #1293 from hashicorp/f-targeted-ops
core: targeted operations
2015-04-01 10:37:55 -05:00
Justin Campbell 9b3826cf36 providers/heroku: Add heroku-postgres to example 2015-03-31 18:48:09 -07:00
Tarrant 6ad812e3d8 Merge branch 'ssh_agent' 2015-03-31 17:49:55 -07:00
Paul Hinze 91a3d22a9f docs: resource addressing 2015-03-31 18:48:54 -05:00
Justin Campbell 6d3425f961 providers/heroku: Document environment variables 2015-03-31 15:51:22 -07:00
Justin Campbell ad19adfdc0 providers/heroku: Add region to example
...since it's required
2015-03-31 15:50:57 -07:00
Paul Hinze 08814a51ba Merge pull request #924 from jrperritt/openstack-gophercloud-v1.0
OpenStack Provider
2015-03-31 16:58:21 -05:00
Mitchell Hashimoto 596511078a website: note on docker 2015-03-31 14:48:57 -07:00
Paul Hinze 23d005b0e8 core: docs for targeted operations 2015-03-31 14:49:38 -05:00
Long Nguyen 42fb14f19a Added self option to security groups 2015-03-31 09:54:49 -06:00
Joe Topjian 2b152f38b2 Doc update for instance volume attachment. 2015-03-31 09:54:48 -06:00
Joe Topjian 768292c069 Support for flavor_name
This commit renames flavor_ref to flavor_id and adds the flavor_name
parameter. Users can now specify either a flavor ID or name when launching
instances.
2015-03-31 09:54:48 -06:00
Joe Topjian 52102624c6 More doc touchups 2015-03-31 09:54:48 -06:00
Joe Topjian 6f8df3d34e Doc touchup 2015-03-31 09:54:48 -06:00
Joe Topjian 2b5c7c6e2c Updated documentation to reflect the image_ref / image_id change. 2015-03-31 09:54:48 -06:00
Jon Perritt 436ef9e53b boot from volume ops and docs 2015-03-31 09:54:48 -06:00
Jon Perritt 9c128b7c99 docs for volume and container resources 2015-03-31 09:54:48 -06:00
Jon Perritt 3427597bd0 update docs to remove security group rule and lb member files 2015-03-31 09:54:47 -06:00
Jon Perritt 7cdb790ece update compute intance docs: 'networks -> 'network' 2015-03-31 09:54:47 -06:00
Jon Perritt d80a02c12d update docs to reflect resource region and versioning 2015-03-31 09:54:46 -06:00
Jon Perritt bf92b1647f fix typo 2015-03-31 09:54:46 -06:00
Jon Perritt 2a4570e382 add comment for changing 'networks' attribute 2015-03-31 09:54:46 -06:00
Jon Perritt 8e6e7909cb neutron subnet operations 2015-03-31 09:54:46 -06:00
Jon Perritt ef3ee11045 neutron network operations 2015-03-31 09:54:46 -06:00
Jon Perritt c2230a8aaa lb vip operations 2015-03-31 09:54:46 -06:00
Jon Perritt 7132b02a84 lb pool operations 2015-03-31 09:54:45 -06:00
Jon Perritt 966c8420d1 lb monitor operations 2015-03-31 09:54:45 -06:00
Jon Perritt 9077b66045 lb member operations 2015-03-31 09:54:45 -06:00
Jon Perritt fc344e9060 sec group and sec group rule docs 2015-03-31 09:54:45 -06:00
Jon Perritt 00ee96fb6f openstack servers and keypairs docs 2015-03-31 09:54:45 -06:00
Jon Perritt 686cd4b02b add OpenStack to list of IaaS providers 2015-03-31 09:54:45 -06:00
Clint Shryock e485767694 provider/aws: Add non-destructive updates to AWS RDS
This introduces non-destructive, in-place upgrades to MultiAZ and Engine Version
attributes of AWS RDS instances.
2015-03-31 09:41:37 -05:00
Mitchell Hashimoto 2f0235b23d website: docker docs 2015-03-28 19:05:17 -07:00
Mitchell Hashimoto 4a7b554cf7 command/remote-config: do a pull with `terraform remote config` 2015-03-26 17:57:45 -07:00
Clint Shryock 877eb902a0 Merge branch 'master' into time-asg-tags-support
* master:
  update CHANGELOG
  providers/digitalocean: add dot in GET response
  providers/digitalocean: force fqdn in dns rr value
  update CHANGELOG
  Add disk size to google_compute_instance disk blocks.
  'project' should be set to the project's ID, not its name.
  Don't error when enabling DNS hostnames in a VPC
  Correct AWS VPC or route table read functions
  Updates to GCE Instances and Instance Templates to allow for false values to be set for the auto_delete setting.
  Update GCE Instance Template tests now that existing disk must exist prior to template creation.
  Update Google API import to point to the new location.
  add network field to the network_interface
2015-03-26 13:47:46 -05:00
Mitchell Hashimoto c294ce323c Merge pull request #1272 from ndarilek/google-instance-docs-fix
website: 'project' requires ID, not name
2015-03-26 10:21:12 -07:00
Mitchell Hashimoto deb5052454 Merge pull request #1284 from ndarilek/add-size-to-instance-disk
Add size option to disk blocks under google_compute_instance
2015-03-26 10:13:11 -07:00
Radek Simko 7950ace399 Documentation for ASG Tags added 2015-03-26 07:35:16 +00:00
Mitchell Hashimoto 27f4f5889b website: clarify docs on -var-file and terraform.tfvars [GH-1280] 2015-03-25 16:31:22 -07:00
Paul Hinze 6b02cfb700 Merge pull request #1277 from hashicorp/f-aws-derive-root-device-name
providers/aws: derive instance root_block_device name
2015-03-25 15:15:05 -05:00
Mitchell Hashimoto 280635d2b0 command/push: add -atlas-address 2015-03-24 17:45:19 -07:00
Mitchell Hashimoto 51614b6365 command/push: upload-modules 2015-03-24 17:42:40 -07:00
Mitchell Hashimoto 8d47f26bb7 command/push: address PR comments 2015-03-24 17:41:26 -07:00
Mitchell Hashimoto d7aeb01360 website: remove localhost link 2015-03-24 17:40:12 -07:00
Mitchell Hashimoto 395dd04861 command/push: accept -vcs 2015-03-24 17:03:59 -07:00
Mitchell Hashimoto 20a81a9d05 website: update docs 2015-03-24 17:00:24 -07:00
Mitchell Hashimoto f857363aac website: document push 2015-03-24 13:30:23 -07:00
Nolan Darilek 9d75fa72ab Add disk size to google_compute_instance disk blocks. 2015-03-24 11:45:20 -05:00
Paul Hinze a4e80b6313 providers/aws: derive instance root_block_device name
I was working on building a validation to check the user-provided
"device_name" for "root_block_device" on AWS Instances, when I realized
that if I can check it, I might as well just derive it automatically!

So that's what we do here - when you customize the details of the root
block device, device name is just comes from the selected AMI.
2015-03-23 11:58:45 -05:00
Nolan Darilek 85fc1bca33 'project' should be set to the project's ID, not its name. 2015-03-21 09:16:16 -05:00
Clint bb4dd8ae77 Merge pull request #1137 from deverton/aws-go-vpn
provider/aws: Add Support For AWS VPN Gateways using aws-sdk-go
2015-03-19 16:12:17 -05:00
Paul Hinze 46b63074e0 Merge pull request #1045 from hashicorp/f-block-devices
providers/aws: rework instance block devices
2015-03-19 09:09:45 -05:00
Paul Hinze 2b23c402ee providers/aws: rework instance block devices
Instance block devices are now managed by three distinct sub-resources:

 * `root_block_device` - introduced previously
 * `ebs_block_device` - all additional ebs-backed volumes
 * `ephemeral_block_device` - instance store / ephemeral devices

The AWS API support around BlockDeviceMapping is pretty confusing. It's
a single collection type that supports these three members each of which
has different fields and different behavior.

My biggest hiccup came from the fact that Instance Store volumes do not
show up in any response BlockDeviceMapping for any EC2 `Describe*` API
calls. They're only available from the instance meta-data service as
queried from inside the node.

This removes `block_device` altogether for a clean break from old
configs. New configs will need to sort their `block_device`
declarations into the three new types. The field has been marked
`Removed` to indicate this to users.

With the new block device format being introduced, we need to ensure
Terraform is able to properly read statefiles written in the old format.
So we use the new `helper/schema` facility of "state migrations" to
transform statefiles in the old format to something that the current
version of the schema can use.

Fixes #858
2015-03-19 09:03:41 -05:00
Dan Everton f7289599cc Merge branch 'master' into aws-go-vpn 2015-03-19 11:03:48 +10:00