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