github.com/nicgrayson/terraform@v0.4.3-0.20150415203910-c4de50829380/CHANGELOG.md (about) 1 ## 0.5.0 (unreleased) 2 3 IMPROVEMENTS: 4 5 * core: Improve error message on diff mismatch [GH-1501] 6 * **New config function: `length`** - Get the length of a string or a list. 7 Useful in conjunction with `split`. [GH-1495] 8 9 BUG FIXES: 10 11 * core: math on arbitrary variables works if first operand isn't a 12 numeric primitive. [GH-1381] 13 * core: avoid unnecessary cycles by pruning tainted destroys from 14 graph if there are no tainted resources [GH-1475] 15 * core: fix issue where destroy nodes weren't pruned in specific 16 edge cases around matching prefixes, which could cause cycles [GH-1527] 17 * core: fix issue causing diff mismatch errors in certain scenarios during 18 resource replacement [GH-1515] 19 * command: remote states with uppercase types work [GH-1356] 20 * provider/aws: launch configuration ID set after create success [GH-1518] 21 * provider/openstack: region config is not required [GH-1441] 22 23 ## 0.4.2 (April 10, 2015) 24 25 BUG FIXES: 26 27 * core: refresh won't remove outputs from state file [GH-1369] 28 * core: clarify "unknown variable" error [GH-1480] 29 * core: properly merge parent provider configs when asking for input 30 * provider/aws: fix panic possibility if RDS DB name is empty [GH-1460] 31 * provider/aws: fix issue detecting credentials for some resources [GH-1470] 32 * provider/google: fix issue causing unresolvable diffs when using legacy 33 `network` field on `google_compute_instance` [GH-1458] 34 35 ## 0.4.1 (April 9, 2015) 36 37 IMPROVEMENTS: 38 39 * provider/aws: Route 53 records can now update `ttl` and `records` attributes 40 without destroying/creating the record [GH-1396] 41 * provider/aws: Support changing additional attributes of RDS databases 42 without forcing a new resource [GH-1382] 43 44 BUG FIXES: 45 46 * core: module paths in ".terraform" are consistent across different 47 systems so copying your ".terraform" folder works. [GH-1418] 48 * core: don't validate providers too early when nested in a module [GH-1380] 49 * core: fix race condition in `count.index` interpolation [GH-1454] 50 * command/push: don't ask for input if terraform.tfvars is present 51 * command/remote-config: remove spurrious error "nil" when initializing 52 remote state on a new configuration. [GH-1392] 53 * provider/aws: Fix issue with Route 53 and pre-existing Hosted Zones [GH-1415] 54 * provider/aws: Fix refresh issue in Route 53 hosted zone [GH-1384] 55 * provider/aws: Fix issue when changing map-public-ip in Subnets #1234 56 * provider/aws: Fix issue finding db subnets [GH-1377] 57 * provider/aws: Fix issues with `*_block_device` attributes on instances and 58 launch configs creating unresolvable diffs when certain optional 59 parameters were omitted from the config [GH-1445] 60 * provider/aws: Fix issue with `aws_launch_configuration` causing an 61 unnecessary diff for pre-0.4 environments [GH-1371] 62 * provider/aws: Fix several related issues with `aws_launch_configuration` 63 causing unresolvable diffs [GH-1444] 64 * provider/aws: Fix issue preventing launch configurations from being valid 65 in EC2 Classic [GH-1412] 66 * provider/aws: Fix issue in updating Route 53 records on refresh/read. [GH-1430] 67 * provider/docker: Don't ask for `cert_path` input on every run [GH-1432] 68 * provider/google: Fix issue causing unresolvable diff on instances with 69 `network_interface` [GH-1427] 70 71 ## 0.4.0 (April 2, 2015) 72 73 BACKWARDS INCOMPATIBILITIES: 74 75 * Commands `terraform push` and `terraform pull` are now nested under 76 the `remote` command: `terraform remote push` and `terraform remote pull`. 77 The old `remote` functionality is now at `terraform remote config`. This 78 consolidates all remote state management under one command. 79 * Period-prefixed configuration files are now ignored. This might break 80 existing Terraform configurations if you had period-prefixed files. 81 * The `block_device` attribute of `aws_instance` has been removed in favor 82 of three more specific attributes to specify block device mappings: 83 `root_block_device`, `ebs_block_device`, and `ephemeral_block_device`. 84 Configurations using the old attribute will generate a validation error 85 indicating that they must be updated to use the new fields [GH-1045]. 86 87 FEATURES: 88 89 * **New provider: `dme` (DNSMadeEasy)** [GH-855] 90 * **New provider: `docker` (Docker)** - Manage container lifecycle 91 using the standard Docker API. [GH-855] 92 * **New provider: `openstack` (OpenStack)** - Interact with the many resources 93 provided by OpenStack. [GH-924] 94 * **New feature: `terraform_remote_state` resource** - Reference remote 95 states from other Terraform runs to use Terraform outputs as inputs 96 into another Terraform run. 97 * **New command: `taint`** - Manually mark a resource as tainted, causing 98 a destroy and recreate on the next plan/apply. 99 * **New resource: `aws_vpn_gateway`** [GH-1137] 100 * **New resource: `aws_elastic_network_interfaces`** [GH-1149] 101 * **Self-variables** can be used to reference the current resource's 102 attributes within a provisioner. Ex. `${self.private_ip_address}` [GH-1033] 103 * **Continuous state** saving during `terraform apply`. The state file is 104 continuously updated as apply is running, meaning that the state is 105 less likely to become corrupt in a catastrophic case: terraform panic 106 or system killing Terraform. 107 * **Math operations** in interpolations. You can now do things like 108 `${count.index+1}`. [GH-1068] 109 * **New AWS SDK:** Move to `aws-sdk-go` (hashicorp/aws-sdk-go), 110 a fork of the offical `awslabs` repo. We forked for stability while 111 `awslabs` refactored the library, and will move back to the officially 112 supported version in the next release. 113 114 IMPROVEMENTS: 115 116 * **New config function: `format`** - Format a string using `sprintf` 117 format. [GH-1096] 118 * **New config function: `replace`** - Search and replace string values. 119 Search can be a regular expression. See documentation for more 120 info. [GH-1029] 121 * **New config function: `split`** - Split a value based on a delimiter. 122 This is useful for faking lists as parameters to modules. 123 * **New resource: `digitalocean_ssh_key`** [GH-1074] 124 * config: Expand `~` with homedir in `file()` paths [GH-1338] 125 * core: The serial of the state is only updated if there is an actual 126 change. This will lower the amount of state changing on things 127 like refresh. 128 * core: Autoload `terraform.tfvars.json` as well as `terraform.tfvars` [GH-1030] 129 * core: `.tf` files that start with a period are now ignored. [GH-1227] 130 * command/remote-config: After enabling remote state, a `pull` is 131 automatically done initially. 132 * providers/google: Add `size` option to disk blocks for instances. [GH-1284] 133 * providers/aws: Improve support for tagging resources. 134 * providers/aws: Add a short syntax for Route 53 Record names, e.g. 135 `www` instead of `www.example.com`. 136 * providers/aws: Improve dependency violation error handling, when deleting 137 Internet Gateways or Auto Scaling groups [GH-1325]. 138 * provider/aws: Add non-destructive updates to AWS RDS. You can now upgrade 139 `egine_version`, `parameter_group_name`, and `multi_az` without forcing 140 a new database to be created.[GH-1341] 141 * providers/aws: Full support for block device mappings on instances and 142 launch configurations [GH-1045, GH-1364] 143 * provisioners/remote-exec: SSH agent support. [GH-1208] 144 145 BUG FIXES: 146 147 * core: module outputs can be used as inputs to other modules [GH-822] 148 * core: Self-referencing splat variables are no longer allowed in 149 provisioners. [GH-795][GH-868] 150 * core: Validate that `depends_on` doesn't contain interpolations. [GH-1015] 151 * core: Module inputs can be non-strings. [GH-819] 152 * core: Fix invalid plan that resulted in "diffs don't match" error when 153 a computed attribute was used as part of a set parameter. [GH-1073] 154 * core: Fix edge case where state containing both "resource" and 155 "resource.0" would ignore the latter completely. [GH-1086] 156 * core: Modules with a source of a relative file path moving up 157 directories work properly, i.e. "../a" [GH-1232] 158 * providers/aws: manually deleted VPC removes it from the state 159 * providers/aws: `source_dest_check` regression fixed (now works). [GH-1020] 160 * providers/aws: Longer wait times for DB instances. 161 * providers/aws: Longer wait times for route53 records (30 mins). [GH-1164] 162 * providers/aws: Fix support for TXT records in Route 53. [GH-1213] 163 * providers/aws: Fix support for wildcard records in Route 53. [GH-1222] 164 * providers/aws: Fix issue with ignoring the 'self' attribute of a 165 Security Group rule. [GH-1223] 166 * providers/aws: Fix issue with `sql_mode` in RDS parameter group always 167 causing an update. [GH-1225] 168 * providers/aws: Fix dependency violation with subnets and security groups 169 [GH-1252] 170 * providers/aws: Fix issue with refreshing `db_subnet_groups` causing an error 171 instead of updating state [GH-1254] 172 * providers/aws: Prevent empty string to be used as default 173 `health_check_type` [GH-1052] 174 * providers/aws: Add tags on AWS IG creation, not just on update [GH-1176] 175 * providers/digitalocean: Waits until droplet is ready to be destroyed [GH-1057] 176 * providers/digitalocean: More lenient about 404's while waiting [GH-1062] 177 * providers/digitalocean: FQDN for domain records in CNAME, MX, NS, etc. 178 Also fixes invalid updates in plans. [GH-863] 179 * providers/google: Network data in state was not being stored. [GH-1095] 180 * providers/heroku: Fix panic when config vars block was empty. [GH-1211] 181 182 PLUGIN CHANGES: 183 184 * New `helper/schema` fields for resources: `Deprecated` and `Removed` allow 185 plugins to generate warning or error messages when a given attribute is used. 186 187 ## 0.3.7 (February 19, 2015) 188 189 IMPROVEMENTS: 190 191 * **New resources: `google_compute_forwarding_rule`, `google_compute_http_health_check`, 192 and `google_compute_target_pool`** - Together these provide network-level 193 load balancing. [GH-588] 194 * **New resource: `aws_main_route_table_association`** - Manage the main routing table 195 of a VPC. [GH-918] 196 * **New resource: `aws_vpc_peering_connection`** [GH-963] 197 * core: Formalized the syntax of interpolations and documented it 198 very heavily. 199 * core: Strings in interpolations can now contain further interpolations, 200 e.g.: `foo ${bar("${baz}")}`. 201 * provider/aws: Internet gateway supports tags [GH-720] 202 * provider/aws: Support the more standard environmental variable names 203 for access key and secret keys. [GH-851] 204 * provider/aws: The `aws_db_instance` resource no longer requires both 205 `final_snapshot_identifier` and `skip_final_snapshot`; the presence or 206 absence of the former now implies the latter. [GH-874] 207 * provider/aws: Avoid unnecessary update of `aws_subnet` when 208 `map_public_ip_on_launch` is not specified in config. [GH-898] 209 * provider/aws: Add `apply_method` to `aws_db_parameter_group` [GH-897] 210 * provider/aws: Add `storage_type` to `aws_db_instance` [GH-896] 211 * provider/aws: ELB can update listeners without requiring new. [GH-721] 212 * provider/aws: Security group support egress rules. [GH-856] 213 * provider/aws: Route table supports VPC peering connection on route. [GH-963] 214 * provider/aws: Add `root_block_device` to `aws_db_instance` [GH-998] 215 * provider/google: Remove "client secrets file", as it's no longer necessary 216 for API authentication [GH-884]. 217 * provider/google: Expose `self_link` on `google_compute_instance` [GH-906] 218 219 BUG FIXES: 220 221 * core: Fixing use of remote state with plan files. [GH-741] 222 * core: Fix a panic case when certain invalid types were used in 223 the configuration. [GH-691] 224 * core: Escape characters `\"`, `\n`, and `\\` now work in interpolations. 225 * core: Fix crash that could occur when there are exactly zero providers 226 installed on a system. [GH-786] 227 * core: JSON TF configurations can configure provisioners. [GH-807] 228 * core: Sort `depends_on` in state to prevent unnecessary file changes. [GH-928] 229 * core: State containing the zero value won't cause a diff with the 230 lack of a value. [GH-952] 231 * core: If a set type becomes empty, the state will be properly updated 232 to remove it. [GH-952] 233 * core: Bare "splat" variables are not allowed in provisioners. [GH-636] 234 * core: Invalid configuration keys to sub-resources are now errors. [GH-740] 235 * command/apply: Won't try to initialize modules in some cases when 236 no arguments are given. [GH-780] 237 * command/apply: Fix regression where user variables weren't asked [GH-736] 238 * helper/hashcode: Update `hash.String()` to always return a positive index. 239 Fixes issue where specific strings would convert to a negative index 240 and be omitted when creating Route53 records. [GH-967] 241 * provider/aws: Automatically suffix the Route53 zone name on record names. [GH-312] 242 * provider/aws: Instance should ignore root EBS devices. [GH-877] 243 * provider/aws: Fix `aws_db_instance` to not recreate each time. [GH-874] 244 * provider/aws: ASG termination policies are synced with remote state. [GH-923] 245 * provider/aws: ASG launch configuration setting can now be updated in-place. [GH-904] 246 * provider/aws: No read error when subnet is manually deleted. [GH-889] 247 * provider/aws: Tags with empty values (empty string) are properly 248 managed. [GH-968] 249 * provider/aws: Fix case where route table would delete its routes 250 on an unrelated change. [GH-990] 251 * provider/google: Fix bug preventing instances with metadata from being 252 created [GH-884]. 253 254 PLUGIN CHANGES: 255 256 * New `helper/schema` type: `TypeFloat` [GH-594] 257 * New `helper/schema` field for resources: `Exists` must point to a function 258 to check for the existence of a resource. This is used to properly 259 handle the case where the resource was manually deleted. [GH-766] 260 * There is a semantic change in `GetOk` where it will return `true` if 261 there is any value in the diff that is _non-zero_. Before, it would 262 return true only if there was a value in the diff. 263 264 ## 0.3.6 (January 6, 2015) 265 266 FEATURES: 267 268 * **New provider: `cloudstack`** 269 270 IMPROVEMENTS: 271 272 * **New resource: `aws_key_pair`** - Import a public key into AWS. [GH-695] 273 * **New resource: `heroku_cert`** - Manage Heroku app certs. 274 * provider/aws: Support `eu-central-1`, `cn-north-1`, and GovCloud. [GH-525] 275 * provider/aws: `route_table` can have tags. [GH-648] 276 * provider/google: Support Ubuntu images. [GH-724] 277 * provider/google: Support for service accounts. [GH-725] 278 279 BUG FIXES: 280 281 * core: temporary/hidden files that look like Terraform configurations 282 are no longer loaded. [GH-548] 283 * core: Set types in resources now result in deterministic states, 284 resulting in cleaner plans. [GH-663] 285 * core: fix issue where "diff was not the same" would come up with 286 diffing lists. [GH-661] 287 * core: fix crash where module inputs weren't strings, and add more 288 validation around invalid types here. [GH-624] 289 * core: fix error when using a computed module output as an input to 290 another module. [GH-659] 291 * core: map overrides in "terraform.tfvars" no longer result in a syntax 292 error. [GH-647] 293 * core: Colon character works in interpolation [GH-700] 294 * provider/aws: Fix crash case when internet gateway is not attached 295 to any VPC. [GH-664] 296 * provider/aws: `vpc_id` is no longer required. [GH-667] 297 * provider/aws: `availability_zones` on ELB will contain more than one 298 AZ if it is set as such. [GH-682] 299 * provider/aws: More fields are marked as "computed" properly, resulting 300 in more accurate diffs for AWS instances. [GH-712] 301 * provider/aws: Fix panic case by using the wrong type when setting 302 volume size for AWS instances. [GH-712] 303 * provider/aws: route table ignores routes with 'EnableVgwRoutePropagation' 304 origin since those come from gateways. [GH-722] 305 * provider/aws: Default network ACL ID and default security group ID 306 support for `aws_vpc`. [GH-704] 307 * provider/aws: Tags are not marked as computed. This introduces another 308 issue with not detecting external tags, but this will be fixed in 309 the future. [GH-730] 310 311 ## 0.3.5 (December 9, 2014) 312 313 FEATURES: 314 315 * **Remote State**: State files can now be stored remotely via HTTP, 316 Consul, or HashiCorp's Atlas. 317 * **New Provider: `atlas`**: Retrieve artifacts for deployment from 318 HashiCorp's Atlas service. 319 * New `element()` function to index into arrays 320 321 IMPROVEMENTS: 322 323 * provider/aws: Support tenancy for aws\_instance 324 * provider/aws: Support block devices for aws\_instance 325 * provider/aws: Support virtual\_name on block device 326 * provider/aws: Improve RDS reliability (more grace time) 327 * provider/aws: Added aws\_db\_parameter\_group resource 328 * provider/aws: Added tag support to aws\_subnet 329 * provider/aws: Routes in RouteTable are optional 330 * provider/aws: associate\_public\_ip\_address on aws\_launch\_configuration 331 * provider/aws: Added aws\_network\_acl 332 * provider/aws: Ingress rules in security groups are optional 333 * provider/aws: Support termination policy for ASG 334 * provider/digitalocean: Improved droplet size compatibility 335 336 BUG FIXES: 337 338 * core: Fixed issue causing double delete. [GH-555] 339 * core: Fixed issue with create-before-destroy not being respected in 340 some circumstances. 341 * core: Fixing issue with count expansion with non-homogenous instance 342 plans. 343 * core: Fix issue with referencing resource variables from resources 344 that don't exist yet within resources that do exist, or modules. 345 * core: Fixing depedency handling for modules 346 * core: Fixing output handling [GH-474] 347 * core: Fixing count interpolation in modules 348 * core: Fixing multi-var without module state 349 * core: Fixing HCL variable declaration 350 * core: Fixing resource interpolation for without state 351 * core: Fixing handling of computed maps 352 * command/init: Fixing recursion issue [GH-518] 353 * command: Validate config before requesting input [GH-602] 354 * build: Fixing GOPATHs with spaces 355 356 MISC: 357 358 * provider/aws: Upgraded to helper.Schema 359 * provider/heroku: Upgraded to helper.Schema 360 * provider/mailgun: Upgraded to helper.Schema 361 * provider/dnsimple: Upgraded to helper.Schema 362 * provider/cloudflare: Upgraded to helper.Schema 363 * provider/digitalocean: Upgraded to helper.Schema 364 * provider/google: Upgraded to helper.Schema 365 366 ## 0.3.1 (October 21, 2014) 367 368 IMPROVEMENTS: 369 370 * providers/aws: Support tags for security groups. 371 * providers/google: Add "external\_address" to network attributes [GH-454] 372 * providers/google: External address is used as default connection host. [GH-454] 373 * providers/heroku: Support `locked` and `personal` booleans on organization 374 settings. [GH-406] 375 376 BUG FIXES: 377 378 * core: Remove panic case when applying with a plan that generates no 379 new state. [GH-403] 380 * core: Fix a hang that can occur with enough resources. [GH-410] 381 * core: Config validation will not error if the field is being 382 computed so the value is still unknown. 383 * core: If a resource fails to create and has provisioners, it is 384 marked as tainted. [GH-434] 385 * core: Set types are validated to be sets. [GH-413] 386 * core: String types are validated properly. [GH-460] 387 * core: Fix crash case when destroying with tainted resources. [GH-412] 388 * core: Don't execute provisioners in some cases on destroy. 389 * core: Inherited provider configurations will be properly interpolated. [GH-418] 390 * core: Refresh works properly if there are outputs that depend on resources 391 that aren't yet created. [GH-483] 392 * providers/aws: Refresh of launch configs and autoscale groups load 393 the correct data and don't incorrectly recreate themselves. [GH-425] 394 * providers/aws: Fix case where ELB would incorrectly plan to modify 395 listeners (with the same data) in some cases. 396 * providers/aws: Retry destroying internet gateway for some amount of time 397 if there is a dependency violation since it is probably just eventual 398 consistency (public facing resources being destroyed). [GH-447] 399 * providers/aws: Retry deleting security groups for some amount of time 400 if there is a dependency violation since it is probably just eventual 401 consistency. [GH-436] 402 * providers/aws: Retry deleting subnet for some amount of time if there is a 403 dependency violation since probably asynchronous destroy events take 404 place still. [GH-449] 405 * providers/aws: Drain autoscale groups before deleting. [GH-435] 406 * providers/aws: Fix crash case if launch config is manually deleted. [GH-421] 407 * providers/aws: Disassociate EIP before destroying. 408 * providers/aws: ELB treats subnets as a set. 409 * providers/aws: Fix case where in a destroy/create tags weren't reapplied. [GH-464] 410 * providers/aws: Fix incorrect/erroneous apply cases around security group 411 rules. [GH-457] 412 * providers/consul: Fix regression where `key` param changed to `keys. [GH-475] 413 414 ## 0.3.0 (October 14, 2014) 415 416 FEATURES: 417 418 * **Modules**: Configuration can now be modularized. Modules can live on 419 GitHub, BitBucket, Git/Hg repos, HTTP URLs, and file paths. Terraform 420 automatically downloads/updates modules for you on request. 421 * **New Command: `init`**. This command initializes a Terraform configuration 422 from an existing Terraform module (also new in 0.3). 423 * **New Command: `destroy`**. This command destroys infrastructure 424 created with `apply`. 425 * Terraform will ask for user input to fill in required variables and 426 provider configurations if they aren't set. 427 * `terraform apply MODULE` can be used as a shorthand to quickly build 428 infrastructure from a module. 429 * The state file format is now JSON rather than binary. This allows for 430 easier machine and human read/write. Old binary state files will be 431 automatically upgraded. 432 * You can now specify `create_before_destroy` as an option for replacement 433 so that new resources are created before the old ones are destroyed. 434 * The `count` metaparameter can now contain interpolations (such as 435 variables). 436 * The current index for a resource with a `count` set can be interpolated 437 using `${count.index}`. 438 * Various paths can be interpolated with the `path.X` variables. For example, 439 the path to the current module can be interpolated using `${path.module}`. 440 441 IMPROVEMENTS: 442 443 * config: Trailing commas are now allowed for the final elements of lists. 444 * core: Plugins are loaded from `~/.terraform.d/plugins` (Unix) or 445 `%USERDATA%/terraform.d/plugins` (Windows). 446 * command/show: With no arguments, it will show the default state. [GH-349] 447 * helper/schema: Can now have default values. [GH-245] 448 * providers/aws: Tag support for most resources. 449 * providers/aws: New resource `db_subnet_group`. [GH-295] 450 * providers/aws: Add `map_public_ip_on_launch` for subnets. [GH-285] 451 * providers/aws: Add `iam_instance_profile` for instances. [GH-319] 452 * providers/aws: Add `internal` option for ELBs. [GH-303] 453 * providers/aws: Add `ssl_certificate_id` for ELB listeners. [GH-350] 454 * providers/aws: Add `self` option for security groups for ingress 455 rules with self as source. [GH-303] 456 * providers/aws: Add `iam_instance_profile` option to 457 `aws_launch_configuration`. [GH-371] 458 * providers/aws: Non-destructive update of `desired_capacity` for 459 autoscale groups. 460 * providers/aws: Add `main_route_table_id` attribute to VPCs. [GH-193] 461 * providers/consul: Support tokens. [GH-396] 462 * providers/google: Support `target_tags` for firewalls. [GH-324] 463 * providers/google: `google_compute_instance` supports `can_ip_forward` [GH-375] 464 * providers/google: `google_compute_disk` supports `type` to support disks 465 such as SSDs. [GH-351] 466 * provisioners/local-exec: Output from command is shown in CLI output. [GH-311] 467 * provisioners/remote-exec: Output from command is shown in CLI output. [GH-311] 468 469 BUG FIXES: 470 471 * core: Providers are validated even without a `provider` block. [GH-284] 472 * core: In the case of error, walk all non-dependent trees. 473 * core: Plugin loading from CWD works properly. 474 * core: Fix many edge cases surrounding the `count` meta-parameter. 475 * core: Strings in the configuration can escape double-quotes with the 476 standard `\"` syntax. 477 * core: Error parsing CLI config will show properly. [GH-288] 478 * core: More than one Ctrl-C will exit immediately. 479 * providers/aws: autoscaling_group can be launched into a vpc [GH-259] 480 * providers/aws: not an error when RDS instance is deleted manually. [GH-307] 481 * providers/aws: Retry deleting subnet for some time while AWS eventually 482 destroys dependencies. [GH-357] 483 * providers/aws: More robust destroy for route53 records. [GH-342] 484 * providers/aws: ELB generates much more correct plans without extranneous 485 data. 486 * providers/aws: ELB works properly with dynamically changing 487 count of instances. 488 * providers/aws: Terraform can handle ELBs deleted manually. [GH-304] 489 * providers/aws: Report errors properly if RDS fails to delete. [GH-310] 490 * providers/aws: Wait for launch configuration to exist after creation 491 (AWS eventual consistency) [GH-302] 492 493 ## 0.2.2 (September 9, 2014) 494 495 IMPROVEMENTS: 496 497 * providers/amazon: Add `ebs_optimized` flag. [GH-260] 498 * providers/digitalocean: Handle 404 on delete 499 * providers/digitalocean: Add `user_data` argument for creating droplets 500 * providers/google: Disks can be marked `auto_delete`. [GH-254] 501 502 BUG FIXES: 503 504 * core: Fix certain syntax of configuration that could cause hang. [GH-261] 505 * core: `-no-color` flag properly disables color. [GH-250] 506 * core: "~" is expanded in `-var-file` flags. [GH-273] 507 * core: Errors with tfvars are shown in console. [GH-269] 508 * core: Interpolation function calls with more than two args parse. [GH-282] 509 * providers/aws: Refreshing EIP from pre-0.2 state file won't error. [GH-258] 510 * providers/aws: Creating EIP without an instance/network won't fail. 511 * providers/aws: Refreshing EIP manually deleted works. 512 * providers/aws: Retry EIP delete to allow AWS eventual consistency to 513 detect it isn't attached. [GH-276] 514 * providers/digitalocean: Handle situations when resource was destroyed 515 manually. [GH-279] 516 * providers/digitalocean: Fix a couple scenarios where the diff was 517 incorrect (and therefore the execution as well). 518 * providers/google: Attaching a disk source (not an image) works 519 properly. [GH-254] 520 521 ## 0.2.1 (August 31, 2014) 522 523 IMPROVEMENTS: 524 525 * core: Plugins are automatically discovered in the executable directory 526 or pwd if named properly. [GH-190] 527 * providers/mailgun: domain records are now saved to state 528 529 BUG FIXES: 530 531 * core: Configuration parses when identifier and '=' have no space. [GH-243] 532 * core: `depends_on` with `count` generates the proper graph. [GH-244] 533 * core: Depending on a computed variable of a list type generates a 534 plan without failure. i.e. `${type.name.foos.0.bar}` where `foos` 535 is computed. [GH-247] 536 * providers/aws: Route53 destroys in parallel work properly. [GH-183] 537 538 ## 0.2.0 (August 28, 2014) 539 540 BACKWARDS INCOMPATIBILITIES: 541 542 * We've replaced the configuration language in use from a C library to 543 a pure-Go reimplementation. In the process, we removed some features 544 of the language since it was too flexible: 545 * Semicolons are no longer valid at the end of lines 546 * Keys cannot be double-quoted strings: `"foo" = "bar"` is no longer 547 valid. 548 * JSON style maps `{ "foo": "bar" }` are no longer valid outside of JSON. 549 Maps must be in the format of `{ foo = "bar" }` (like other objects 550 in the config) 551 * Heroku apps now require (will not validate without) `region` and 552 `name` due to an upstream API change. [GH-239] 553 554 FEATURES: 555 556 * **New Provider: `google`**: Manage Google Compute instances, disks, 557 firewalls, and more. 558 * **New Provider: `mailgun`**: Manage mailgun domains. 559 * **New Function: `concat`**: Concatenate multiple strings together. 560 Example: `concat(var.region, "-", var.channel)`. 561 562 IMPROVEMENTS: 563 564 * core: "~/.terraformrc" (Unix) or "%APPDATA%/terraform.rc" (Windows) 565 can be used to configure custom providers and provisioners. [GH-192] 566 * providers/aws: EIPs now expose `allocation_id` and `public_ip` 567 attributes. 568 * providers/aws: Security group rules can be updated without a 569 destroy/create. 570 * providers/aws: You can enable and disable dns settings for VPCs. [GH-172] 571 * providers/aws: Can specify a private IP address for `aws_instance` [GH-217] 572 573 BUG FIXES: 574 575 * core: Variables are validated to not contain interpolations. [GH-180] 576 * core: Key files for provisioning can now contain `~` and will be expanded 577 to the user's home directory. [GH-179] 578 * core: The `file()` function can load files in sub-directories. [GH-213] 579 * core: Fix issue where some JSON structures didn't map properly into 580 Terraform structures. [GH-177] 581 * core: Resources with only `file()` calls will interpolate. [GH-159] 582 * core: Variables work in block names. [GH-234] 583 * core: Plugins are searched for in the same directory as the executable 584 before the PATH. [GH-157] 585 * command/apply: "tfvars" file no longer interferes with plan apply. [GH-153] 586 * providers/aws: Fix issues around failing to read EIPs. [GH-122] 587 * providers/aws: Autoscaling groups now register and export load 588 balancers. [GH-207] 589 * providers/aws: Ingress results are treated as a set, so order doesn't 590 matter anymore. [GH-87] 591 * providers/aws: Instance security groups treated as a set [GH-194] 592 * providers/aws: Retry Route53 requests if operation failed because another 593 operation is in progress [GH-183] 594 * providers/aws: Route53 records with multiple record values work. [GH-221] 595 * providers/aws: Changing AMI doesn't result in errors anymore. [GH-196] 596 * providers/heroku: If you delete the `config_vars` block, config vars 597 are properly nuked. 598 * providers/heroku: Domains and drains are deleted before the app. 599 * providers/heroku: Moved from the client library bgentry/heroku-go to 600 cyberdelia/heroku-go [GH-239]. 601 * providers/heroku: Plans without a specific plan name for 602 heroku\_addon work. [GH-198] 603 604 PLUGIN CHANGES: 605 606 * **New Package:** `helper/schema`. This introduces a high-level framework 607 for easily writing new providers and resources. The Heroku provider has 608 been converted to this as an example. 609 610 ## 0.1.1 (August 5, 2014) 611 612 FEATURES: 613 614 * providers/heroku: Now supports creating Heroku Drains [GH-97] 615 616 IMPROVEMENTS: 617 618 * providers/aws: Launch configurations accept user data [GH-94] 619 * providers/aws: Regions are now validated [GH-96] 620 * providers/aws: ELB now supports health check configurations [GH-109] 621 622 BUG FIXES: 623 624 * core: Default variable file "terraform.tfvars" is auto-loaded. [GH-59] 625 * core: Multi-variables (`foo.*.bar`) work even when `count = 1`. [GH-115] 626 * core: `file()` function can have string literal arg [GH-145] 627 * providers/cloudflare: Include the proper bins so the cloudflare 628 provider is compiled 629 * providers/aws: Engine version for RDS now properly set [GH-118] 630 * providers/aws: Security groups now depend on each other and 631 * providers/aws: DB instances now wait for destroys, have proper 632 dependencies and allow passing skip_final_snapshot 633 * providers/aws: Add associate_public_ip_address as an attribute on 634 the aws_instance resource [GH-85] 635 * providers/aws: Fix cidr blocks being updated [GH-65, GH-85] 636 * providers/aws: Description is now required for security groups 637 * providers/digitalocean: Private IP addresses are now a separate 638 attribute 639 * provisioner/all: If an SSH key is given with a password, a better 640 error message is shown. [GH-73] 641 642 ## 0.1.0 (July 28, 2014) 643 644 * Initial release 645 646