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