Downloads of v 0.5.0:


Last Update:

03 Jun 2015

Package Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp




This is not the latest version of Terraform available.

  • 1
  • 2
  • 3

0.5.0 | Updated: 03 Jun 2015



Downloads of v 0.5.0:



Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp



  • 1
  • 2
  • 3
Terraform 0.5.0

This is not the latest version of Terraform available.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed

Validation Testing Unknown

Verification Testing Unknown

Scan Testing Successful:

No detections found in any package files


Deployment Method: Individual Install, Upgrade, & Uninstall

To install Terraform, run the following command from the command line or from PowerShell:


To upgrade Terraform, run the following command from the command line or from PowerShell:


To uninstall Terraform, run the following command from the command line or from PowerShell:


Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to

2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade terraform -y --source="'INTERNAL REPO URL'" --version="'0.5.0'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade terraform -y --source="'INTERNAL REPO URL'" --version="'0.5.0'" 

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Install terraform
    name: terraform
    version: '0.5.0'
    state: present

See docs at

chocolatey_package 'terraform' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '0.5.0'

See docs at

cChocoPackageInstaller terraform
    Name     = "terraform"
    Version  = "0.5.0"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at

package { 'terraform':
  ensure   => '0.5.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',

Requires Puppet Chocolatey Provider module. See docs at

4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator alexinslc on 04 Jun 2015.


Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently. Terraform can manage existing and popular service providers as well as custom in-house solutions.

The key features of Terraform are:

  • Infrastructure as Code: Infrastructure is described using a high-level configuration syntax. This allows a blueprint of your datacenter to be versioned and treated as you would any other code. Additionally, infrastructure can be shared and re-used.
  • Execution Plans: Terraform has a "planning" step where it generates an execution plan. The execution plan shows what Terraform will do when you call apply. This lets you avoid any surprises when Terraform manipulates infrastructure.
  • Resource Graph: Terraform builds a graph of all your resources, and parallelizes the creation and modification of any non-dependent resources. Because of this, Terraform builds infrastructure as efficiently as possible, and operators get insight into dependencies in their infrastructure.
  • Change Automation: Complex changesets can be applied to your infrastructure with minimal human interaction. With the previously mentioned execution plan and resource graph, you know exactly what Terraform will change and in what order, avoiding many possible human errors.

For more information, see the introduction section of the Terraform website.

$url = ''
$url64bit = ''
$unzipLocation = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

Install-ChocolateyZipPackage "terraform" "$url" "$unzipLocation" "$url64bit"
UnInstall-ChocolateyZipPackage "terraform" ""

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Terraform 1.0.10 3087 Tuesday, November 9, 2021 Approved
Terraform 1.0.9 11867 Tuesday, October 19, 2021 Approved
Terraform 1.0.8 10384 Wednesday, September 29, 2021 Approved
Terraform 1.0.7 7122 Thursday, September 16, 2021 Approved
Terraform 1.0.6 5177 Wednesday, September 8, 2021 Approved
Terraform 1.0.5 483 Monday, August 23, 2021 Approved
Terraform 1.0.4 13098 Sunday, August 8, 2021 Approved
Terraform 1.0.3 5365 Thursday, July 29, 2021 Approved
Terraform 1.0.2 8535 Saturday, July 10, 2021 Approved

0.5.0 (May 7, 2015)


  • provider/aws: Terraform now remove the default egress rule created by AWS in
    a new security group.


  • Multi-provider (a.k.a multi-region): Multiple instances of a single
    provider can be configured so resources can apply to different settings.
    As an example, this allows Terraform to manage multiple regions with AWS.
  • Environmental variables to set variables: Environment variables can be
    used to set variables. The environment variables must be in the format
    TF_VAR_name and this will be checked last for a value.
  • New remote state backend: s3: You can now store remote state in
    an S3 bucket. [GH-1723]
  • Automatic AWS retries: This release includes a lot of improvement
    around automatic retries of transient errors in AWS. The number of
    retry attempts is also configurable.
  • Templates: A new template_file resource allows long strings needing
    variable interpolation to be moved into files. [GH-1778]
  • Provision with WinRM: Provisioners can now run remote commands on
    Windows hosts. [GH-1483]


  • New config function: length - Get the length of a string or a list.
    Useful in conjunction with split. [GH-1495]
  • New resource: aws_app_cookie_stickiness_policy
  • New resource: aws_customer_gateway
  • New resource: aws_ebs_volume
  • New resource: aws_elasticache_cluster
  • New resource: aws_elasticache_security_group
  • New resource: aws_elasticache_subnet_group
  • New resource: aws_iam_access_key
  • New resource: aws_iam_group_policy
  • New resource: aws_iam_group
  • New resource: aws_iam_instance_profile
  • New resource: aws_iam_policy
  • New resource: aws_iam_role_policy
  • New resource: aws_iam_role
  • New resource: aws_iam_user_policy
  • New resource: aws_iam_user
  • New resource: aws_lb_cookie_stickiness_policy
  • New resource: aws_proxy_protocol_policy
  • New resource: aws_security_group_rule
  • New resource: aws_vpc_dhcp_options_association
  • New resource: aws_vpc_dhcp_options
  • New resource: aws_vpn_connection_route
  • New resource: google_dns_managed_zone
  • New resource: google_dns_record_set
  • Migrate to upstream AWS SDK: Migrate the AWS provider to
    the official awslabs library. Previously we had forked the library for
    stability while awslabs refactored. Now that work has completed, and we've
    migrated back to the upstream version.
  • core: Improve error message on diff mismatch [GH-1501]
  • provisioner/file: expand ~ in source path [GH-1569]
  • provider/aws: Better retry logic, now retries up to 11 times by default
    with exponentional backoff. This number is configurable. [GH-1787]
  • provider/aws: Improved credential detection [GH-1470]
  • provider/aws: Can specify a token via the config file [GH-1601]
  • provider/aws: Added new vpc_security_group_ids attribute for AWS
    Instances. If using a VPC, you can now modify the security groups for that
    Instance without destroying it [GH-1539]
  • provider/aws: White or blacklist account IDs that can be used to
    protect against accidents. [GH-1595]
  • provider/aws: Add a subset of IAM resources [GH-939]
  • provider/aws: aws_autoscaling_group retries deletes through "in progress"
    errors [GH-1840]
  • provider/aws: aws_autoscaling_group waits for healthy capacity during
    ASG creation [GH-1839]
  • provider/aws: aws_instance supports placement groups [GH-1358]
  • provider/aws: aws_eip supports network interface attachment [GH-1681]
  • provider/aws: aws_elb supports in-place changing of listeners [GH-1619]
  • provider/aws: aws_elb supports connection draining settings [GH-1502]
  • provider/aws: aws_elb increase default idle timeout to 60s [GH-1646]
  • provider/aws: aws_key_pair name can be omitted and generated [GH-1751]
  • provider/aws: aws_network_acl improved validation for network ACL ports
    and protocols [GH-1798] [GH-1808]
  • provider/aws: aws_route_table can target network interfaces [GH-968]
  • provider/aws: aws_route_table can specify propagating VGWs [GH-1516]
  • provider/aws: aws_route53_record supports weighted sets [GH-1578]
  • provider/aws: aws_route53_zone exports nameservers [GH-1525]
  • provider/aws: aws_s3_bucket website support [GH-1738]
  • provider/aws: aws_security_group name becomes optional and can be
    automatically set to a unique identifier; this helps with
    create_before_destroy scenarios [GH-1632]
  • provider/aws: aws_security_group description becomes optional with a
    static default value [GH-1632]
  • provider/aws: automatically set the private IP as the SSH address
    if not specified and no public IP is available [GH-1623]
  • provider/aws: aws_elb exports source_security_group field [GH-1708]
  • provider/aws: aws_route53_record supports alias targeting [GH-1775]
  • provider/aws: Remove default AWS egress rule for newly created Security Groups [GH-1765]
  • provider/consul: add scheme configuration argument [GH-1838]
  • provider/docker: docker_container can specify links [GH-1564]
  • provider/google: resource_compute_disk supports snapshots [GH-1426]
  • provider/google: resource_compute_instance supports specifying the
    device name [GH-1426]
  • provider/openstack: Floating IP support for LBaaS [GH-1550]
  • provider/openstack: Add AZ to openstack_blockstorage_volume_v1 [GH-1726]


  • core: Fix graph cycle issues surrounding modules [GH-1582] [GH-1637]
  • core: math on arbitrary variables works if first operand isn't a
    numeric primitive. [GH-1381]
  • core: avoid unnecessary cycles by pruning tainted destroys from
    graph if there are no tainted resources [GH-1475]
  • core: fix issue where destroy nodes weren't pruned in specific
    edge cases around matching prefixes, which could cause cycles [GH-1527]
  • core: fix issue causing diff mismatch errors in certain scenarios during
    resource replacement [GH-1515]
  • core: dependencies on resources with a different index work when
    count > 1 [GH-1540]
  • core: don't panic if variable default type is invalid [GH-1344]
  • core: fix perpetual diff issue for computed maps that are empty [GH-1607]
  • core: validation added to check for self variables in modules [GH-1609]
  • core: fix edge case where validation didn't pick up unknown fields
    if the value was computed [GH-1507]
  • core: Fix issue where values in sets on resources couldn't contain
    hyphens. [GH-1641]
  • core: Outputs removed from the config are removed from the state [GH-1714]
  • core: Validate against the worst-case graph during plan phase to catch cycles
    that would previously only show up during apply [GH-1655]
  • core: Referencing invalid module output in module validates [GH-1448]
  • command: remote states with uppercase types work [GH-1356]
  • provider/aws: Support AWS_SECURITY_TOKEN env var again [GH-1785]
  • provider/aws: Don't save "instance" for EIP if association fails [GH-1776]
  • provider/aws: launch configuration ID set after create success [GH-1518]
  • provider/aws: Fixed an issue with creating ELBs without any tags [GH-1580]
  • provider/aws: Fix issue in Security Groups with empty IPRanges [GH-1612]
  • provider/aws: manually deleted S3 buckets are refreshed properly [GH-1574]
  • provider/aws: only check for EIP allocation ID in VPC [GH-1555]
  • provider/aws: raw protocol numbers work in aws_network_acl [GH-1435]
  • provider/aws: Block devices can be encrypted [GH-1718]
  • provider/aws: ASG health check grace period can be updated in-place [GH-1682]
  • provider/aws: ELB security groups can be updated in-place [GH-1662]
  • provider/aws: aws_main_route_table_association can be deleted
    manually [GH-1806]
  • provider/docker: image can reference more complex image addresses,
    such as with private repos with ports [GH-1818]
  • provider/openstack: region config is not required [GH-1441]
  • provider/openstack: enable_dhcp for networking subnet should be bool [GH-1741]
  • provisioner/remote-exec: add random number to uploaded script path so
    that parallel provisions work [GH-1588]
  • provisioner/remote-exec: chmod the script to 0755 properly [GH-1796]

This package has no dependencies.

Discussion for the Terraform Package

Ground Rules:

  • This discussion is only about Terraform and the Terraform package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Terraform, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus