github.com/atsaki/terraform@v0.4.3-0.20150919165407-25bba5967654/CHANGELOG.md (about) 1 ## 0.6.4 (unreleased) 2 3 FEATURES: 4 5 * **New provider: `rundeck`** [GH-2412] 6 * **New resource: `cloudstack_loadbalancer_rule`** [GH-2934] 7 * **New resource: `google_compute_project_metadata`** [GH-3065] 8 * **New resources: `aws_ami`, `aws_ami_copy`, `aws_ami_from_instance`** [GH-2874] 9 * **New resource: `google_storage_bucket_object`** [GH-3192] 10 * **New resources: `google_compute_vpn_gateway`, `google_compute_vpn_tunnel`** [GH-3213] 11 12 IMPROVEMENTS: 13 14 * core: Add a function to find the index of an element in a list. [GH-2704] 15 * core: Print all outputs when `terraform output` is called with no arguments [GH-2920] 16 * core: In plan output summary, count resource replacement as Add/Remove instead of Change [GH-3173] 17 * provider/aws: Add `instance_initiated_shutdown_behavior` to AWS Instance [GH-2887] 18 * provider/aws: Support IAM role names (previously just ARNs) in `aws_ecs_service.iam_role` [GH-3061] 19 * provider/aws: Add update method to RDS Subnet groups, can modify subnets without recreating [GH-3053] 20 * provider/aws: Paginate notifications returned for ASG Notifications [GH-3043] 21 * provider/aws: add `ses_smtp_password` to `aws_iam_access_key` [GH-3165] 22 * provider/aws: read `iam_instance_profile` for `aws_instance` and save to state [GH-3167] 23 * provider/aws: Add `versioning` option to `aws_s3_bucket` [GH-2942] 24 * provider/aws: Add `configuation_endpoint` to `aws_elasticache_cluster` [GH-3250] 25 * provider/cloudstack: Add `project` parameter to `cloudstack_vpc`, `cloudstack_network`, `cloudstack_ipaddress` and `cloudstack_disk` [GH-3035] 26 27 BUG FIXES: 28 29 * core: Fix problems referencing list attributes in interpolations [GH-2157] 30 * provider/google: Crashes with interface conversion in GCE Instance Template [GH-3027] 31 * provider/google: Convert int to int64 when building the GKE cluster.NodeConfig struct [GH-2978] 32 * provider/aws: Retry creation of `aws_ecs_service` if IAM policy isn't ready yet [GH-3061] 33 * provider/aws: Fix issue with mixed capitalization for RDS Instances [GH-3053] 34 * provider/aws: Fix issue with RDS to allow major version upgrades [GH-3053] 35 * provider/aws: Fix shard_count in `aws_kinesis_stream` [GH-2986] 36 * provider/aws: Fix issue with `key_name` and using VPCs with spot instance requests [GH-2954] 37 * provider/aws: Fix unresolvable diffs coming from `aws_elasticache_cluster` names being downcased 38 by AWS [GH-3120] 39 * provider/aws: Read instance source_dest_check and save to state [GH-3152] 40 * provider/aws: Allow `weight = 0` in Route53 records [GH-3196] 41 * provider/openstack: add state 'downloading' to list of expected states in 42 `blockstorage_volume_v1` creation [GH-2866] 43 44 ## 0.6.3 (August 11, 2015) 45 46 BUG FIXES: 47 48 * core: Skip all descendents after error, not just children; helps prevent confusing 49 additional errors/crashes after initial failure [GH-2963] 50 * core: fix deadlock possibility when both a module and a dependent resource are 51 removed in the same run [GH-2968] 52 * provider/aws: Fix issue with authenticating when using IAM profiles [GH-2959] 53 54 ## 0.6.2 (August 6, 2015) 55 56 FEATURES: 57 58 * **New resource: `google_compute_instance_group_manager`** [GH-2868] 59 * **New resource: `google_compute_autoscaler`** [GH-2868] 60 * **New resource: `aws_s3_bucket_object`** [GH-2898] 61 62 IMPROVEMENTS: 63 64 * core: Add resource IDs to errors coming from `apply`/`refresh` [GH-2815] 65 * provider/aws: Validate credentials before walking the graph [GH-2730] 66 * provider/aws: Added website_domain for S3 buckets [GH-2210] 67 * provider/aws: ELB names are now optional, and generated by Terraform if omitted [GH-2571] 68 * provider/aws: Downcase RDS engine names to prevent continuous diffs [GH-2745] 69 * provider/aws: Added `source_dest_check` attribute to the aws_network_interface [GH-2741] 70 * provider/aws: Clean up externally removed Launch Configurations [GH-2806] 71 * provider/aws: Allow configuration of the DynamoDB Endpoint [GH-2825] 72 * provider/aws: Compute private ip addresses of ENIs if they are not specified [GH-2743] 73 * provider/aws: Add `arn` attribute for DynamoDB tables [GH-2924] 74 * provider/aws: Fail silently when account validation fails while from instance profile [GH-3001] 75 * provider/azure: Allow `settings_file` to accept XML string [GH-2922] 76 * provider/azure: Provide a simpler error when using a Platform Image without a 77 Storage Service [GH-2861] 78 * provider/google: `account_file` is now expected to be JSON. Paths are still supported for 79 backwards compatibility. [GH-2839] 80 81 BUG FIXES: 82 83 * core: Prevent error duplication in `apply` [GH-2815] 84 * core: Fix crash when a provider validation adds a warning [GH-2878] 85 * provider/aws: Fix issue with toggling monitoring in AWS Instances [GH-2794] 86 * provider/aws: Fix issue with Spot Instance Requests and cancellation [GH-2805] 87 * provider/aws: Fix issue with checking for ElastiCache cluster cache node status [GH-2842] 88 * provider/aws: Fix issue when unable to find a Root Block Device name of an Instance Backed 89 AMI [GH-2646] 90 * provider/dnsimple: Domain and type should force new records [GH-2777] 91 * provider/aws: Fix issue with IAM Server Certificates and Chains [GH-2871] 92 * provider/aws: Fix issue with IAM Server Certificates when using `path` [GH-2871] 93 * provider/aws: Fix issue in Security Group Rules when the Security Group is not found [GH-2897] 94 * provider/aws: allow external ENI attachments [GH-2943] 95 * provider/aws: Fix issue with S3 Buckets, and throwing an error when not found [GH-2925] 96 97 ## 0.6.1 (July 20, 2015) 98 99 FEATURES: 100 101 * **New resource: `google_container_cluster`** [GH-2357] 102 * **New resource: `aws_vpc_endpoint`** [GH-2695] 103 104 IMPROVEMENTS: 105 106 * connection/ssh: Print SSH bastion host details to output [GH-2684] 107 * provider/aws: Create RDS databases from snapshots [GH-2062] 108 * provider/aws: Add support for restoring from Redis backup stored in S3 [GH-2634] 109 * provider/aws: Add `maintenance_window` to ElastiCache cluster [GH-2642] 110 * provider/aws: Availability Zones are optional when specifying VPC Zone Identifiers in 111 Auto Scaling Groups updates [GH-2724] 112 * provider/google: Add metadata_startup_script to google_compute_instance [GH-2375] 113 114 BUG FIXES: 115 116 * core: Don't prompt for variables with defaults [GH-2613] 117 * core: Return correct number of planned updates [GH-2620] 118 * core: Fix "provider not found" error that can occur while running 119 a destroy plan with grandchildren modules [GH-2755] 120 * core: Fix UUID showing up in diff for computed splat (`foo.*.bar`) 121 variables. [GH-2788] 122 * core: Orphan modules that contain no resources (only other modules) 123 are properly destroyed up to arbitrary depth [GH-2786] 124 * core: Fix "attribute not available" during destroy plans in 125 cases where the parameter is passed between modules [GH-2775] 126 * core: Record schema version when destroy fails [GH-2923] 127 * connection/ssh: fix issue on machines with an SSH Agent available 128 preventing `key_file` from being read without explicitly 129 setting `agent = false` [GH-2615] 130 * provider/aws: Allow uppercase characters in `aws_elb.name` [GH-2580] 131 * provider/aws: Allow underscores in `aws_db_subnet_group.name` (undocumented by AWS) [GH-2604] 132 * provider/aws: Allow dots in `aws_db_subnet_group.name` (undocumented by AWS) [GH-2665] 133 * provider/aws: Fix issue with pending Spot Instance requests [GH-2640] 134 * provider/aws: Fix issue in AWS Classic environment with referencing external 135 Security Groups [GH-2644] 136 * provider/aws: Bump internet gateway detach timeout [GH-2669] 137 * provider/aws: Fix issue with detecting differences in DB Parameters [GH-2728] 138 * provider/aws: `ecs_cluster` rename (recreation) and deletion is handled correctly [GH-2698] 139 * provider/aws: `aws_route_table` ignores routes generated for VPC endpoints [GH-2695] 140 * provider/aws: Fix issue with Launch Configurations and enable_monitoring [GH-2735] 141 * provider/openstack: allow empty api_key and endpoint_type [GH-2626] 142 * provisioner/chef: Fix permission denied error with ohai hints [GH-2781] 143 144 ## 0.6.0 (June 30, 2015) 145 146 BACKWARDS INCOMPATIBILITIES: 147 148 * command/push: If a variable is already set within Atlas, it won't be 149 updated unless the `-overwrite` flag is present [GH-2373] 150 * connection/ssh: The `agent` field now defaults to `true` if 151 the `SSH_AGENT_SOCK` environment variable is present. In other words, 152 `ssh-agent` support is now opt-out instead of opt-in functionality. [GH-2408] 153 * provider/aws: If you were setting access and secret key to blank ("") 154 to force Terraform to load credentials from another source such as the 155 EC2 role, this will now error. Remove the blank lines and Terraform 156 will load from other sources. 157 * `concat()` has been repurposed to combine lists instead of strings (old behavior 158 of joining strings is maintained in this version but is deprecated, strings 159 should be combined using interpolation syntax, like "${var.foo}{var.bar}") 160 [GH-1790] 161 162 FEATURES: 163 164 * **New provider: `azure`** [GH-2052, GH-2053, GH-2372, GH-2380, GH-2394, GH-2515, GH-2530, GH-2562] 165 * **New resource: `aws_autoscaling_notification`** [GH-2197] 166 * **New resource: `aws_autoscaling_policy`** [GH-2201] 167 * **New resource: `aws_cloudwatch_metric_alarm`** [GH-2201] 168 * **New resource: `aws_dynamodb_table`** [GH-2121] 169 * **New resource: `aws_ecs_cluster`** [GH-1803] 170 * **New resource: `aws_ecs_service`** [GH-1803] 171 * **New resource: `aws_ecs_task_definition`** [GH-1803, GH-2402] 172 * **New resource: `aws_elasticache_parameter_group`** [GH-2276] 173 * **New resource: `aws_flow_log`** [GH-2384] 174 * **New resource: `aws_iam_group_association`** [GH-2273] 175 * **New resource: `aws_iam_policy_attachment`** [GH-2395] 176 * **New resource: `aws_lambda_function`** [GH-2170] 177 * **New resource: `aws_route53_delegation_set`** [GH-1999] 178 * **New resource: `aws_route53_health_check`** [GH-2226] 179 * **New resource: `aws_spot_instance_request`** [GH-2263] 180 * **New resource: `cloudstack_ssh_keypair`** [GH-2004] 181 * **New remote state backend: `swift`**: You can now store remote state in 182 a OpenStack Swift. [GH-2254] 183 * command/output: support display of module outputs [GH-2102] 184 * core: `keys()` and `values()` funcs for map variables [GH-2198] 185 * connection/ssh: SSH bastion host support and ssh-agent forwarding [GH-2425] 186 187 IMPROVEMENTS: 188 189 * core: HTTP remote state now accepts `skip_cert_verification` 190 option to ignore TLS cert verification. [GH-2214] 191 * core: S3 remote state now accepts the 'encrypt' option for SSE [GH-2405] 192 * core: `plan` now reports sum of resources to be changed/created/destroyed [GH-2458] 193 * core: Change string list representation so we can distinguish empty, single 194 element lists [GH-2504] 195 * core: Properly close provider and provisioner plugin connections [GH-2406, GH-2527] 196 * provider/aws: AutoScaling groups now support updating Load Balancers without 197 recreation [GH-2472] 198 * provider/aws: Allow more in-place updates for ElastiCache cluster without recreating 199 [GH-2469] 200 * provider/aws: ElastiCache Subnet Groups can be updated 201 without destroying first [GH-2191] 202 * provider/aws: Normalize `certificate_chain` in `aws_iam_server_certificate` to 203 prevent unnecessary replacement. [GH-2411] 204 * provider/aws: `aws_instance` supports `monitoring' [GH-2489] 205 * provider/aws: `aws_launch_configuration` now supports `enable_monitoring` [GH-2410] 206 * provider/aws: Show outputs after `terraform refresh` [GH-2347] 207 * provider/aws: Add backoff/throttling during DynamoDB creation [GH-2462] 208 * provider/aws: Add validation for aws_vpc.cidr_block [GH-2514] 209 * provider/aws: Add validation for aws_db_subnet_group.name [GH-2513] 210 * provider/aws: Add validation for aws_db_instance.identifier [GH-2516] 211 * provider/aws: Add validation for aws_elb.name [GH-2517] 212 * provider/aws: Add validation for aws_security_group (name+description) [GH-2518] 213 * provider/aws: Add validation for aws_launch_configuration [GH-2519] 214 * provider/aws: Add validation for aws_autoscaling_group.name [GH-2520] 215 * provider/aws: Add validation for aws_iam_role.name [GH-2521] 216 * provider/aws: Add validation for aws_iam_role_policy.name [GH-2552] 217 * provider/aws: Add validation for aws_iam_instance_profile.name [GH-2553] 218 * provider/aws: aws_auto_scaling_group.default_cooldown no longer requires 219 resource replacement [GH-2510] 220 * provider/aws: add AH and ESP protocol integers [GH-2321] 221 * provider/docker: `docker_container` has the `privileged` 222 option. [GH-2227] 223 * provider/openstack: allow `OS_AUTH_TOKEN` environment variable 224 to set the openstack `api_key` field [GH-2234] 225 * provider/openstack: Can now configure endpoint type (public, admin, 226 internal) [GH-2262] 227 * provider/cloudstack: `cloudstack_instance` now supports projects [GH-2115] 228 * provisioner/chef: Added a `os_type` to specifically specify the target OS [GH-2483] 229 * provisioner/chef: Added a `ohai_hints` option to upload hint files [GH-2487] 230 231 BUG FIXES: 232 233 * core: lifecycle `prevent_destroy` can be any value that can be 234 coerced into a bool [GH-2268] 235 * core: matching provider types in sibling modules won't override 236 each other's config. [GH-2464] 237 * core: computed provider configurations now properly validate [GH-2457] 238 * core: orphan (commented out) resource dependencies are destroyed in 239 the correct order [GH-2453] 240 * core: validate object types in plugins are actually objects [GH-2450] 241 * core: fix `-no-color` flag in subcommands [GH-2414] 242 * core: Fix error of 'attribute not found for variable' when a computed 243 resource attribute is used as a parameter to a module [GH-2477] 244 * core: moduled orphans will properly inherit provider configs [GH-2476] 245 * core: modules with provider aliases work properly if the parent 246 doesn't implement those aliases [GH-2475] 247 * core: unknown resource attributes passed in as parameters to modules 248 now error [GH-2478] 249 * core: better error messages for missing variables [GH-2479] 250 * core: removed set items now properly appear in diffs and applies [GH-2507] 251 * core: '*' will not be added as part of the variable name when you 252 attempt multiplication without a space [GH-2505] 253 * core: fix target dependency calculation across module boundaries [GH-2555] 254 * command/*: fixed bug where variable input was not asked for unset 255 vars if terraform.tfvars existed [GH-2502] 256 * command/apply: prevent output duplication when reporting errors [GH-2267] 257 * command/apply: destroyed orphan resources are properly counted [GH-2506] 258 * provider/aws: loading credentials from the environment (vars, EC2 role, 259 etc.) is more robust and will not ask for credentials from stdin [GH-1841] 260 * provider/aws: fix panic when route has no `cidr_block` [GH-2215] 261 * provider/aws: fix issue preventing destruction of IAM Roles [GH-2177] 262 * provider/aws: fix issue where Security Group Rules could collide and fail 263 to save to the state file correctly [GH-2376] 264 * provider/aws: fix issue preventing destruction self referencing Securtity 265 Group Rules [GH-2305] 266 * provider/aws: fix issue causing perpetual diff on ELB listeners 267 when non-lowercase protocol strings were used [GH-2246] 268 * provider/aws: corrected frankfurt S3 website region [GH-2259] 269 * provider/aws: `aws_elasticache_cluster` port is required [GH-2160] 270 * provider/aws: Handle AMIs where RootBlockDevice does not appear in the 271 BlockDeviceMapping, preventing root_block_device from working [GH-2271] 272 * provider/aws: fix `terraform show` with remote state [GH-2371] 273 * provider/aws: detect `instance_type` drift on `aws_instance` [GH-2374] 274 * provider/aws: fix crash when `security_group_rule` referenced non-existent 275 security group [GH-2434] 276 * provider/aws: `aws_launch_configuration` retries if IAM instance 277 profile is not ready yet. [GH-2452] 278 * provider/aws: `fqdn` is populated during creation for `aws_route53_record` [GH-2528] 279 * provider/aws: retry VPC delete on DependencyViolation due to eventual 280 consistency [GH-2532] 281 * provider/aws: VPC peering connections in "failed" state are deleted [GH-2544] 282 * provider/aws: EIP deletion works if it was manually disassociated [GH-2543] 283 * provider/aws: `elasticache_subnet_group.subnet_ids` is now a required argument [GH-2534] 284 * provider/aws: handle nil response from VPN connection describes [GH-2533] 285 * provider/cloudflare: manual record deletion doesn't cause error [GH-2545] 286 * provider/digitalocean: handle case where droplet is deleted outside of 287 terraform [GH-2497] 288 * provider/dme: No longer an error if record deleted manually [GH-2546] 289 * provider/docker: Fix issues when using containers with links [GH-2327] 290 * provider/openstack: fix panic case if API returns nil network [GH-2448] 291 * provider/template: fix issue causing "unknown variable" rendering errors 292 when an existing set of template variables is changed [GH-2386] 293 * provisioner/chef: improve the decoding logic to prevent parameter not found errors [GH-2206] 294 295 ## 0.5.3 (June 1, 2015) 296 297 IMPROVEMENTS: 298 299 * **New resource: `aws_kinesis_stream`** [GH-2110] 300 * **New resource: `aws_iam_server_certificate`** [GH-2086] 301 * **New resource: `aws_sqs_queue`** [GH-1939] 302 * **New resource: `aws_sns_topic`** [GH-1974] 303 * **New resource: `aws_sns_topic_subscription`** [GH-1974] 304 * **New resource: `aws_volume_attachment`** [GH-2050] 305 * **New resource: `google_storage_bucket`** [GH-2060] 306 * provider/aws: support ec2 termination protection [GH-1988] 307 * provider/aws: support for RDS Read Replicas [GH-1946] 308 * provider/aws: `aws_s3_bucket` add support for `policy` [GH-1992] 309 * provider/aws: `aws_ebs_volume` add support for `tags` [GH-2135] 310 * provider/aws: `aws_elasticache_cluster` Confirm node status before reporting 311 available 312 * provider/aws: `aws_network_acl` Add support for ICMP Protocol [GH-2148] 313 * provider/aws: New `force_destroy` parameter for S3 buckets, to destroy 314 Buckets that contain objects [GH-2007] 315 * provider/aws: switching `health_check_type` on ASGs no longer requires 316 resource refresh [GH-2147] 317 * provider/aws: ignore empty `vpc_security_group_ids` on `aws_instance` [GH-2311] 318 319 BUG FIXES: 320 321 * provider/aws: Correctly handle AWS keypairs which no longer exist [GH-2032] 322 * provider/aws: Fix issue with restoring an Instance from snapshot ID [GH-2120] 323 * provider/template: store relative path in the state [GH-2038] 324 * provisioner/chef: fix interpolation in the Chef provisioner [GH-2168] 325 * provisioner/remote-exec: Don't prepend shebang on scripts that already 326 have one [GH-2041] 327 328 ## 0.5.2 (May 15, 2015) 329 330 FEATURES: 331 332 * **Chef provisioning**: You can now provision new hosts (both Linux and 333 Windows) with [Chef](https://chef.io) using a native provisioner [GH-1868] 334 335 IMPROVEMENTS: 336 337 * **New config function: `formatlist`** - Format lists in a similar way to `format`. 338 Useful for creating URLs from a list of IPs. [GH-1829] 339 * **New resource: `aws_route53_zone_association`** 340 * provider/aws: `aws_autoscaling_group` can wait for capacity in ELB 341 via `min_elb_capacity` [GH-1970] 342 * provider/aws: `aws_db_instances` supports `license_model` [GH-1966] 343 * provider/aws: `aws_elasticache_cluster` add support for Tags [GH-1965] 344 * provider/aws: `aws_network_acl` Network ACLs can be applied to multiple subnets [GH-1931] 345 * provider/aws: `aws_s3_bucket` exports `hosted_zone_id` and `region` [GH-1865] 346 * provider/aws: `aws_s3_bucket` add support for website `redirect_all_requests_to` [GH-1909] 347 * provider/aws: `aws_route53_record` exports `fqdn` [GH-1847] 348 * provider/aws: `aws_route53_zone` can create private hosted zones [GH-1526] 349 * provider/google: `google_compute_instance` `scratch` attribute added [GH-1920] 350 351 BUG FIXES: 352 353 * core: fix "resource not found" for interpolation issues with modules 354 * core: fix unflattenable error for orphans [GH-1922] 355 * core: fix deadlock with create-before-destroy + modules [GH-1949] 356 * core: fix "no roots found" error with create-before-destroy [GH-1953] 357 * core: variables set with environment variables won't validate as 358 not set without a default [GH-1930] 359 * core: resources with a blank ID in the state are now assumed to not exist [GH-1905] 360 * command/push: local vars override remote ones [GH-1881] 361 * provider/aws: Mark `aws_security_group` description as `ForceNew` [GH-1871] 362 * provider/aws: `aws_db_instance` ARN value is correct [GH-1910] 363 * provider/aws: `aws_db_instance` only submit modify request if there 364 is a change. [GH-1906] 365 * provider/aws: `aws_elasticache_cluster` export missing information on cluster nodes [GH-1965] 366 * provider/aws: bad AMI on a launch configuration won't block refresh [GH-1901] 367 * provider/aws: `aws_security_group` + `aws_subnet` - destroy timeout increased 368 to prevent DependencyViolation errors. [GH-1886] 369 * provider/google: `google_compute_instance` Local SSDs no-longer cause crash 370 [GH-1088] 371 * provider/google: `google_http_health_check` Defaults now driven from Terraform, 372 avoids errors on update [GH-1894] 373 * provider/google: `google_compute_template` Update Instance Template network 374 definition to match changes to Instance [GH-980] 375 * provider/template: Fix infinite diff [GH-1898] 376 377 ## 0.5.1 (never released) 378 379 This version was never released since we accidentally skipped it! 380 381 ## 0.5.0 (May 7, 2015) 382 383 BACKWARDS INCOMPATIBILITIES: 384 385 * provider/aws: Terraform now remove the default egress rule created by AWS in 386 a new security group. 387 388 FEATURES: 389 390 * **Multi-provider (a.k.a multi-region)**: Multiple instances of a single 391 provider can be configured so resources can apply to different settings. 392 As an example, this allows Terraform to manage multiple regions with AWS. 393 * **Environmental variables to set variables**: Environment variables can be 394 used to set variables. The environment variables must be in the format 395 `TF_VAR_name` and this will be checked last for a value. 396 * **New remote state backend: `s3`**: You can now store remote state in 397 an S3 bucket. [GH-1723] 398 * **Automatic AWS retries**: This release includes a lot of improvement 399 around automatic retries of transient errors in AWS. The number of 400 retry attempts is also configurable. 401 * **Templates**: A new `template_file` resource allows long strings needing 402 variable interpolation to be moved into files. [GH-1778] 403 * **Provision with WinRM**: Provisioners can now run remote commands on 404 Windows hosts. [GH-1483] 405 406 IMPROVEMENTS: 407 408 * **New config function: `length`** - Get the length of a string or a list. 409 Useful in conjunction with `split`. [GH-1495] 410 * **New resource: `aws_app_cookie_stickiness_policy`** 411 * **New resource: `aws_customer_gateway`** 412 * **New resource: `aws_ebs_volume`** 413 * **New resource: `aws_elasticache_cluster`** 414 * **New resource: `aws_elasticache_security_group`** 415 * **New resource: `aws_elasticache_subnet_group`** 416 * **New resource: `aws_iam_access_key`** 417 * **New resource: `aws_iam_group_policy`** 418 * **New resource: `aws_iam_group`** 419 * **New resource: `aws_iam_instance_profile`** 420 * **New resource: `aws_iam_policy`** 421 * **New resource: `aws_iam_role_policy`** 422 * **New resource: `aws_iam_role`** 423 * **New resource: `aws_iam_user_policy`** 424 * **New resource: `aws_iam_user`** 425 * **New resource: `aws_lb_cookie_stickiness_policy`** 426 * **New resource: `aws_proxy_protocol_policy`** 427 * **New resource: `aws_security_group_rule`** 428 * **New resource: `aws_vpc_dhcp_options_association`** 429 * **New resource: `aws_vpc_dhcp_options`** 430 * **New resource: `aws_vpn_connection_route`** 431 * **New resource: `google_dns_managed_zone`** 432 * **New resource: `google_dns_record_set`** 433 * **Migrate to upstream AWS SDK:** Migrate the AWS provider to 434 [awslabs/aws-sdk-go](https://github.com/awslabs/aws-sdk-go), 435 the official `awslabs` library. Previously we had forked the library for 436 stability while `awslabs` refactored. Now that work has completed, and we've 437 migrated back to the upstream version. 438 * core: Improve error message on diff mismatch [GH-1501] 439 * provisioner/file: expand `~` in source path [GH-1569] 440 * provider/aws: Better retry logic, now retries up to 11 times by default 441 with exponentional backoff. This number is configurable. [GH-1787] 442 * provider/aws: Improved credential detection [GH-1470] 443 * provider/aws: Can specify a `token` via the config file [GH-1601] 444 * provider/aws: Added new `vpc_security_group_ids` attribute for AWS 445 Instances. If using a VPC, you can now modify the security groups for that 446 Instance without destroying it [GH-1539] 447 * provider/aws: White or blacklist account IDs that can be used to 448 protect against accidents. [GH-1595] 449 * provider/aws: Add a subset of IAM resources [GH-939] 450 * provider/aws: `aws_autoscaling_group` retries deletes through "in progress" 451 errors [GH-1840] 452 * provider/aws: `aws_autoscaling_group` waits for healthy capacity during 453 ASG creation [GH-1839] 454 * provider/aws: `aws_instance` supports placement groups [GH-1358] 455 * provider/aws: `aws_eip` supports network interface attachment [GH-1681] 456 * provider/aws: `aws_elb` supports in-place changing of listeners [GH-1619] 457 * provider/aws: `aws_elb` supports connection draining settings [GH-1502] 458 * provider/aws: `aws_elb` increase default idle timeout to 60s [GH-1646] 459 * provider/aws: `aws_key_pair` name can be omitted and generated [GH-1751] 460 * provider/aws: `aws_network_acl` improved validation for network ACL ports 461 and protocols [GH-1798] [GH-1808] 462 * provider/aws: `aws_route_table` can target network interfaces [GH-968] 463 * provider/aws: `aws_route_table` can specify propagating VGWs [GH-1516] 464 * provider/aws: `aws_route53_record` supports weighted sets [GH-1578] 465 * provider/aws: `aws_route53_zone` exports nameservers [GH-1525] 466 * provider/aws: `aws_s3_bucket` website support [GH-1738] 467 * provider/aws: `aws_security_group` name becomes optional and can be 468 automatically set to a unique identifier; this helps with 469 `create_before_destroy` scenarios [GH-1632] 470 * provider/aws: `aws_security_group` description becomes optional with a 471 static default value [GH-1632] 472 * provider/aws: automatically set the private IP as the SSH address 473 if not specified and no public IP is available [GH-1623] 474 * provider/aws: `aws_elb` exports `source_security_group` field [GH-1708] 475 * provider/aws: `aws_route53_record` supports alias targeting [GH-1775] 476 * provider/aws: Remove default AWS egress rule for newly created Security Groups [GH-1765] 477 * provider/consul: add `scheme` configuration argument [GH-1838] 478 * provider/docker: `docker_container` can specify links [GH-1564] 479 * provider/google: `resource_compute_disk` supports snapshots [GH-1426] 480 * provider/google: `resource_compute_instance` supports specifying the 481 device name [GH-1426] 482 * provider/openstack: Floating IP support for LBaaS [GH-1550] 483 * provider/openstack: Add AZ to `openstack_blockstorage_volume_v1` [GH-1726] 484 485 BUG FIXES: 486 487 * core: Fix graph cycle issues surrounding modules [GH-1582] [GH-1637] 488 * core: math on arbitrary variables works if first operand isn't a 489 numeric primitive. [GH-1381] 490 * core: avoid unnecessary cycles by pruning tainted destroys from 491 graph if there are no tainted resources [GH-1475] 492 * core: fix issue where destroy nodes weren't pruned in specific 493 edge cases around matching prefixes, which could cause cycles [GH-1527] 494 * core: fix issue causing diff mismatch errors in certain scenarios during 495 resource replacement [GH-1515] 496 * core: dependencies on resources with a different index work when 497 count > 1 [GH-1540] 498 * core: don't panic if variable default type is invalid [GH-1344] 499 * core: fix perpetual diff issue for computed maps that are empty [GH-1607] 500 * core: validation added to check for `self` variables in modules [GH-1609] 501 * core: fix edge case where validation didn't pick up unknown fields 502 if the value was computed [GH-1507] 503 * core: Fix issue where values in sets on resources couldn't contain 504 hyphens. [GH-1641] 505 * core: Outputs removed from the config are removed from the state [GH-1714] 506 * core: Validate against the worst-case graph during plan phase to catch cycles 507 that would previously only show up during apply [GH-1655] 508 * core: Referencing invalid module output in module validates [GH-1448] 509 * command: remote states with uppercase types work [GH-1356] 510 * provider/aws: Support `AWS_SECURITY_TOKEN` env var again [GH-1785] 511 * provider/aws: Don't save "instance" for EIP if association fails [GH-1776] 512 * provider/aws: launch configuration ID set after create success [GH-1518] 513 * provider/aws: Fixed an issue with creating ELBs without any tags [GH-1580] 514 * provider/aws: Fix issue in Security Groups with empty IPRanges [GH-1612] 515 * provider/aws: manually deleted S3 buckets are refreshed properly [GH-1574] 516 * provider/aws: only check for EIP allocation ID in VPC [GH-1555] 517 * provider/aws: raw protocol numbers work in `aws_network_acl` [GH-1435] 518 * provider/aws: Block devices can be encrypted [GH-1718] 519 * provider/aws: ASG health check grace period can be updated in-place [GH-1682] 520 * provider/aws: ELB security groups can be updated in-place [GH-1662] 521 * provider/aws: `aws_main_route_table_association` can be deleted 522 manually [GH-1806] 523 * provider/docker: image can reference more complex image addresses, 524 such as with private repos with ports [GH-1818] 525 * provider/openstack: region config is not required [GH-1441] 526 * provider/openstack: `enable_dhcp` for networking subnet should be bool [GH-1741] 527 * provisioner/remote-exec: add random number to uploaded script path so 528 that parallel provisions work [GH-1588] 529 * provisioner/remote-exec: chmod the script to 0755 properly [GH-1796] 530 531 ## 0.4.2 (April 10, 2015) 532 533 BUG FIXES: 534 535 * core: refresh won't remove outputs from state file [GH-1369] 536 * core: clarify "unknown variable" error [GH-1480] 537 * core: properly merge parent provider configs when asking for input 538 * provider/aws: fix panic possibility if RDS DB name is empty [GH-1460] 539 * provider/aws: fix issue detecting credentials for some resources [GH-1470] 540 * provider/google: fix issue causing unresolvable diffs when using legacy 541 `network` field on `google_compute_instance` [GH-1458] 542 543 ## 0.4.1 (April 9, 2015) 544 545 IMPROVEMENTS: 546 547 * provider/aws: Route 53 records can now update `ttl` and `records` attributes 548 without destroying/creating the record [GH-1396] 549 * provider/aws: Support changing additional attributes of RDS databases 550 without forcing a new resource [GH-1382] 551 552 BUG FIXES: 553 554 * core: module paths in ".terraform" are consistent across different 555 systems so copying your ".terraform" folder works. [GH-1418] 556 * core: don't validate providers too early when nested in a module [GH-1380] 557 * core: fix race condition in `count.index` interpolation [GH-1454] 558 * core: properly initialize provisioners, fixing resource targeting 559 during destroy [GH-1544] 560 * command/push: don't ask for input if terraform.tfvars is present 561 * command/remote-config: remove spurrious error "nil" when initializing 562 remote state on a new configuration. [GH-1392] 563 * provider/aws: Fix issue with Route 53 and pre-existing Hosted Zones [GH-1415] 564 * provider/aws: Fix refresh issue in Route 53 hosted zone [GH-1384] 565 * provider/aws: Fix issue when changing map-public-ip in Subnets #1234 566 * provider/aws: Fix issue finding db subnets [GH-1377] 567 * provider/aws: Fix issues with `*_block_device` attributes on instances and 568 launch configs creating unresolvable diffs when certain optional 569 parameters were omitted from the config [GH-1445] 570 * provider/aws: Fix issue with `aws_launch_configuration` causing an 571 unnecessary diff for pre-0.4 environments [GH-1371] 572 * provider/aws: Fix several related issues with `aws_launch_configuration` 573 causing unresolvable diffs [GH-1444] 574 * provider/aws: Fix issue preventing launch configurations from being valid 575 in EC2 Classic [GH-1412] 576 * provider/aws: Fix issue in updating Route 53 records on refresh/read. [GH-1430] 577 * provider/docker: Don't ask for `cert_path` input on every run [GH-1432] 578 * provider/google: Fix issue causing unresolvable diff on instances with 579 `network_interface` [GH-1427] 580 581 ## 0.4.0 (April 2, 2015) 582 583 BACKWARDS INCOMPATIBILITIES: 584 585 * Commands `terraform push` and `terraform pull` are now nested under 586 the `remote` command: `terraform remote push` and `terraform remote pull`. 587 The old `remote` functionality is now at `terraform remote config`. This 588 consolidates all remote state management under one command. 589 * Period-prefixed configuration files are now ignored. This might break 590 existing Terraform configurations if you had period-prefixed files. 591 * The `block_device` attribute of `aws_instance` has been removed in favor 592 of three more specific attributes to specify block device mappings: 593 `root_block_device`, `ebs_block_device`, and `ephemeral_block_device`. 594 Configurations using the old attribute will generate a validation error 595 indicating that they must be updated to use the new fields [GH-1045]. 596 597 FEATURES: 598 599 * **New provider: `dme` (DNSMadeEasy)** [GH-855] 600 * **New provider: `docker` (Docker)** - Manage container lifecycle 601 using the standard Docker API. [GH-855] 602 * **New provider: `openstack` (OpenStack)** - Interact with the many resources 603 provided by OpenStack. [GH-924] 604 * **New feature: `terraform_remote_state` resource** - Reference remote 605 states from other Terraform runs to use Terraform outputs as inputs 606 into another Terraform run. 607 * **New command: `taint`** - Manually mark a resource as tainted, causing 608 a destroy and recreate on the next plan/apply. 609 * **New resource: `aws_vpn_gateway`** [GH-1137] 610 * **New resource: `aws_elastic_network_interfaces`** [GH-1149] 611 * **Self-variables** can be used to reference the current resource's 612 attributes within a provisioner. Ex. `${self.private_ip_address}` [GH-1033] 613 * **Continuous state** saving during `terraform apply`. The state file is 614 continuously updated as apply is running, meaning that the state is 615 less likely to become corrupt in a catastrophic case: terraform panic 616 or system killing Terraform. 617 * **Math operations** in interpolations. You can now do things like 618 `${count.index + 1}`. [GH-1068] 619 * **New AWS SDK:** Move to `aws-sdk-go` (hashicorp/aws-sdk-go), 620 a fork of the official `awslabs` repo. We forked for stability while 621 `awslabs` refactored the library, and will move back to the officially 622 supported version in the next release. 623 624 IMPROVEMENTS: 625 626 * **New config function: `format`** - Format a string using `sprintf` 627 format. [GH-1096] 628 * **New config function: `replace`** - Search and replace string values. 629 Search can be a regular expression. See documentation for more 630 info. [GH-1029] 631 * **New config function: `split`** - Split a value based on a delimiter. 632 This is useful for faking lists as parameters to modules. 633 * **New resource: `digitalocean_ssh_key`** [GH-1074] 634 * config: Expand `~` with homedir in `file()` paths [GH-1338] 635 * core: The serial of the state is only updated if there is an actual 636 change. This will lower the amount of state changing on things 637 like refresh. 638 * core: Autoload `terraform.tfvars.json` as well as `terraform.tfvars` [GH-1030] 639 * core: `.tf` files that start with a period are now ignored. [GH-1227] 640 * command/remote-config: After enabling remote state, a `pull` is 641 automatically done initially. 642 * providers/google: Add `size` option to disk blocks for instances. [GH-1284] 643 * providers/aws: Improve support for tagging resources. 644 * providers/aws: Add a short syntax for Route 53 Record names, e.g. 645 `www` instead of `www.example.com`. 646 * providers/aws: Improve dependency violation error handling, when deleting 647 Internet Gateways or Auto Scaling groups [GH-1325]. 648 * provider/aws: Add non-destructive updates to AWS RDS. You can now upgrade 649 `engine_version`, `parameter_group_name`, and `multi_az` without forcing 650 a new database to be created.[GH-1341] 651 * providers/aws: Full support for block device mappings on instances and 652 launch configurations [GH-1045, GH-1364] 653 * provisioners/remote-exec: SSH agent support. [GH-1208] 654 655 BUG FIXES: 656 657 * core: module outputs can be used as inputs to other modules [GH-822] 658 * core: Self-referencing splat variables are no longer allowed in 659 provisioners. [GH-795][GH-868] 660 * core: Validate that `depends_on` doesn't contain interpolations. [GH-1015] 661 * core: Module inputs can be non-strings. [GH-819] 662 * core: Fix invalid plan that resulted in "diffs don't match" error when 663 a computed attribute was used as part of a set parameter. [GH-1073] 664 * core: Fix edge case where state containing both "resource" and 665 "resource.0" would ignore the latter completely. [GH-1086] 666 * core: Modules with a source of a relative file path moving up 667 directories work properly, i.e. "../a" [GH-1232] 668 * providers/aws: manually deleted VPC removes it from the state 669 * providers/aws: `source_dest_check` regression fixed (now works). [GH-1020] 670 * providers/aws: Longer wait times for DB instances. 671 * providers/aws: Longer wait times for route53 records (30 mins). [GH-1164] 672 * providers/aws: Fix support for TXT records in Route 53. [GH-1213] 673 * providers/aws: Fix support for wildcard records in Route 53. [GH-1222] 674 * providers/aws: Fix issue with ignoring the 'self' attribute of a 675 Security Group rule. [GH-1223] 676 * providers/aws: Fix issue with `sql_mode` in RDS parameter group always 677 causing an update. [GH-1225] 678 * providers/aws: Fix dependency violation with subnets and security groups 679 [GH-1252] 680 * providers/aws: Fix issue with refreshing `db_subnet_groups` causing an error 681 instead of updating state [GH-1254] 682 * providers/aws: Prevent empty string to be used as default 683 `health_check_type` [GH-1052] 684 * providers/aws: Add tags on AWS IG creation, not just on update [GH-1176] 685 * providers/digitalocean: Waits until droplet is ready to be destroyed [GH-1057] 686 * providers/digitalocean: More lenient about 404's while waiting [GH-1062] 687 * providers/digitalocean: FQDN for domain records in CNAME, MX, NS, etc. 688 Also fixes invalid updates in plans. [GH-863] 689 * providers/google: Network data in state was not being stored. [GH-1095] 690 * providers/heroku: Fix panic when config vars block was empty. [GH-1211] 691 692 PLUGIN CHANGES: 693 694 * New `helper/schema` fields for resources: `Deprecated` and `Removed` allow 695 plugins to generate warning or error messages when a given attribute is used. 696 697 ## 0.3.7 (February 19, 2015) 698 699 IMPROVEMENTS: 700 701 * **New resources: `google_compute_forwarding_rule`, `google_compute_http_health_check`, 702 and `google_compute_target_pool`** - Together these provide network-level 703 load balancing. [GH-588] 704 * **New resource: `aws_main_route_table_association`** - Manage the main routing table 705 of a VPC. [GH-918] 706 * **New resource: `aws_vpc_peering_connection`** [GH-963] 707 * core: Formalized the syntax of interpolations and documented it 708 very heavily. 709 * core: Strings in interpolations can now contain further interpolations, 710 e.g.: `foo ${bar("${baz}")}`. 711 * provider/aws: Internet gateway supports tags [GH-720] 712 * provider/aws: Support the more standard environmental variable names 713 for access key and secret keys. [GH-851] 714 * provider/aws: The `aws_db_instance` resource no longer requires both 715 `final_snapshot_identifier` and `skip_final_snapshot`; the presence or 716 absence of the former now implies the latter. [GH-874] 717 * provider/aws: Avoid unnecessary update of `aws_subnet` when 718 `map_public_ip_on_launch` is not specified in config. [GH-898] 719 * provider/aws: Add `apply_method` to `aws_db_parameter_group` [GH-897] 720 * provider/aws: Add `storage_type` to `aws_db_instance` [GH-896] 721 * provider/aws: ELB can update listeners without requiring new. [GH-721] 722 * provider/aws: Security group support egress rules. [GH-856] 723 * provider/aws: Route table supports VPC peering connection on route. [GH-963] 724 * provider/aws: Add `root_block_device` to `aws_db_instance` [GH-998] 725 * provider/google: Remove "client secrets file", as it's no longer necessary 726 for API authentication [GH-884]. 727 * provider/google: Expose `self_link` on `google_compute_instance` [GH-906] 728 729 BUG FIXES: 730 731 * core: Fixing use of remote state with plan files. [GH-741] 732 * core: Fix a panic case when certain invalid types were used in 733 the configuration. [GH-691] 734 * core: Escape characters `\"`, `\n`, and `\\` now work in interpolations. 735 * core: Fix crash that could occur when there are exactly zero providers 736 installed on a system. [GH-786] 737 * core: JSON TF configurations can configure provisioners. [GH-807] 738 * core: Sort `depends_on` in state to prevent unnecessary file changes. [GH-928] 739 * core: State containing the zero value won't cause a diff with the 740 lack of a value. [GH-952] 741 * core: If a set type becomes empty, the state will be properly updated 742 to remove it. [GH-952] 743 * core: Bare "splat" variables are not allowed in provisioners. [GH-636] 744 * core: Invalid configuration keys to sub-resources are now errors. [GH-740] 745 * command/apply: Won't try to initialize modules in some cases when 746 no arguments are given. [GH-780] 747 * command/apply: Fix regression where user variables weren't asked [GH-736] 748 * helper/hashcode: Update `hash.String()` to always return a positive index. 749 Fixes issue where specific strings would convert to a negative index 750 and be omitted when creating Route53 records. [GH-967] 751 * provider/aws: Automatically suffix the Route53 zone name on record names. [GH-312] 752 * provider/aws: Instance should ignore root EBS devices. [GH-877] 753 * provider/aws: Fix `aws_db_instance` to not recreate each time. [GH-874] 754 * provider/aws: ASG termination policies are synced with remote state. [GH-923] 755 * provider/aws: ASG launch configuration setting can now be updated in-place. [GH-904] 756 * provider/aws: No read error when subnet is manually deleted. [GH-889] 757 * provider/aws: Tags with empty values (empty string) are properly 758 managed. [GH-968] 759 * provider/aws: Fix case where route table would delete its routes 760 on an unrelated change. [GH-990] 761 * provider/google: Fix bug preventing instances with metadata from being 762 created [GH-884]. 763 764 PLUGIN CHANGES: 765 766 * New `helper/schema` type: `TypeFloat` [GH-594] 767 * New `helper/schema` field for resources: `Exists` must point to a function 768 to check for the existence of a resource. This is used to properly 769 handle the case where the resource was manually deleted. [GH-766] 770 * There is a semantic change in `GetOk` where it will return `true` if 771 there is any value in the diff that is _non-zero_. Before, it would 772 return true only if there was a value in the diff. 773 774 ## 0.3.6 (January 6, 2015) 775 776 FEATURES: 777 778 * **New provider: `cloudstack`** 779 780 IMPROVEMENTS: 781 782 * **New resource: `aws_key_pair`** - Import a public key into AWS. [GH-695] 783 * **New resource: `heroku_cert`** - Manage Heroku app certs. 784 * provider/aws: Support `eu-central-1`, `cn-north-1`, and GovCloud. [GH-525] 785 * provider/aws: `route_table` can have tags. [GH-648] 786 * provider/google: Support Ubuntu images. [GH-724] 787 * provider/google: Support for service accounts. [GH-725] 788 789 BUG FIXES: 790 791 * core: temporary/hidden files that look like Terraform configurations 792 are no longer loaded. [GH-548] 793 * core: Set types in resources now result in deterministic states, 794 resulting in cleaner plans. [GH-663] 795 * core: fix issue where "diff was not the same" would come up with 796 diffing lists. [GH-661] 797 * core: fix crash where module inputs weren't strings, and add more 798 validation around invalid types here. [GH-624] 799 * core: fix error when using a computed module output as an input to 800 another module. [GH-659] 801 * core: map overrides in "terraform.tfvars" no longer result in a syntax 802 error. [GH-647] 803 * core: Colon character works in interpolation [GH-700] 804 * provider/aws: Fix crash case when internet gateway is not attached 805 to any VPC. [GH-664] 806 * provider/aws: `vpc_id` is no longer required. [GH-667] 807 * provider/aws: `availability_zones` on ELB will contain more than one 808 AZ if it is set as such. [GH-682] 809 * provider/aws: More fields are marked as "computed" properly, resulting 810 in more accurate diffs for AWS instances. [GH-712] 811 * provider/aws: Fix panic case by using the wrong type when setting 812 volume size for AWS instances. [GH-712] 813 * provider/aws: route table ignores routes with 'EnableVgwRoutePropagation' 814 origin since those come from gateways. [GH-722] 815 * provider/aws: Default network ACL ID and default security group ID 816 support for `aws_vpc`. [GH-704] 817 * provider/aws: Tags are not marked as computed. This introduces another 818 issue with not detecting external tags, but this will be fixed in 819 the future. [GH-730] 820 821 ## 0.3.5 (December 9, 2014) 822 823 FEATURES: 824 825 * **Remote State**: State files can now be stored remotely via HTTP, 826 Consul, or HashiCorp's Atlas. 827 * **New Provider: `atlas`**: Retrieve artifacts for deployment from 828 HashiCorp's Atlas service. 829 * New `element()` function to index into arrays 830 831 IMPROVEMENTS: 832 833 * provider/aws: Support tenancy for aws\_instance 834 * provider/aws: Support block devices for aws\_instance 835 * provider/aws: Support virtual\_name on block device 836 * provider/aws: Improve RDS reliability (more grace time) 837 * provider/aws: Added aws\_db\_parameter\_group resource 838 * provider/aws: Added tag support to aws\_subnet 839 * provider/aws: Routes in RouteTable are optional 840 * provider/aws: associate\_public\_ip\_address on aws\_launch\_configuration 841 * provider/aws: Added aws\_network\_acl 842 * provider/aws: Ingress rules in security groups are optional 843 * provider/aws: Support termination policy for ASG 844 * provider/digitalocean: Improved droplet size compatibility 845 846 BUG FIXES: 847 848 * core: Fixed issue causing double delete. [GH-555] 849 * core: Fixed issue with create-before-destroy not being respected in 850 some circumstances. 851 * core: Fixing issue with count expansion with non-homogenous instance 852 plans. 853 * core: Fix issue with referencing resource variables from resources 854 that don't exist yet within resources that do exist, or modules. 855 * core: Fixing depedency handling for modules 856 * core: Fixing output handling [GH-474] 857 * core: Fixing count interpolation in modules 858 * core: Fixing multi-var without module state 859 * core: Fixing HCL variable declaration 860 * core: Fixing resource interpolation for without state 861 * core: Fixing handling of computed maps 862 * command/init: Fixing recursion issue [GH-518] 863 * command: Validate config before requesting input [GH-602] 864 * build: Fixing GOPATHs with spaces 865 866 MISC: 867 868 * provider/aws: Upgraded to helper.Schema 869 * provider/heroku: Upgraded to helper.Schema 870 * provider/mailgun: Upgraded to helper.Schema 871 * provider/dnsimple: Upgraded to helper.Schema 872 * provider/cloudflare: Upgraded to helper.Schema 873 * provider/digitalocean: Upgraded to helper.Schema 874 * provider/google: Upgraded to helper.Schema 875 876 ## 0.3.1 (October 21, 2014) 877 878 IMPROVEMENTS: 879 880 * providers/aws: Support tags for security groups. 881 * providers/google: Add "external\_address" to network attributes [GH-454] 882 * providers/google: External address is used as default connection host. [GH-454] 883 * providers/heroku: Support `locked` and `personal` booleans on organization 884 settings. [GH-406] 885 886 BUG FIXES: 887 888 * core: Remove panic case when applying with a plan that generates no 889 new state. [GH-403] 890 * core: Fix a hang that can occur with enough resources. [GH-410] 891 * core: Config validation will not error if the field is being 892 computed so the value is still unknown. 893 * core: If a resource fails to create and has provisioners, it is 894 marked as tainted. [GH-434] 895 * core: Set types are validated to be sets. [GH-413] 896 * core: String types are validated properly. [GH-460] 897 * core: Fix crash case when destroying with tainted resources. [GH-412] 898 * core: Don't execute provisioners in some cases on destroy. 899 * core: Inherited provider configurations will be properly interpolated. [GH-418] 900 * core: Refresh works properly if there are outputs that depend on resources 901 that aren't yet created. [GH-483] 902 * providers/aws: Refresh of launch configs and autoscale groups load 903 the correct data and don't incorrectly recreate themselves. [GH-425] 904 * providers/aws: Fix case where ELB would incorrectly plan to modify 905 listeners (with the same data) in some cases. 906 * providers/aws: Retry destroying internet gateway for some amount of time 907 if there is a dependency violation since it is probably just eventual 908 consistency (public facing resources being destroyed). [GH-447] 909 * providers/aws: Retry deleting security groups for some amount of time 910 if there is a dependency violation since it is probably just eventual 911 consistency. [GH-436] 912 * providers/aws: Retry deleting subnet for some amount of time if there is a 913 dependency violation since probably asynchronous destroy events take 914 place still. [GH-449] 915 * providers/aws: Drain autoscale groups before deleting. [GH-435] 916 * providers/aws: Fix crash case if launch config is manually deleted. [GH-421] 917 * providers/aws: Disassociate EIP before destroying. 918 * providers/aws: ELB treats subnets as a set. 919 * providers/aws: Fix case where in a destroy/create tags weren't reapplied. [GH-464] 920 * providers/aws: Fix incorrect/erroneous apply cases around security group 921 rules. [GH-457] 922 * providers/consul: Fix regression where `key` param changed to `keys. [GH-475] 923 924 ## 0.3.0 (October 14, 2014) 925 926 FEATURES: 927 928 * **Modules**: Configuration can now be modularized. Modules can live on 929 GitHub, BitBucket, Git/Hg repos, HTTP URLs, and file paths. Terraform 930 automatically downloads/updates modules for you on request. 931 * **New Command: `init`**. This command initializes a Terraform configuration 932 from an existing Terraform module (also new in 0.3). 933 * **New Command: `destroy`**. This command destroys infrastructure 934 created with `apply`. 935 * Terraform will ask for user input to fill in required variables and 936 provider configurations if they aren't set. 937 * `terraform apply MODULE` can be used as a shorthand to quickly build 938 infrastructure from a module. 939 * The state file format is now JSON rather than binary. This allows for 940 easier machine and human read/write. Old binary state files will be 941 automatically upgraded. 942 * You can now specify `create_before_destroy` as an option for replacement 943 so that new resources are created before the old ones are destroyed. 944 * The `count` metaparameter can now contain interpolations (such as 945 variables). 946 * The current index for a resource with a `count` set can be interpolated 947 using `${count.index}`. 948 * Various paths can be interpolated with the `path.X` variables. For example, 949 the path to the current module can be interpolated using `${path.module}`. 950 951 IMPROVEMENTS: 952 953 * config: Trailing commas are now allowed for the final elements of lists. 954 * core: Plugins are loaded from `~/.terraform.d/plugins` (Unix) or 955 `%USERDATA%/terraform.d/plugins` (Windows). 956 * command/show: With no arguments, it will show the default state. [GH-349] 957 * helper/schema: Can now have default values. [GH-245] 958 * providers/aws: Tag support for most resources. 959 * providers/aws: New resource `db_subnet_group`. [GH-295] 960 * providers/aws: Add `map_public_ip_on_launch` for subnets. [GH-285] 961 * providers/aws: Add `iam_instance_profile` for instances. [GH-319] 962 * providers/aws: Add `internal` option for ELBs. [GH-303] 963 * providers/aws: Add `ssl_certificate_id` for ELB listeners. [GH-350] 964 * providers/aws: Add `self` option for security groups for ingress 965 rules with self as source. [GH-303] 966 * providers/aws: Add `iam_instance_profile` option to 967 `aws_launch_configuration`. [GH-371] 968 * providers/aws: Non-destructive update of `desired_capacity` for 969 autoscale groups. 970 * providers/aws: Add `main_route_table_id` attribute to VPCs. [GH-193] 971 * providers/consul: Support tokens. [GH-396] 972 * providers/google: Support `target_tags` for firewalls. [GH-324] 973 * providers/google: `google_compute_instance` supports `can_ip_forward` [GH-375] 974 * providers/google: `google_compute_disk` supports `type` to support disks 975 such as SSDs. [GH-351] 976 * provisioners/local-exec: Output from command is shown in CLI output. [GH-311] 977 * provisioners/remote-exec: Output from command is shown in CLI output. [GH-311] 978 979 BUG FIXES: 980 981 * core: Providers are validated even without a `provider` block. [GH-284] 982 * core: In the case of error, walk all non-dependent trees. 983 * core: Plugin loading from CWD works properly. 984 * core: Fix many edge cases surrounding the `count` meta-parameter. 985 * core: Strings in the configuration can escape double-quotes with the 986 standard `\"` syntax. 987 * core: Error parsing CLI config will show properly. [GH-288] 988 * core: More than one Ctrl-C will exit immediately. 989 * providers/aws: autoscaling_group can be launched into a vpc [GH-259] 990 * providers/aws: not an error when RDS instance is deleted manually. [GH-307] 991 * providers/aws: Retry deleting subnet for some time while AWS eventually 992 destroys dependencies. [GH-357] 993 * providers/aws: More robust destroy for route53 records. [GH-342] 994 * providers/aws: ELB generates much more correct plans without extranneous 995 data. 996 * providers/aws: ELB works properly with dynamically changing 997 count of instances. 998 * providers/aws: Terraform can handle ELBs deleted manually. [GH-304] 999 * providers/aws: Report errors properly if RDS fails to delete. [GH-310] 1000 * providers/aws: Wait for launch configuration to exist after creation 1001 (AWS eventual consistency) [GH-302] 1002 1003 ## 0.2.2 (September 9, 2014) 1004 1005 IMPROVEMENTS: 1006 1007 * providers/amazon: Add `ebs_optimized` flag. [GH-260] 1008 * providers/digitalocean: Handle 404 on delete 1009 * providers/digitalocean: Add `user_data` argument for creating droplets 1010 * providers/google: Disks can be marked `auto_delete`. [GH-254] 1011 1012 BUG FIXES: 1013 1014 * core: Fix certain syntax of configuration that could cause hang. [GH-261] 1015 * core: `-no-color` flag properly disables color. [GH-250] 1016 * core: "~" is expanded in `-var-file` flags. [GH-273] 1017 * core: Errors with tfvars are shown in console. [GH-269] 1018 * core: Interpolation function calls with more than two args parse. [GH-282] 1019 * providers/aws: Refreshing EIP from pre-0.2 state file won't error. [GH-258] 1020 * providers/aws: Creating EIP without an instance/network won't fail. 1021 * providers/aws: Refreshing EIP manually deleted works. 1022 * providers/aws: Retry EIP delete to allow AWS eventual consistency to 1023 detect it isn't attached. [GH-276] 1024 * providers/digitalocean: Handle situations when resource was destroyed 1025 manually. [GH-279] 1026 * providers/digitalocean: Fix a couple scenarios where the diff was 1027 incorrect (and therefore the execution as well). 1028 * providers/google: Attaching a disk source (not an image) works 1029 properly. [GH-254] 1030 1031 ## 0.2.1 (August 31, 2014) 1032 1033 IMPROVEMENTS: 1034 1035 * core: Plugins are automatically discovered in the executable directory 1036 or pwd if named properly. [GH-190] 1037 * providers/mailgun: domain records are now saved to state 1038 1039 BUG FIXES: 1040 1041 * core: Configuration parses when identifier and '=' have no space. [GH-243] 1042 * core: `depends_on` with `count` generates the proper graph. [GH-244] 1043 * core: Depending on a computed variable of a list type generates a 1044 plan without failure. i.e. `${type.name.foos.0.bar}` where `foos` 1045 is computed. [GH-247] 1046 * providers/aws: Route53 destroys in parallel work properly. [GH-183] 1047 1048 ## 0.2.0 (August 28, 2014) 1049 1050 BACKWARDS INCOMPATIBILITIES: 1051 1052 * We've replaced the configuration language in use from a C library to 1053 a pure-Go reimplementation. In the process, we removed some features 1054 of the language since it was too flexible: 1055 * Semicolons are no longer valid at the end of lines 1056 * Keys cannot be double-quoted strings: `"foo" = "bar"` is no longer 1057 valid. 1058 * JSON style maps `{ "foo": "bar" }` are no longer valid outside of JSON. 1059 Maps must be in the format of `{ foo = "bar" }` (like other objects 1060 in the config) 1061 * Heroku apps now require (will not validate without) `region` and 1062 `name` due to an upstream API change. [GH-239] 1063 1064 FEATURES: 1065 1066 * **New Provider: `google`**: Manage Google Compute instances, disks, 1067 firewalls, and more. 1068 * **New Provider: `mailgun`**: Manage mailgun domains. 1069 * **New Function: `concat`**: Concatenate multiple strings together. 1070 Example: `concat(var.region, "-", var.channel)`. 1071 1072 IMPROVEMENTS: 1073 1074 * core: "~/.terraformrc" (Unix) or "%APPDATA%/terraform.rc" (Windows) 1075 can be used to configure custom providers and provisioners. [GH-192] 1076 * providers/aws: EIPs now expose `allocation_id` and `public_ip` 1077 attributes. 1078 * providers/aws: Security group rules can be updated without a 1079 destroy/create. 1080 * providers/aws: You can enable and disable dns settings for VPCs. [GH-172] 1081 * providers/aws: Can specify a private IP address for `aws_instance` [GH-217] 1082 1083 BUG FIXES: 1084 1085 * core: Variables are validated to not contain interpolations. [GH-180] 1086 * core: Key files for provisioning can now contain `~` and will be expanded 1087 to the user's home directory. [GH-179] 1088 * core: The `file()` function can load files in sub-directories. [GH-213] 1089 * core: Fix issue where some JSON structures didn't map properly into 1090 Terraform structures. [GH-177] 1091 * core: Resources with only `file()` calls will interpolate. [GH-159] 1092 * core: Variables work in block names. [GH-234] 1093 * core: Plugins are searched for in the same directory as the executable 1094 before the PATH. [GH-157] 1095 * command/apply: "tfvars" file no longer interferes with plan apply. [GH-153] 1096 * providers/aws: Fix issues around failing to read EIPs. [GH-122] 1097 * providers/aws: Autoscaling groups now register and export load 1098 balancers. [GH-207] 1099 * providers/aws: Ingress results are treated as a set, so order doesn't 1100 matter anymore. [GH-87] 1101 * providers/aws: Instance security groups treated as a set [GH-194] 1102 * providers/aws: Retry Route53 requests if operation failed because another 1103 operation is in progress [GH-183] 1104 * providers/aws: Route53 records with multiple record values work. [GH-221] 1105 * providers/aws: Changing AMI doesn't result in errors anymore. [GH-196] 1106 * providers/heroku: If you delete the `config_vars` block, config vars 1107 are properly nuked. 1108 * providers/heroku: Domains and drains are deleted before the app. 1109 * providers/heroku: Moved from the client library bgentry/heroku-go to 1110 cyberdelia/heroku-go [GH-239]. 1111 * providers/heroku: Plans without a specific plan name for 1112 heroku\_addon work. [GH-198] 1113 1114 PLUGIN CHANGES: 1115 1116 * **New Package:** `helper/schema`. This introduces a high-level framework 1117 for easily writing new providers and resources. The Heroku provider has 1118 been converted to this as an example. 1119 1120 ## 0.1.1 (August 5, 2014) 1121 1122 FEATURES: 1123 1124 * providers/heroku: Now supports creating Heroku Drains [GH-97] 1125 1126 IMPROVEMENTS: 1127 1128 * providers/aws: Launch configurations accept user data [GH-94] 1129 * providers/aws: Regions are now validated [GH-96] 1130 * providers/aws: ELB now supports health check configurations [GH-109] 1131 1132 BUG FIXES: 1133 1134 * core: Default variable file "terraform.tfvars" is auto-loaded. [GH-59] 1135 * core: Multi-variables (`foo.*.bar`) work even when `count = 1`. [GH-115] 1136 * core: `file()` function can have string literal arg [GH-145] 1137 * providers/cloudflare: Include the proper bins so the cloudflare 1138 provider is compiled 1139 * providers/aws: Engine version for RDS now properly set [GH-118] 1140 * providers/aws: Security groups now depend on each other and 1141 * providers/aws: DB instances now wait for destroys, have proper 1142 dependencies and allow passing skip_final_snapshot 1143 * providers/aws: Add associate_public_ip_address as an attribute on 1144 the aws_instance resource [GH-85] 1145 * providers/aws: Fix cidr blocks being updated [GH-65, GH-85] 1146 * providers/aws: Description is now required for security groups 1147 * providers/digitalocean: Private IP addresses are now a separate 1148 attribute 1149 * provisioner/all: If an SSH key is given with a password, a better 1150 error message is shown. [GH-73] 1151 1152 ## 0.1.0 (July 28, 2014) 1153 1154 * Initial release