github.com/arvindram03/terraform@v0.3.7-0.20150212015210-408f838db36d/CHANGELOG.md (about) 1 ## 0.3.7 (unreleased) 2 3 FEATURES: 4 5 * **New provider: `azure`** - initially just supporting Linux virtual 6 machines [GH-899] 7 8 IMPROVEMENTS: 9 10 * **New resources: `google_compute_forwarding_rule`, `google_compute_http_health_check`, 11 and `google_compute_target_pool`** - Together these provide network-level 12 load balancing. [GH-588] 13 * **New resource: `aws_main_route_table_association`** - Manage the main routing table 14 of a VPC. [GH-918] 15 * core: Formalized the syntax of interpolations and documented it 16 very heavily. 17 * core: Strings in interpolations can now contain further interpolations, 18 e.g.: `foo ${bar("${baz}")}`. 19 * provider/aws: Internet gateway supports tags [GH-720] 20 * provider/aws: Support the more standard environmental variable names 21 for access key and secret keys. [GH-851] 22 * provider/aws: The `aws_db_instance` resource no longer requires both 23 `final_snapshot_identifier` and `skip_final_snapshot`; the presence or 24 absence of the former now implies the latter. [GH-874] 25 * provider/aws: Avoid unecessary update of `aws_subnet` when 26 `map_public_ip_on_launch` is not specified in config. [GH-898] 27 * provider/google: Remove "client secrets file", as it's no longer necessary 28 for API authentication [GH-884]. 29 * provider/google: Expose `self_link` on `google_compute_instance` [GH-906] 30 31 BUG FIXES: 32 33 * core: Fixing use of remote state with plan files. [GH-741] 34 * core: Fix a panic case when certain invalid types were used in 35 the configuration. [GH-691] 36 * core: Escape characters `\"`, `\n`, and `\\` now work in interpolations. 37 * core: Fix crash that could occur when there are exactly zero providers 38 installed on a system. [GH-786] 39 * core: JSON TF configurations can configure provisioners. [GH-807] 40 * command/apply: Won't try to initialize modules in some cases when 41 no arguments are given. [GH-780] 42 * command/apply: Fix regression where user variables weren't asked [GH-736] 43 * helper/hashcode: Update `hash.String()` to always return a positive index. 44 Fixes issue where specific strings would convert to a negative index 45 and be ommited when creating Route53 records. [GH-967] 46 * provider/aws: ELB subnet change doesn't force new resource. [GH-804] 47 * provider/aws: Automatically suffix the Route53 zone name on record names. [GH-312] 48 * provider/aws: Instance should ignore root EBS devices. [GH-877] 49 * provider/aws: Fix `aws_db_instance` to not recreate each time. [GH-874] 50 * provider/google: Fix bug preventing instances with metadata from being 51 created [GH-884]. 52 53 PLUGIN CHANGES: 54 55 * New `helper/schema` type: `TypeFloat` [GH-594] 56 * New `helper/schema` field for resources: `Exists` must point to a function 57 to check for the existence of a resource. This is used to properly 58 handle the case where the resource was manually deleted. [GH-766] 59 60 ## 0.3.6 (January 6, 2015) 61 62 FEATURES: 63 64 * **New provider: `cloudstack`** 65 66 IMPROVEMENTS: 67 68 * **New resource: `aws_key_pair`** - Import a public key into AWS. [GH-695] 69 * **New resource: `heroku_cert`** - Manage Heroku app certs. 70 * provider/aws: Support `eu-central-1`, `cn-north-1`, and GovCloud. [GH-525] 71 * provider/aws: `route_table` can have tags. [GH-648] 72 * provider/google: Support Ubuntu images. [GH-724] 73 * provider/google: Support for service accounts. [GH-725] 74 75 BUG FIXES: 76 77 * core: temporary/hidden files that look like Terraform configurations 78 are no longer loaded. [GH-548] 79 * core: Set types in resources now result in deterministic states, 80 resulting in cleaner plans. [GH-663] 81 * core: fix issue where "diff was not the same" would come up with 82 diffing lists. [GH-661] 83 * core: fix crash where module inputs weren't strings, and add more 84 validation around invalid types here. [GH-624] 85 * core: fix error when using a computed module output as an input to 86 another module. [GH-659] 87 * core: map overrides in "terraform.tfvars" no longer result in a syntax 88 error. [GH-647] 89 * core: Colon character works in interpolation [GH-700] 90 * provider/aws: Fix crash case when internet gateway is not attached 91 to any VPC. [GH-664] 92 * provider/aws: `vpc_id` is no longer required. [GH-667] 93 * provider/aws: `availability_zones` on ELB will contain more than one 94 AZ if it is set as such. [GH-682] 95 * provider/aws: More fields are marked as "computed" properly, resulting 96 in more accurate diffs for AWS instances. [GH-712] 97 * provider/aws: Fix panic case by using the wrong type when setting 98 volume size for AWS instances. [GH-712] 99 * provider/aws: route table ignores routes with 'EnableVgwRoutePropagation' 100 origin since those come from gateways. [GH-722] 101 * provider/aws: Default network ACL ID and default security group ID 102 support for `aws_vpc`. [GH-704] 103 * provider/aws: Tags are not marked as computed. This introduces another 104 issue with not detecting external tags, but this will be fixed in 105 the future. [GH-730] 106 107 ## 0.3.5 (December 9, 2014) 108 109 FEATURES: 110 111 * **Remote State**: State files can now be stored remotely via HTTP, 112 Consul, or HashiCorp's Atlas. 113 * **New Provider: `atlas`**: Retrieve artifacts for deployment from 114 HashiCorp's Atlas service. 115 * New `element()` function to index into arrays 116 117 IMPROVEMENTS: 118 119 * provider/aws: Support tenancy for aws\_instance 120 * provider/aws: Support block devices for aws\_instance 121 * provider/aws: Support virtual\_name on block device 122 * provider/aws: Improve RDS reliability (more grace time) 123 * provider/aws: Added aws\_db\_parameter\_group resource 124 * provider/aws: Added tag support to aws\_subnet 125 * provider/aws: Routes in RouteTable are optional 126 * provider/aws: associate\_public\_ip\_address on aws\_launch\_configuration 127 * provider/aws: Added aws\_network\_acl 128 * provider/aws: Ingress rules in security groups are optional 129 * provider/aws: Support termination policy for ASG 130 * provider/digitalocean: Improved droplet size compatibility 131 132 BUG FIXES: 133 134 * core: Fixed issue causing double delete. [GH-555] 135 * core: Fixed issue with create-before-destroy not being respected in 136 some circumstances. 137 * core: Fixing issue with count expansion with non-homogenous instance 138 plans. 139 * core: Fix issue with referencing resource variables from resources 140 that don't exist yet within resources that do exist, or modules. 141 * core: Fixing depedency handling for modules 142 * core: Fixing output handling [GH-474] 143 * core: Fixing count interpolation in modules 144 * core: Fixing multi-var without module state 145 * core: Fixing HCL variable declaration 146 * core: Fixing resource interpolation for without state 147 * core: Fixing handling of computed maps 148 * command/init: Fixing recursion issue [GH-518] 149 * command: Validate config before requesting input [GH-602] 150 * build: Fixing GOPATHs with spaces 151 152 MISC: 153 154 * provider/aws: Upgraded to helper.Schema 155 * provider/heroku: Upgraded to helper.Schema 156 * provider/mailgun: Upgraded to helper.Schema 157 * provider/dnsimple: Upgraded to helper.Schema 158 * provider/cloudflare: Upgraded to helper.Schema 159 * provider/digitalocean: Upgraded to helper.Schema 160 * provider/google: Upgraded to helper.Schema 161 162 ## 0.3.1 (October 21, 2014) 163 164 IMPROVEMENTS: 165 166 * providers/aws: Support tags for security groups. 167 * providers/google: Add "external\_address" to network attributes [GH-454] 168 * providers/google: External address is used as default connection host. [GH-454] 169 * providers/heroku: Support `locked` and `personal` booleans on organization 170 settings. [GH-406] 171 172 BUG FIXES: 173 174 * core: Remove panic case when applying with a plan that generates no 175 new state. [GH-403] 176 * core: Fix a hang that can occur with enough resources. [GH-410] 177 * core: Config validation will not error if the field is being 178 computed so the value is still unknown. 179 * core: If a resource fails to create and has provisioners, it is 180 marked as tainted. [GH-434] 181 * core: Set types are validated to be sets. [GH-413] 182 * core: String types are validated properly. [GH-460] 183 * core: Fix crash case when destroying with tainted resources. [GH-412] 184 * core: Don't execute provisioners in some cases on destroy. 185 * core: Inherited provider configurations will be properly interpolated. [GH-418] 186 * core: Refresh works properly if there are outputs that depend on resources 187 that aren't yet created. [GH-483] 188 * providers/aws: Refresh of launch configs and autoscale groups load 189 the correct data and don't incorrectly recreate themselves. [GH-425] 190 * providers/aws: Fix case where ELB would incorrectly plan to modify 191 listeners (with the same data) in some cases. 192 * providers/aws: Retry destroying internet gateway for some amount of time 193 if there is a dependency violation since it is probably just eventual 194 consistency (public facing resources being destroyed). [GH-447] 195 * providers/aws: Retry deleting security groups for some amount of time 196 if there is a dependency violation since it is probably just eventual 197 consistency. [GH-436] 198 * providers/aws: Retry deleting subnet for some amount of time if there is a 199 dependency violation since probably asynchronous destroy events take 200 place still. [GH-449] 201 * providers/aws: Drain autoscale groups before deleting. [GH-435] 202 * providers/aws: Fix crash case if launch config is manually deleted. [GH-421] 203 * providers/aws: Disassociate EIP before destroying. 204 * providers/aws: ELB treats subnets as a set. 205 * providers/aws: Fix case where in a destroy/create tags weren't reapplied. [GH-464] 206 * providers/aws: Fix incorrect/erroneous apply cases around security group 207 rules. [GH-457] 208 * providers/consul: Fix regression where `key` param changed to `keys. [GH-475] 209 210 ## 0.3.0 (October 14, 2014) 211 212 FEATURES: 213 214 * **Modules**: Configuration can now be modularized. Modules can live on 215 GitHub, BitBucket, Git/Hg repos, HTTP URLs, and file paths. Terraform 216 automatically downloads/updates modules for you on request. 217 * **New Command: `init`**. This command initializes a Terraform configuration 218 from an existing Terraform module (also new in 0.3). 219 * **New Command: `destroy`**. This command destroys infrastructure 220 created with `apply`. 221 * Terraform will ask for user input to fill in required variables and 222 provider configurations if they aren't set. 223 * `terraform apply MODULE` can be used as a shorthand to quickly build 224 infrastructure from a module. 225 * The state file format is now JSON rather than binary. This allows for 226 easier machine and human read/write. Old binary state files will be 227 automatically upgraded. 228 * You can now specify `create_before_destroy` as an option for replacement 229 so that new resources are created before the old ones are destroyed. 230 * The `count` metaparameter can now contain interpolations (such as 231 variables). 232 * The current index for a resource with a `count` set can be interpolated 233 using `${count.index}`. 234 * Various paths can be interpolated with the `path.X` variables. For example, 235 the path to the current module can be interpolated using `${path.module}`. 236 237 IMPROVEMENTS: 238 239 * config: Trailing commas are now allowed for the final elements of lists. 240 * core: Plugins are loaded from `~/.terraform.d/plugins` (Unix) or 241 `%USERDATA%/terraform.d/plugins` (Windows). 242 * command/show: With no arguments, it will show the default state. [GH-349] 243 * helper/schema: Can now have default values. [GH-245] 244 * providers/aws: Tag support for most resources. 245 * providers/aws: New resource `db_subnet_group`. [GH-295] 246 * providers/aws: Add `map_public_ip_on_launch` for subnets. [GH-285] 247 * providers/aws: Add `iam_instance_profile` for instances. [GH-319] 248 * providers/aws: Add `internal` option for ELBs. [GH-303] 249 * providers/aws: Add `ssl_certificate_id` for ELB listeners. [GH-350] 250 * providers/aws: Add `self` option for security groups for ingress 251 rules with self as source. [GH-303] 252 * providers/aws: Add `iam_instance_profile` option to 253 `aws_launch_configuration`. [GH-371] 254 * providers/aws: Non-destructive update of `desired_capacity` for 255 autoscale groups. 256 * providers/aws: Add `main_route_table_id` attribute to VPCs. [GH-193] 257 * providers/consul: Support tokens. [GH-396] 258 * providers/google: Support `target_tags` for firewalls. [GH-324] 259 * providers/google: `google_compute_instance` supports `can_ip_forward` [GH-375] 260 * providers/google: `google_compute_disk` supports `type` to support disks 261 such as SSDs. [GH-351] 262 * provisioners/local-exec: Output from command is shown in CLI output. [GH-311] 263 * provisioners/remote-exec: Output from command is shown in CLI output. [GH-311] 264 265 BUG FIXES: 266 267 * core: Providers are validated even without a `provider` block. [GH-284] 268 * core: In the case of error, walk all non-dependent trees. 269 * core: Plugin loading from CWD works properly. 270 * core: Fix many edge cases surrounding the `count` meta-parameter. 271 * core: Strings in the configuration can escape double-quotes with the 272 standard `\"` syntax. 273 * core: Error parsing CLI config will show properly. [GH-288] 274 * core: More than one Ctrl-C will exit immediately. 275 * providers/aws: autoscaling_group can be launched into a vpc [GH-259] 276 * providers/aws: not an error when RDS instance is deleted manually. [GH-307] 277 * providers/aws: Retry deleting subnet for some time while AWS eventually 278 destroys dependencies. [GH-357] 279 * providers/aws: More robust destroy for route53 records. [GH-342] 280 * providers/aws: ELB generates much more correct plans without extranneous 281 data. 282 * providers/aws: ELB works properly with dynamically changing 283 count of instances. 284 * providers/aws: Terraform can handle ELBs deleted manually. [GH-304] 285 * providers/aws: Report errors properly if RDS fails to delete. [GH-310] 286 * providers/aws: Wait for launch configuration to exist after creation 287 (AWS eventual consistency) [GH-302] 288 289 ## 0.2.2 (September 9, 2014) 290 291 IMPROVEMENTS: 292 293 * providers/amazon: Add `ebs_optimized` flag. [GH-260] 294 * providers/digitalocean: Handle 404 on delete 295 * providers/digitalocean: Add `user_data` argument for creating droplets 296 * providers/google: Disks can be marked `auto_delete`. [GH-254] 297 298 BUG FIXES: 299 300 * core: Fix certain syntax of configuration that could cause hang. [GH-261] 301 * core: `-no-color` flag properly disables color. [GH-250] 302 * core: "~" is expanded in `-var-file` flags. [GH-273] 303 * core: Errors with tfvars are shown in console. [GH-269] 304 * core: Interpolation function calls with more than two args parse. [GH-282] 305 * providers/aws: Refreshing EIP from pre-0.2 state file won't error. [GH-258] 306 * providers/aws: Creating EIP without an instance/network won't fail. 307 * providers/aws: Refreshing EIP manually deleted works. 308 * providers/aws: Retry EIP delete to allow AWS eventual consistency to 309 detect it isn't attached. [GH-276] 310 * providers/digitalocean: Handle situations when resource was destroyed 311 manually. [GH-279] 312 * providers/digitalocean: Fix a couple scenarios where the diff was 313 incorrect (and therefore the execution as well). 314 * providers/google: Attaching a disk source (not an image) works 315 properly. [GH-254] 316 317 ## 0.2.1 (August 31, 2014) 318 319 IMPROVEMENTS: 320 321 * core: Plugins are automatically discovered in the executable directory 322 or pwd if named properly. [GH-190] 323 * providers/mailgun: domain records are now saved to state 324 325 BUG FIXES: 326 327 * core: Configuration parses when identifier and '=' have no space. [GH-243] 328 * core: `depends_on` with `count` generates the proper graph. [GH-244] 329 * core: Depending on a computed variable of a list type generates a 330 plan without failure. i.e. `${type.name.foos.0.bar}` where `foos` 331 is computed. [GH-247] 332 * providers/aws: Route53 destroys in parallel work properly. [GH-183] 333 334 ## 0.2.0 (August 28, 2014) 335 336 BACKWARDS INCOMPATIBILITIES: 337 338 * We've replaced the configuration language in use from a C library to 339 a pure-Go reimplementation. In the process, we removed some features 340 of the language since it was too flexible: 341 * Semicolons are no longer valid at the end of lines 342 * Keys cannot be double-quoted strings: `"foo" = "bar"` is no longer 343 valid. 344 * JSON style maps `{ "foo": "bar" }` are no longer valid outside of JSON. 345 Maps must be in the format of `{ foo = "bar" }` (like other objects 346 in the config) 347 * Heroku apps now require (will not validate without) `region` and 348 `name` due to an upstream API change. [GH-239] 349 350 FEATURES: 351 352 * **New Provider: `google`**: Manage Google Compute instances, disks, 353 firewalls, and more. 354 * **New Provider: `mailgun`**: Manage mailgun domains. 355 * **New Function: `concat`**: Concatenate multiple strings together. 356 Example: `concat(var.region, "-", var.channel)`. 357 358 IMPROVEMENTS: 359 360 * core: "~/.terraformrc" (Unix) or "%APPDATA%/terraform.rc" (Windows) 361 can be used to configure custom providers and provisioners. [GH-192] 362 * providers/aws: EIPs now expose `allocation_id` and `public_ip` 363 attributes. 364 * providers/aws: Security group rules can be updated without a 365 destroy/create. 366 * providers/aws: You can enable and disable dns settings for VPCs. [GH-172] 367 * providers/aws: Can specify a private IP address for `aws_instance` [GH-217] 368 369 BUG FIXES: 370 371 * core: Variables are validated to not contain interpolations. [GH-180] 372 * core: Key files for provisioning can now contain `~` and will be expanded 373 to the user's home directory. [GH-179] 374 * core: The `file()` function can load files in sub-directories. [GH-213] 375 * core: Fix issue where some JSON structures didn't map properly into 376 Terraform structures. [GH-177] 377 * core: Resources with only `file()` calls will interpolate. [GH-159] 378 * core: Variables work in block names. [GH-234] 379 * core: Plugins are searched for in the same directory as the executable 380 before the PATH. [GH-157] 381 * command/apply: "tfvars" file no longer interferes with plan apply. [GH-153] 382 * providers/aws: Fix issues around failing to read EIPs. [GH-122] 383 * providers/aws: Autoscaling groups now register and export load 384 balancers. [GH-207] 385 * providers/aws: Ingress results are treated as a set, so order doesn't 386 matter anymore. [GH-87] 387 * providers/aws: Instance security groups treated as a set [GH-194] 388 * providers/aws: Retry Route53 requests if operation failed because another 389 operation is in progress [GH-183] 390 * providers/aws: Route53 records with multiple record values work. [GH-221] 391 * providers/aws: Changing AMI doesn't result in errors anymore. [GH-196] 392 * providers/heroku: If you delete the `config_vars` block, config vars 393 are properly nuked. 394 * providers/heroku: Domains and drains are deleted before the app. 395 * providers/heroku: Moved from the client library bgentry/heroku-go to 396 cyberdelia/heroku-go [GH-239]. 397 * providers/heroku: Plans without a specific plan name for 398 heroku\_addon work. [GH-198] 399 400 PLUGIN CHANGES: 401 402 * **New Package:** `helper/schema`. This introduces a high-level framework 403 for easily writing new providers and resources. The Heroku provider has 404 been converted to this as an example. 405 406 ## 0.1.1 (August 5, 2014) 407 408 FEATURES: 409 410 * providers/heroku: Now supports creating Heroku Drains [GH-97] 411 412 IMPROVEMENTS: 413 414 * providers/aws: Launch configurations accept user data [GH-94] 415 * providers/aws: Regions are now validated [GH-96] 416 * providers/aws: ELB now supports health check configurations [GH-109] 417 418 BUG FIXES: 419 420 * core: Default variable file "terraform.tfvars" is auto-loaded. [GH-59] 421 * core: Multi-variables (`foo.*.bar`) work even when `count = 1`. [GH-115] 422 * core: `file()` function can have string literal arg [GH-145] 423 * providers/cloudflare: Include the proper bins so the cloudflare 424 provider is compiled 425 * providers/aws: Engine version for RDS now properly set [GH-118] 426 * providers/aws: Security groups now depend on each other and 427 * providers/aws: DB instances now wait for destroys, have proper 428 dependencies and allow passing skip_final_snapshot 429 * providers/aws: Add associate_public_ip_address as an attribute on 430 the aws_instance resource [GH-85] 431 * providers/aws: Fix cidr blocks being updated [GH-65, GH-85] 432 * providers/aws: Description is now required for security groups 433 * providers/digitalocean: Private IP addresses are now a separate 434 attribute 435 * provisioner/all: If an SSH key is given with a password, a better 436 error message is shown. [GH-73] 437 438 ## 0.1.0 (July 28, 2014) 439 440 * Initial release 441