terraform/CHANGELOG.md

625 lines
30 KiB
Markdown
Raw Normal View History

2015-04-11 01:46:43 +02:00
## 0.4.2 (April 10, 2015)
2015-04-09 20:20:14 +02:00
BUG FIXES:
2015-04-10 23:34:23 +02:00
* core: refresh won't remove outputs from state file [GH-1369]
* core: clarify "unknown variable" error [GH-1480]
2015-04-11 01:45:56 +02:00
* core: properly merge parent provider configs when asking for input
2015-04-09 20:20:14 +02:00
* provider/aws: fix panic possibility if RDS DB name is empty [GH-1460]
2015-04-10 17:10:48 +02:00
* provider/aws: fix issue detecting credentials for some resources [GH-1470]
2015-04-10 16:36:59 +02:00
* provider/google: fix issue causing unresolvable diffs when using legacy
`network` field on `google_compute_instance` [GH-1458]
2015-04-09 20:20:14 +02:00
2015-04-09 18:55:56 +02:00
## 0.4.1 (April 9, 2015)
2015-04-02 20:37:56 +02:00
2015-04-09 17:14:44 +02:00
IMPROVEMENTS:
2015-04-09 18:51:07 +02:00
* provider/aws: Route 53 records can now update `ttl` and `records` attributes
2015-04-09 17:14:44 +02:00
without destroying/creating the record [GH-1396]
* provider/aws: Support changing additional attributes of RDS databases
2015-04-09 17:14:44 +02:00
without forcing a new resource [GH-1382]
BUG FIXES:
2015-04-02 20:37:56 +02:00
2015-04-08 02:57:52 +02:00
* core: module paths in ".terraform" are consistent across different
systems so copying your ".terraform" folder works. [GH-1418]
2015-04-09 16:54:13 +02:00
* core: don't validate providers too early when nested in a module [GH-1380]
2015-04-09 18:34:03 +02:00
* core: fix race condition in `count.index` interpolation [GH-1454]
2015-04-08 00:36:28 +02:00
* command/push: don't ask for input if terraform.tfvars is present
* command/remote-config: remove spurrious error "nil" when initializing
remote state on a new configuration. [GH-1392]
2015-04-09 17:14:44 +02:00
* provider/aws: Fix issue with Route 53 and pre-existing Hosted Zones [GH-1415]
* provider/aws: Fix refresh issue in Route 53 hosted zone [GH-1384]
* provider/aws: Fix issue when changing map-public-ip in Subnets #1234
* provider/aws: Fix issue finding db subnets [GH-1377]
* provider/aws: Fix issues with `*_block_device` attributes on instances and
launch configs creating unresolvable diffs when certain optional
parameters were omitted from the config [GH-1445]
* provider/aws: Fix issue with `aws_launch_configuration` causing an
unnecessary diff for pre-0.4 environments [GH-1371]
* provider/aws: Fix several related issues with `aws_launch_configuration`
causing unresolvable diffs [GH-1444]
* provider/aws: Fix issue preventing launch configurations from being valid
in EC2 Classic [GH-1412]
2015-04-09 18:55:10 +02:00
* provider/aws: Fix issue in updating Route 53 records on refresh/read. [GH-1430]
2015-04-09 18:51:07 +02:00
* provider/docker: Don't ask for `cert_path` input on every run [GH-1432]
* provider/google: Fix issue causing unresolvable diff on instances with
`network_interface` [GH-1427]
2015-04-02 20:37:56 +02:00
2015-04-02 19:42:10 +02:00
## 0.4.0 (April 2, 2015)
2015-02-19 20:56:18 +01:00
2015-03-05 05:12:46 +01:00
BACKWARDS INCOMPATIBILITIES:
* Commands `terraform push` and `terraform pull` are now nested under
the `remote` command: `terraform remote push` and `terraform remote pull`.
The old `remote` functionality is now at `terraform remote config`. This
consolidates all remote state management under one command.
2015-03-19 09:50:38 +01:00
* Period-prefixed configuration files are now ignored. This might break
existing Terraform configurations if you had period-prefixed files.
2015-04-02 21:10:16 +02:00
* The `block_device` attribute of `aws_instance` has been removed in favor
of three more specific attributes to specify block device mappings:
2015-04-02 21:10:16 +02:00
`root_block_device`, `ebs_block_device`, and `ephemeral_block_device`.
Configurations using the old attribute will generate a validation error
indicating that they must be updated to use the new fields [GH-1045].
2015-03-05 05:12:46 +01:00
2015-02-24 00:20:46 +01:00
FEATURES:
2015-02-27 22:45:59 +01:00
* **New provider: `dme` (DNSMadeEasy)** [GH-855]
2015-03-31 23:53:16 +02:00
* **New provider: `docker` (Docker)** - Manage container lifecycle
using the standard Docker API. [GH-855]
2015-04-01 00:00:44 +02:00
* **New provider: `openstack` (OpenStack)** - Interact with the many resources
provided by OpenStack. [GH-924]
2015-04-02 07:52:13 +02:00
* **New feature: `terraform_remote_state` resource** - Reference remote
states from other Terraform runs to use Terraform outputs as inputs
into another Terraform run.
2015-02-27 22:45:59 +01:00
* **New command: `taint`** - Manually mark a resource as tainted, causing
a destroy and recreate on the next plan/apply.
2015-03-11 23:16:22 +01:00
* **New resource: `aws_vpn_gateway`** [GH-1137]
* **New resource: `aws_elastic_network_interfaces`** [GH-1149]
2015-02-24 00:20:46 +01:00
* **Self-variables** can be used to reference the current resource's
attributes within a provisioner. Ex. `${self.private_ip_address}` [GH-1033]
2015-03-27 22:44:29 +01:00
* **Continuous state** saving during `terraform apply`. The state file is
continuously updated as apply is running, meaning that the state is
2015-02-25 02:36:15 +01:00
less likely to become corrupt in a catastrophic case: terraform panic
or system killing Terraform.
2015-02-27 22:45:59 +01:00
* **Math operations** in interpolations. You can now do things like
`${count.index+1}`. [GH-1068]
2015-03-31 23:53:16 +02:00
* **New AWS SDK:** Move to `aws-sdk-go` (hashicorp/aws-sdk-go),
a fork of the offical `awslabs` repo. We forked for stability while
2015-03-27 22:44:29 +01:00
`awslabs` refactored the library, and will move back to the officially
supported version in the next release.
2015-02-24 00:20:46 +01:00
2015-02-20 22:46:35 +01:00
IMPROVEMENTS:
2015-03-05 01:06:48 +01:00
* **New config function: `format`** - Format a string using `sprintf`
format. [GH-1096]
2015-03-02 18:48:43 +01:00
* **New config function: `replace`** - Search and replace string values.
Search can be a regular expression. See documentation for more
info. [GH-1029]
2015-02-20 22:46:35 +01:00
* **New config function: `split`** - Split a value based on a delimiter.
This is useful for faking lists as parameters to modules.
2015-03-06 19:03:30 +01:00
* **New resource: `digitalocean_ssh_key`** [GH-1074]
2015-03-31 02:01:55 +02:00
* config: Expand `~` with homedir in `file()` paths [GH-1338]
2015-02-25 02:36:15 +01:00
* core: The serial of the state is only updated if there is an actual
change. This will lower the amount of state changing on things
like refresh.
2015-03-02 18:45:38 +01:00
* core: Autoload `terraform.tfvars.json` as well as `terraform.tfvars` [GH-1030]
2015-03-19 09:50:38 +01:00
* core: `.tf` files that start with a period are now ignored. [GH-1227]
2015-03-27 01:58:27 +01:00
* command/remote-config: After enabling remote state, a `pull` is
automatically done initially.
2015-03-26 18:13:57 +01:00
* providers/google: Add `size` option to disk blocks for instances. [GH-1284]
* providers/aws: Improve support for tagging resources.
2015-03-31 23:53:16 +02:00
* providers/aws: Add a short syntax for Route 53 Record names, e.g.
2015-03-27 22:44:29 +01:00
`www` instead of `www.example.com`.
2015-03-31 23:53:16 +02:00
* providers/aws: Improve dependency violation error handling, when deleting
2015-04-02 07:55:16 +02:00
Internet Gateways or Auto Scaling groups [GH-1325].
2015-04-02 07:52:13 +02:00
* provider/aws: Add non-destructive updates to AWS RDS. You can now upgrade
`egine_version`, `parameter_group_name`, and `multi_az` without forcing
2015-04-01 23:11:27 +02:00
a new database to be created.[GH-1341]
2015-04-02 21:10:16 +02:00
* providers/aws: Full support for block device mappings on instances and
launch configurations [GH-1045, GH-1364]
2015-04-02 07:55:16 +02:00
* provisioners/remote-exec: SSH agent support. [GH-1208]
2015-02-20 22:46:35 +01:00
2015-02-20 18:27:18 +01:00
BUG FIXES:
2015-02-19 22:43:19 +01:00
2015-02-20 18:27:18 +01:00
* core: module outputs can be used as inputs to other modules [GH-822]
2015-02-23 22:49:12 +01:00
* core: Self-referencing splat variables are no longer allowed in
provisioners. [GH-795][GH-868]
2015-02-23 22:49:54 +01:00
* core: Validate that `depends_on` doesn't contain interpolations. [GH-1015]
2015-02-23 22:51:32 +01:00
* core: Module inputs can be non-strings. [GH-819]
2015-02-28 07:55:37 +01:00
* core: Fix invalid plan that resulted in "diffs don't match" error when
a computed attribute was used as part of a set parameter. [GH-1073]
2015-03-02 17:34:45 +01:00
* core: Fix edge case where state containing both "resource" and
"resource.0" would ignore the latter completely. [GH-1086]
2015-03-27 20:14:56 +01:00
* core: Modules with a source of a relative file path moving up
directories work properly, i.e. "../a" [GH-1232]
2015-02-20 19:20:57 +01:00
* providers/aws: manually deleted VPC removes it from the state
2015-02-23 22:46:29 +01:00
* providers/aws: `source_dest_check` regression fixed (now works). [GH-1020]
2015-03-11 08:31:58 +01:00
* providers/aws: Longer wait times for DB instances.
* providers/aws: Longer wait times for route53 records (30 mins). [GH-1164]
* providers/aws: Fix support for TXT records in Route 53. [GH-1213]
* providers/aws: Fix support for wildcard records in Route 53. [GH-1222]
2015-03-31 23:53:16 +02:00
* providers/aws: Fix issue with ignoring the 'self' attribute of a
2015-03-27 22:44:29 +01:00
Security Group rule. [GH-1223]
2015-03-31 23:53:16 +02:00
* providers/aws: Fix issue with `sql_mode` in RDS parameter group always
2015-03-27 22:44:29 +01:00
causing an update. [GH-1225]
2015-03-31 23:53:16 +02:00
* providers/aws: Fix dependency violation with subnets and security groups
2015-03-27 22:44:29 +01:00
[GH-1252]
2015-03-31 23:53:16 +02:00
* providers/aws: Fix issue with refreshing `db_subnet_groups` causing an error
2015-03-27 22:44:29 +01:00
instead of updating state [GH-1254]
2015-03-31 23:53:16 +02:00
* providers/aws: Prevent empty string to be used as default
2015-03-27 22:44:29 +01:00
`health_check_type` [GH-1052]
* providers/aws: Add tags on AWS IG creation, not just on update [GH-1176]
2015-02-26 18:20:50 +01:00
* providers/digitalocean: Waits until droplet is ready to be destroyed [GH-1057]
2015-02-26 23:56:27 +01:00
* providers/digitalocean: More lenient about 404's while waiting [GH-1062]
2015-03-26 18:58:42 +01:00
* providers/digitalocean: FQDN for domain records in CNAME, MX, NS, etc.
Also fixes invalid updates in plans. [GH-863]
2015-03-05 01:06:48 +01:00
* providers/google: Network data in state was not being stored. [GH-1095]
2015-03-27 20:17:57 +01:00
* providers/heroku: Fix panic when config vars block was empty. [GH-1211]
2015-02-19 20:56:18 +01:00
2015-03-05 22:45:59 +01:00
PLUGIN CHANGES:
* New `helper/schema` fields for resources: `Deprecated` and `Removed` allow
plugins to generate warning or error messages when a given attribute is used.
2015-02-19 19:57:03 +01:00
## 0.3.7 (February 19, 2015)
2015-01-07 01:32:47 +01:00
2015-01-11 00:29:07 +01:00
IMPROVEMENTS:
2015-02-17 18:25:56 +01:00
* **New resources: `google_compute_forwarding_rule`, `google_compute_http_health_check`,
and `google_compute_target_pool`** - Together these provide network-level
2015-01-31 00:54:31 +01:00
load balancing. [GH-588]
2015-02-17 18:25:56 +01:00
* **New resource: `aws_main_route_table_association`** - Manage the main routing table
2015-02-03 23:45:01 +01:00
of a VPC. [GH-918]
2015-02-18 15:57:43 +01:00
* **New resource: `aws_vpc_peering_connection`** [GH-963]
2015-01-16 17:34:24 +01:00
* core: Formalized the syntax of interpolations and documented it
very heavily.
* core: Strings in interpolations can now contain further interpolations,
e.g.: `foo ${bar("${baz}")}`.
* provider/aws: Internet gateway supports tags [GH-720]
2015-01-27 03:20:42 +01:00
* provider/aws: Support the more standard environmental variable names
for access key and secret keys. [GH-851]
2015-01-28 23:24:45 +01:00
* provider/aws: The `aws_db_instance` resource no longer requires both
`final_snapshot_identifier` and `skip_final_snapshot`; the presence or
absence of the former now implies the latter. [GH-874]
2015-03-27 22:44:29 +01:00
* provider/aws: Avoid unnecessary update of `aws_subnet` when
2015-02-01 17:05:26 +01:00
`map_public_ip_on_launch` is not specified in config. [GH-898]
2015-02-17 18:31:14 +01:00
* provider/aws: Add `apply_method` to `aws_db_parameter_group` [GH-897]
* provider/aws: Add `storage_type` to `aws_db_instance` [GH-896]
2015-02-17 18:44:44 +01:00
* provider/aws: ELB can update listeners without requiring new. [GH-721]
2015-02-17 23:00:29 +01:00
* provider/aws: Security group support egress rules. [GH-856]
2015-02-18 15:57:06 +01:00
* provider/aws: Route table supports VPC peering connection on route. [GH-963]
2015-02-18 20:34:41 +01:00
* provider/aws: Add `root_block_device` to `aws_db_instance` [GH-998]
2015-01-29 00:28:26 +01:00
* provider/google: Remove "client secrets file", as it's no longer necessary
for API authentication [GH-884].
2015-02-03 23:20:03 +01:00
* provider/google: Expose `self_link` on `google_compute_instance` [GH-906]
2015-01-11 00:29:07 +01:00
2015-01-07 22:57:03 +01:00
BUG FIXES:
2015-01-07 01:32:47 +01:00
2015-01-16 17:34:24 +01:00
* core: Fixing use of remote state with plan files. [GH-741]
* core: Fix a panic case when certain invalid types were used in
the configuration. [GH-691]
* core: Escape characters `\"`, `\n`, and `\\` now work in interpolations.
2015-01-16 18:59:03 +01:00
* core: Fix crash that could occur when there are exactly zero providers
installed on a system. [GH-786]
* core: JSON TF configurations can configure provisioners. [GH-807]
* core: Sort `depends_on` in state to prevent unnecessary file changes. [GH-928]
2015-02-17 20:52:07 +01:00
* core: State containing the zero value won't cause a diff with the
lack of a value. [GH-952]
* core: If a set type becomes empty, the state will be properly updated
to remove it. [GH-952]
2015-02-18 01:14:37 +01:00
* core: Bare "splat" variables are not allowed in provisioners. [GH-636]
2015-02-18 19:23:47 +01:00
* core: Invalid configuration keys to sub-resources are now errors. [GH-740]
* command/apply: Won't try to initialize modules in some cases when
no arguments are given. [GH-780]
* command/apply: Fix regression where user variables weren't asked [GH-736]
2015-02-17 18:25:56 +01:00
* helper/hashcode: Update `hash.String()` to always return a positive index.
2015-02-12 02:15:12 +01:00
Fixes issue where specific strings would convert to a negative index
2015-03-27 22:44:29 +01:00
and be omitted when creating Route53 records. [GH-967]
2015-02-12 02:52:10 +01:00
* provider/aws: Automatically suffix the Route53 zone name on record names. [GH-312]
2015-01-28 17:33:10 +01:00
* provider/aws: Instance should ignore root EBS devices. [GH-877]
2015-01-28 23:24:45 +01:00
* provider/aws: Fix `aws_db_instance` to not recreate each time. [GH-874]
2015-02-17 18:25:56 +01:00
* provider/aws: ASG termination policies are synced with remote state. [GH-923]
2015-02-18 01:41:57 +01:00
* provider/aws: ASG launch configuration setting can now be updated in-place. [GH-904]
2015-02-17 18:31:14 +01:00
* provider/aws: No read error when subnet is manually deleted. [GH-889]
2015-02-18 01:15:37 +01:00
* provider/aws: Tags with empty values (empty string) are properly
managed. [GH-968]
2015-02-18 01:18:38 +01:00
* provider/aws: Fix case where route table would delete its routes
on an unrelated change. [GH-990]
2015-01-29 00:28:26 +01:00
* provider/google: Fix bug preventing instances with metadata from being
created [GH-884].
2015-01-07 01:32:47 +01:00
2015-01-11 01:08:27 +01:00
PLUGIN CHANGES:
2015-01-16 17:34:24 +01:00
* New `helper/schema` type: `TypeFloat` [GH-594]
2015-01-16 19:57:21 +01:00
* New `helper/schema` field for resources: `Exists` must point to a function
to check for the existence of a resource. This is used to properly
handle the case where the resource was manually deleted. [GH-766]
2015-02-18 02:46:36 +01:00
* There is a semantic change in `GetOk` where it will return `true` if
there is any value in the diff that is _non-zero_. Before, it would
return true only if there was a value in the diff.
2015-01-11 01:08:27 +01:00
2015-01-07 00:56:14 +01:00
## 0.3.6 (January 6, 2015)
2014-12-16 00:36:07 +01:00
FEATURES:
* **New provider: `cloudstack`**
IMPROVEMENTS:
2015-01-06 23:24:22 +01:00
* **New resource: `aws_key_pair`** - Import a public key into AWS. [GH-695]
2014-12-16 00:36:07 +01:00
* **New resource: `heroku_cert`** - Manage Heroku app certs.
2014-12-16 01:41:09 +01:00
* provider/aws: Support `eu-central-1`, `cn-north-1`, and GovCloud. [GH-525]
2014-12-16 00:36:07 +01:00
* provider/aws: `route_table` can have tags. [GH-648]
2015-01-06 23:24:22 +01:00
* provider/google: Support Ubuntu images. [GH-724]
* provider/google: Support for service accounts. [GH-725]
2014-12-16 00:36:07 +01:00
BUG FIXES:
* core: temporary/hidden files that look like Terraform configurations
are no longer loaded. [GH-548]
* core: Set types in resources now result in deterministic states,
resulting in cleaner plans. [GH-663]
* core: fix issue where "diff was not the same" would come up with
diffing lists. [GH-661]
2014-12-16 07:14:08 +01:00
* core: fix crash where module inputs weren't strings, and add more
validation around invalid types here. [GH-624]
* core: fix error when using a computed module output as an input to
another module. [GH-659]
2014-12-17 20:40:53 +01:00
* core: map overrides in "terraform.tfvars" no longer result in a syntax
error. [GH-647]
2015-01-06 23:24:22 +01:00
* core: Colon character works in interpolation [GH-700]
2014-12-16 00:36:07 +01:00
* provider/aws: Fix crash case when internet gateway is not attached
to any VPC. [GH-664]
* provider/aws: `vpc_id` is no longer required. [GH-667]
2014-12-16 18:16:11 +01:00
* provider/aws: `availability_zones` on ELB will contain more than one
AZ if it is set as such. [GH-682]
2014-12-26 04:37:20 +01:00
* provider/aws: More fields are marked as "computed" properly, resulting
in more accurate diffs for AWS instances. [GH-712]
* provider/aws: Fix panic case by using the wrong type when setting
volume size for AWS instances. [GH-712]
2015-01-06 23:24:22 +01:00
* provider/aws: route table ignores routes with 'EnableVgwRoutePropagation'
origin since those come from gateways. [GH-722]
* provider/aws: Default network ACL ID and default security group ID
support for `aws_vpc`. [GH-704]
2015-01-07 00:39:18 +01:00
* provider/aws: Tags are not marked as computed. This introduces another
issue with not detecting external tags, but this will be fixed in
the future. [GH-730]
2014-12-16 00:36:07 +01:00
2014-12-10 03:52:22 +01:00
## 0.3.5 (December 9, 2014)
2014-10-21 20:23:58 +02:00
2014-12-10 00:02:41 +01:00
FEATURES:
2014-12-10 03:51:00 +01:00
* **Remote State**: State files can now be stored remotely via HTTP,
Consul, or HashiCorp's Atlas.
* **New Provider: `atlas`**: Retrieve artifacts for deployment from
HashiCorp's Atlas service.
* New `element()` function to index into arrays
2014-12-10 00:02:41 +01:00
IMPROVEMENTS:
2014-12-10 03:51:49 +01:00
* provider/aws: Support tenancy for aws\_instance
* provider/aws: Support block devices for aws\_instance
* provider/aws: Support virtual\_name on block device
2014-12-10 00:02:41 +01:00
* provider/aws: Improve RDS reliability (more grace time)
2014-12-10 03:51:49 +01:00
* provider/aws: Added aws\_db\_parameter\_group resource
* provider/aws: Added tag support to aws\_subnet
2014-12-10 00:02:41 +01:00
* provider/aws: Routes in RouteTable are optional
2014-12-10 03:51:49 +01:00
* provider/aws: associate\_public\_ip\_address on aws\_launch\_configuration
* provider/aws: Added aws\_network\_acl
2014-12-10 00:02:41 +01:00
* provider/aws: Ingress rules in security groups are optional
* provider/aws: Support termination policy for ASG
* provider/digitalocean: Improved droplet size compatibility
2014-11-19 00:46:59 +01:00
BUG FIXES:
2014-10-21 20:23:58 +02:00
2014-11-19 00:46:59 +01:00
* core: Fixed issue causing double delete. [GH-555]
* core: Fixed issue with create-before-destroy not being respected in
some circumstances.
* core: Fixing issue with count expansion with non-homogenous instance
plans.
2014-12-09 09:27:05 +01:00
* core: Fix issue with referencing resource variables from resources
that don't exist yet within resources that do exist, or modules.
2014-12-10 00:02:41 +01:00
* core: Fixing depedency handling for modules
* core: Fixing output handling [GH-474]
* core: Fixing count interpolation in modules
* core: Fixing multi-var without module state
* core: Fixing HCL variable declaration
* core: Fixing resource interpolation for without state
* core: Fixing handling of computed maps
* command/init: Fixing recursion issue [GH-518]
* command: Validate config before requesting input [GH-602]
* build: Fixing GOPATHs with spaces
MISC:
* provider/aws: Upgraded to helper.Schema
* provider/heroku: Upgraded to helper.Schema
* provider/mailgun: Upgraded to helper.Schema
* provider/dnsimple: Upgraded to helper.Schema
* provider/cloudflare: Upgraded to helper.Schema
* provider/digitalocean: Upgraded to helper.Schema
* provider/google: Upgraded to helper.Schema
2014-10-21 20:23:58 +02:00
2014-10-21 20:01:04 +02:00
## 0.3.1 (October 21, 2014)
2014-10-16 05:27:58 +02:00
2014-10-21 08:11:31 +02:00
IMPROVEMENTS:
2014-10-21 20:30:37 +02:00
* providers/aws: Support tags for security groups.
2014-10-21 08:11:31 +02:00
* providers/google: Add "external\_address" to network attributes [GH-454]
* providers/google: External address is used as default connection host. [GH-454]
2014-10-21 08:16:18 +02:00
* providers/heroku: Support `locked` and `personal` booleans on organization
settings. [GH-406]
2014-10-21 08:11:31 +02:00
BUG FIXES:
2014-10-16 05:27:58 +02:00
* core: Remove panic case when applying with a plan that generates no
new state. [GH-403]
2014-10-16 21:04:11 +02:00
* core: Fix a hang that can occur with enough resources. [GH-410]
* core: Config validation will not error if the field is being
computed so the value is still unknown.
* core: If a resource fails to create and has provisioners, it is
marked as tainted. [GH-434]
* core: Set types are validated to be sets. [GH-413]
* core: String types are validated properly. [GH-460]
* core: Fix crash case when destroying with tainted resources. [GH-412]
* core: Don't execute provisioners in some cases on destroy.
* core: Inherited provider configurations will be properly interpolated. [GH-418]
2014-10-21 03:46:32 +02:00
* core: Refresh works properly if there are outputs that depend on resources
that aren't yet created. [GH-483]
* providers/aws: Refresh of launch configs and autoscale groups load
the correct data and don't incorrectly recreate themselves. [GH-425]
* providers/aws: Fix case where ELB would incorrectly plan to modify
listeners (with the same data) in some cases.
2014-10-18 10:52:08 +02:00
* providers/aws: Retry destroying internet gateway for some amount of time
if there is a dependency violation since it is probably just eventual
consistency (public facing resources being destroyed). [GH-447]
* providers/aws: Retry deleting security groups for some amount of time
if there is a dependency violation since it is probably just eventual
consistency. [GH-436]
* providers/aws: Retry deleting subnet for some amount of time if there is a
dependency violation since probably asynchronous destroy events take
2014-10-18 17:29:21 +02:00
place still. [GH-449]
* providers/aws: Drain autoscale groups before deleting. [GH-435]
* providers/aws: Fix crash case if launch config is manually deleted. [GH-421]
* providers/aws: Disassociate EIP before destroying.
* providers/aws: ELB treats subnets as a set.
* providers/aws: Fix case where in a destroy/create tags weren't reapplied. [GH-464]
* providers/aws: Fix incorrect/erroneous apply cases around security group
rules. [GH-457]
2014-10-21 00:36:14 +02:00
* providers/consul: Fix regression where `key` param changed to `keys. [GH-475]
2014-10-16 05:27:58 +02:00
2014-10-14 21:23:47 +02:00
## 0.3.0 (October 14, 2014)
2014-09-10 00:29:54 +02:00
2014-09-26 19:13:49 +02:00
FEATURES:
* **Modules**: Configuration can now be modularized. Modules can live on
GitHub, BitBucket, Git/Hg repos, HTTP URLs, and file paths. Terraform
automatically downloads/updates modules for you on request.
2014-09-27 21:32:25 +02:00
* **New Command: `init`**. This command initializes a Terraform configuration
from an existing Terraform module (also new in 0.3).
2014-10-01 07:16:28 +02:00
* **New Command: `destroy`**. This command destroys infrastructure
created with `apply`.
2014-09-29 23:13:46 +02:00
* Terraform will ask for user input to fill in required variables and
provider configurations if they aren't set.
2014-09-30 01:02:06 +02:00
* `terraform apply MODULE` can be used as a shorthand to quickly build
infrastructure from a module.
2014-09-26 19:13:49 +02:00
* The state file format is now JSON rather than binary. This allows for
easier machine and human read/write. Old binary state files will be
automatically upgraded.
2014-09-30 22:22:01 +02:00
* You can now specify `create_before_destroy` as an option for replacement
so that new resources are created before the old ones are destroyed.
2014-10-03 02:35:56 +02:00
* The `count` metaparameter can now contain interpolations (such as
variables).
2014-10-03 07:23:44 +02:00
* The current index for a resource with a `count` set can be interpolated
using `${count.index}`.
2014-10-08 06:27:02 +02:00
* Various paths can be interpolated with the `path.X` variables. For example,
the path to the current module can be interpolated using `${path.module}`.
2014-09-26 19:13:49 +02:00
2014-09-10 06:18:02 +02:00
IMPROVEMENTS:
2014-10-01 00:38:04 +02:00
* config: Trailing commas are now allowed for the final elements of lists.
2014-09-27 21:36:55 +02:00
* core: Plugins are loaded from `~/.terraform.d/plugins` (Unix) or
`%USERDATA%/terraform.d/plugins` (Windows).
* command/show: With no arguments, it will show the default state. [GH-349]
2014-09-10 06:18:02 +02:00
* helper/schema: Can now have default values. [GH-245]
2014-10-09 19:50:52 +02:00
* providers/aws: Tag support for most resources.
2014-09-26 19:13:49 +02:00
* providers/aws: New resource `db_subnet_group`. [GH-295]
* providers/aws: Add `map_public_ip_on_launch` for subnets. [GH-285]
2014-09-27 21:43:43 +02:00
* providers/aws: Add `iam_instance_profile` for instances. [GH-319]
* providers/aws: Add `internal` option for ELBs. [GH-303]
* providers/aws: Add `ssl_certificate_id` for ELB listeners. [GH-350]
* providers/aws: Add `self` option for security groups for ingress
rules with self as source. [GH-303]
2014-10-08 19:54:34 +02:00
* providers/aws: Add `iam_instance_profile` option to
`aws_launch_configuration`. [GH-371]
2014-10-11 01:26:23 +02:00
* providers/aws: Non-destructive update of `desired_capacity` for
autoscale groups.
* providers/aws: Add `main_route_table_id` attribute to VPCs. [GH-193]
2014-10-14 21:22:01 +02:00
* providers/consul: Support tokens. [GH-396]
2014-09-27 21:42:46 +02:00
* providers/google: Support `target_tags` for firewalls. [GH-324]
2014-10-08 19:32:18 +02:00
* providers/google: `google_compute_instance` supports `can_ip_forward` [GH-375]
2014-10-08 19:51:33 +02:00
* providers/google: `google_compute_disk` supports `type` to support disks
such as SSDs. [GH-351]
2014-10-06 08:08:33 +02:00
* provisioners/local-exec: Output from command is shown in CLI output. [GH-311]
2014-10-06 08:25:33 +02:00
* provisioners/remote-exec: Output from command is shown in CLI output. [GH-311]
2014-09-10 06:18:02 +02:00
BUG FIXES:
2014-09-10 00:29:54 +02:00
* core: Providers are validated even without a `provider` block. [GH-284]
* core: In the case of error, walk all non-dependent trees.
2014-09-26 07:39:31 +02:00
* core: Plugin loading from CWD works properly.
2014-10-10 19:21:30 +02:00
* core: Fix many edge cases surrounding the `count` meta-parameter.
2014-10-11 01:09:34 +02:00
* core: Strings in the configuration can escape double-quotes with the
standard `\"` syntax.
* core: Error parsing CLI config will show properly. [GH-288]
* core: More than one Ctrl-C will exit immediately.
2014-09-16 16:45:09 +02:00
* providers/aws: autoscaling_group can be launched into a vpc [GH-259]
2014-09-30 22:28:45 +02:00
* providers/aws: not an error when RDS instance is deleted manually. [GH-307]
* providers/aws: Retry deleting subnet for some time while AWS eventually
destroys dependencies. [GH-357]
* providers/aws: More robust destroy for route53 records. [GH-342]
2014-10-10 19:21:30 +02:00
* providers/aws: ELB generates much more correct plans without extranneous
data.
* providers/aws: ELB works properly with dynamically changing
count of instances.
* providers/aws: Terraform can handle ELBs deleted manually. [GH-304]
2014-10-11 20:02:40 +02:00
* providers/aws: Report errors properly if RDS fails to delete. [GH-310]
* providers/aws: Wait for launch configuration to exist after creation
(AWS eventual consistency) [GH-302]
2014-09-10 00:29:54 +02:00
2014-09-09 23:43:36 +02:00
## 0.2.2 (September 9, 2014)
2014-08-31 18:48:22 +02:00
IMPROVEMENTS:
2014-08-31 18:48:22 +02:00
2014-09-08 01:03:48 +02:00
* providers/amazon: Add `ebs_optimized` flag. [GH-260]
* providers/digitalocean: Handle 404 on delete
2014-09-08 01:10:56 +02:00
* providers/digitalocean: Add `user_data` argument for creating droplets
* providers/google: Disks can be marked `auto_delete`. [GH-254]
BUG FIXES:
2014-09-08 01:20:06 +02:00
* core: Fix certain syntax of configuration that could cause hang. [GH-261]
* core: `-no-color` flag properly disables color. [GH-250]
* core: "~" is expanded in `-var-file` flags. [GH-273]
* core: Errors with tfvars are shown in console. [GH-269]
* core: Interpolation function calls with more than two args parse. [GH-282]
* providers/aws: Refreshing EIP from pre-0.2 state file won't error. [GH-258]
* providers/aws: Creating EIP without an instance/network won't fail.
* providers/aws: Refreshing EIP manually deleted works.
* providers/aws: Retry EIP delete to allow AWS eventual consistency to
detect it isn't attached. [GH-276]
* providers/digitalocean: Handle situations when resource was destroyed
manually. [GH-279]
2014-09-09 22:42:56 +02:00
* providers/digitalocean: Fix a couple scenarios where the diff was
incorrect (and therefore the execution as well).
2014-09-08 01:10:56 +02:00
* providers/google: Attaching a disk source (not an image) works
properly. [GH-254]
2014-08-31 18:48:22 +02:00
2014-08-31 18:13:05 +02:00
## 0.2.1 (August 31, 2014)
2014-08-29 01:47:35 +02:00
IMPROVEMENTS:
* core: Plugins are automatically discovered in the executable directory
or pwd if named properly. [GH-190]
2014-08-29 20:39:54 +02:00
* providers/mailgun: domain records are now saved to state
2014-08-29 01:57:28 +02:00
BUG FIXES:
2014-08-29 01:47:35 +02:00
2014-08-29 01:57:28 +02:00
* core: Configuration parses when identifier and '=' have no space. [GH-243]
* core: `depends_on` with `count` generates the proper graph. [GH-244]
2014-08-31 02:25:34 +02:00
* core: Depending on a computed variable of a list type generates a
plan without failure. i.e. `${type.name.foos.0.bar}` where `foos`
is computed. [GH-247]
* providers/aws: Route53 destroys in parallel work properly. [GH-183]
2014-08-29 01:47:35 +02:00
2014-08-28 18:54:43 +02:00
## 0.2.0 (August 28, 2014)
2014-08-05 23:44:36 +02:00
2014-08-19 19:02:17 +02:00
BACKWARDS INCOMPATIBILITIES:
* We've replaced the configuration language in use from a C library to
a pure-Go reimplementation. In the process, we removed some features
of the language since it was too flexible:
* Semicolons are no longer valid at the end of lines
* Keys cannot be double-quoted strings: `"foo" = "bar"` is no longer
valid.
2014-08-19 22:18:25 +02:00
* JSON style maps `{ "foo": "bar" }` are no longer valid outside of JSON.
Maps must be in the format of `{ foo = "bar" }` (like other objects
in the config)
2014-08-28 00:25:54 +02:00
* Heroku apps now require (will not validate without) `region` and
`name` due to an upstream API change. [GH-239]
2014-08-19 19:02:17 +02:00
2014-08-19 22:14:45 +02:00
FEATURES:
2014-08-26 23:54:41 +02:00
* **New Provider: `google`**: Manage Google Compute instances, disks,
firewalls, and more.
* **New Provider: `mailgun`**: Manage mailgun domains.
2014-08-19 22:14:45 +02:00
* **New Function: `concat`**: Concatenate multiple strings together.
Example: `concat(var.region, "-", var.channel)`.
2014-08-19 19:59:14 +02:00
IMPROVEMENTS:
* core: "~/.terraformrc" (Unix) or "%APPDATA%/terraform.rc" (Windows)
can be used to configure custom providers and provisioners. [GH-192]
* providers/aws: EIPs now expose `allocation_id` and `public_ip`
attributes.
* providers/aws: Security group rules can be updated without a
destroy/create.
* providers/aws: You can enable and disable dns settings for VPCs. [GH-172]
2014-08-22 02:17:50 +02:00
* providers/aws: Can specify a private IP address for `aws_instance` [GH-217]
2014-08-19 19:59:14 +02:00
BUG FIXES:
2014-08-05 23:44:36 +02:00
* core: Variables are validated to not contain interpolations. [GH-180]
2014-08-19 21:44:26 +02:00
* core: Key files for provisioning can now contain `~` and will be expanded
to the user's home directory. [GH-179]
2014-08-21 20:33:52 +02:00
* core: The `file()` function can load files in sub-directories. [GH-213]
2014-08-21 23:04:11 +02:00
* core: Fix issue where some JSON structures didn't map properly into
Terraform structures. [GH-177]
* core: Resources with only `file()` calls will interpolate. [GH-159]
* core: Variables work in block names. [GH-234]
* core: Plugins are searched for in the same directory as the executable
before the PATH. [GH-157]
* command/apply: "tfvars" file no longer interferes with plan apply. [GH-153]
* providers/aws: Fix issues around failing to read EIPs. [GH-122]
* providers/aws: Autoscaling groups now register and export load
balancers. [GH-207]
* providers/aws: Ingress results are treated as a set, so order doesn't
matter anymore. [GH-87]
2014-08-22 21:23:02 +02:00
* providers/aws: Instance security groups treated as a set [GH-194]
* providers/aws: Retry Route53 requests if operation failed because another
operation is in progress [GH-183]
2014-08-23 02:20:06 +02:00
* providers/aws: Route53 records with multiple record values work. [GH-221]
2014-08-28 00:46:25 +02:00
* providers/aws: Changing AMI doesn't result in errors anymore. [GH-196]
* providers/heroku: If you delete the `config_vars` block, config vars
are properly nuked.
* providers/heroku: Domains and drains are deleted before the app.
2014-08-28 00:25:54 +02:00
* providers/heroku: Moved from the client library bgentry/heroku-go to
cyberdelia/heroku-go [GH-239].
* providers/heroku: Plans without a specific plan name for
heroku\_addon work. [GH-198]
2014-08-05 23:44:36 +02:00
2014-08-19 19:02:17 +02:00
PLUGIN CHANGES:
* **New Package:** `helper/schema`. This introduces a high-level framework
for easily writing new providers and resources. The Heroku provider has
been converted to this as an example.
2014-08-05 23:18:52 +02:00
## 0.1.1 (August 5, 2014)
2014-07-30 18:50:21 +02:00
FEATURES:
* providers/heroku: Now supports creating Heroku Drains [GH-97]
IMPROVEMENTS:
* providers/aws: Launch configurations accept user data [GH-94]
* providers/aws: Regions are now validated [GH-96]
* providers/aws: ELB now supports health check configurations [GH-109]
BUG FIXES:
* core: Default variable file "terraform.tfvars" is auto-loaded. [GH-59]
* core: Multi-variables (`foo.*.bar`) work even when `count = 1`. [GH-115]
2014-08-05 19:29:01 +02:00
* core: `file()` function can have string literal arg [GH-145]
2014-07-31 21:20:15 +02:00
* providers/cloudflare: Include the proper bins so the cloudflare
provider is compiled
2014-07-30 18:50:21 +02:00
* providers/aws: Engine version for RDS now properly set [GH-118]
* providers/aws: Security groups now depend on each other and
2014-07-31 22:13:24 +02:00
* providers/aws: DB instances now wait for destroys, have proper
dependencies and allow passing skip_final_snapshot
2014-07-30 18:50:21 +02:00
* providers/aws: Add associate_public_ip_address as an attribute on
the aws_instance resource [GH-85]
2014-07-30 18:50:21 +02:00
* providers/aws: Fix cidr blocks being updated [GH-65, GH-85]
2014-07-30 23:17:47 +02:00
* providers/aws: Description is now required for security groups
2014-07-30 18:50:21 +02:00
* providers/digitalocean: Private IP addresses are now a separate
attribute
* provisioner/all: If an SSH key is given with a password, a better
error message is shown. [GH-73]
2014-07-30 18:50:21 +02:00
2014-07-29 07:56:45 +02:00
## 0.1.0 (July 28, 2014)
2014-07-28 19:53:22 +02:00
* Initial release
2015-03-27 22:44:29 +01:00