发布于 2016-08-03 04:17:31 | 189 次阅读 | 评论: 0 | 来源: 网友投递
Terraform 基础架构管理工具
Terraform 是一个安全和高效的用来构建、更改和合并基础架构的工具。采用 Go 语言开发。Terraform 可管理已有的流行的服务,并提供自定义解决方案。
Terraform 0.7 发布了。
Terraform0.7增加了新的功能,亮点包括:
详细更新列表,请看:https://github.com/hashicorp/terraform/blob/master/CHANGELOG.md
新特性:
Data sources are a new kind of primitive in Terraform. Attributes for data sources are refreshed and available during the planning stage. (#6598)
Lists and maps can now be used as first class types for variables and may also be passed between modules. (#6322)
State management CLI commands provide a variety of state manipulation functions for advanced use cases. This should be used where possible instead of manually modifying state files. (#5811)
State Import allows a way to import existing resources into Terraform state for many types of resource. Initial coverage of AWS is quite high, and it is straightforward to add support for new resources.
New Command: terraform state
to provide access to a variety of state manipulation functions (#5811)
New Option: terraform output
now supports the -json
flag to print a machine-readable representation of outputs (#7608)
New Data Source: aws_ami
(#6911)
New Data Source: aws_availability_zones
(#6805)
New Data Source: aws_iam_policy_document
(#6881)
New Data Source: aws_s3_bucket_object
(#6946)
New Data Source: aws_ecs_container_definition
(#7230)
New Data Source: atlas_artifact
(#7419)
New Data Source: docker_registry_image
(#7000)
New Data Source: consul_keys
(#7678)
New Interpolation Function: sort
(#7128)
New Interpolation Function: distinct
(#7174)
New Interpolation Function: list
(#7528)
New Interpolation Function: map
(#7832)
New Provider: grafana
(#6206)
New Provider: logentries
(#7067)
New Provider: scaleway
(#7331)
New Provider: random
- allows generation of random values without constantly generating diffs (#6672)
New Remote State Provider: - gcs
- Google Cloud Storage (#6814)
New Remote State Provider: - azure
- Microsoft Azure Storage (#7064)
New Resource: aws_elb_attachment
(#6879)
New Resource: aws_elastictranscoder_preset
(#6965)
New Resource: aws_elastictranscoder_pipeline
(#6965)
New Resource: aws_iam_group_policy_attachment
(#6858)
New Resource: aws_iam_role_policy_attachment
(#6858)
New Resource: aws_iam_user_policy_attachment
(#6858)
New Resource: aws_rds_cluster_parameter_group
(#5269)
New Resource: aws_spot_fleet_request
(#7243)
New Resource: aws_ses_active_receipt_rule_set
(#5387)
New Resource: aws_ses_receipt_filter
(#5387)
New Resource: aws_ses_receipt_rule
(#5387)
New Resource: aws_ses_receipt_rule_set
(#5387)
New Resource: aws_simpledb_domain
(#7600)
New Resource: aws_opsworks_user_profile
(#6304)
New Resource: aws_opsworks_permission
(#6304)
New Resource: aws_ami_launch_permission
(#7365)
New Resource: aws_appautoscaling_policy
(#7663)
New Resource: aws_appautoscaling_target
(#7663)
New Resource: openstack_blockstorage_volume_v2
(#6693)
New Resource: openstack_lb_loadbalancer_v2
(#7012)
New Resource: openstack_lb_listener_v2
(#7012)
New Resource: openstack_lb_pool_v2
(#7012)
New Resource: openstack_lb_member_v2
(#7012)
New Resource: openstack_lb_monitor_v2
(#7012)
New Resource: vsphere_virtual_disk
(#6273)
New Resource: github_repository_collaborator
(#6861)
New Resource: datadog_timeboard
(#6900)
New Resource: digitalocean_tag
(#7500)
New Resource: digitalocean_volume
(#7560)
New Resource: consul_agent_service
(#7508)
New Resource: consul_catalog_entry
(#7508)
New Resource: consul_node
(#7508)
New Resource: consul_service
(#7508)
New Resource: mysql_grant
(#7656)
New Resource: mysql_user
(#7656)
New Resource: azurerm_storage_table
(#7327)
New Resource: azurerm_virtual_machine_scale_set
(#6711)
New Resource: azurerm_traffic_manager_endpoint
(#7826)
New Resource: azurerm_traffic_manager_profile
(#7826)
core: Tainted resources now show up in the plan and respect dependency ordering (#6600)
core: The lookup
interpolation function can now have a default fall-back value specified (#6884)
core: The terraform plan
command no longer persists state. (#6811)
详情:https://www.hashicorp.com/blog/terraform-0-7.html