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