Downloads:

582,414

Downloads of v 0.8.4:

540

Last Update:

16 Jan 2017

Package Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

Tags:

terraform hashicorp

Terraform

This is not the latest version of Terraform available.

  • 1
  • 2
  • 3

0.8.4 | Updated: 16 Jan 2017

Downloads:

582,414

Downloads of v 0.8.4:

540

Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

  • 1
  • 2
  • 3
Terraform 0.8.4

This is not the latest version of Terraform available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details

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 https://community.chocolatey.org/api/v2/)


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 https://community.chocolatey.org/api/v2/. 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.8.4'" [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.8.4'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install terraform
  win_chocolatey:
    name: terraform
    version: '0.8.4'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


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

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller terraform
{
    Name     = "terraform"
    Version  = "0.8.4"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


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

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 16 Jan 2017.

Description

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.


tools\chocolateyInstall.ps1
$checksum = 'ebb6119a9009bbb28d59177d6db4a737408755c6738e37021f031cbe1194e7f3'
$checksum64 = '4e1f5ec48c943969a2989f2b8060cd2065cc6d7e1987c0d01875ecbd219b98a3'
$url = 'https://releases.hashicorp.com/terraform/0.8.4/terraform_0.8.4_windows_386.zip'
$url64bit = 'https://releases.hashicorp.com/terraform/0.8.4/terraform_0.8.4_windows_amd64.zip'
$unzipLocation = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

if ([System.IO.Directory]::Exists("$env:ChocolateyInstall\lib\terraform")) {
  if ([System.IO.Directory]::Exists("$env:ChocolateyInstall\lib\terraform\tools")) {
    # clean old plugins and ignore files
    Write-Host "Removing old terraform plugins"
    Remove-Item "$env:ChocolateyInstall\lib\terraform\tools\terraform-*.*"
  }
} else {
  if ([System.IO.Directory]::Exists("$env:ALLUSERSPROFILE\chocolatey\lib\terraform")) {
    if ([System.IO.Directory]::Exists("$env:ALLUSERSPROFILE\chocolatey\lib\terraform\tools")) {
      # clean old plugins and ignore files
      Write-Host "Removing old terraform plugins"
      Remove-Item "$env:ALLUSERSPROFILE\chocolatey\lib\terraform\tools" -Include "terraform-*.*"
    }
  }
}

Install-ChocolateyZipPackage -PackageName "terraform" -Url "$url" -UnzipLocation "$unzipLocation" -Url64 "$url64bit" -ChecksumType 'sha256' -Checksum "$checksum" -Checksum64 "$checksum64"
tools\chocolateyUninstall.ps1
UnInstall-ChocolateyZipPackage "terraform" "terraformInstall.zip"

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 11871 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 484 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.8.4 (January 11, 2017)

BACKWARDS INCOMPATIBILITIES / NOTES:

  • We have removed the Arukas provider that was added in v0.8.3 for this release. Unfortunately we found the new provider included a dependency that would not compile and run on Windows operating systems. For now the provider has been removed and we hope to work to reintroduce it for all platforms in the near future. Going forward we will also be taking additional steps in our build testing to ensure Terraform builds on all platforms before release.

0.8.3 (January 10, 2017)

FEATURES:

  • New Provider: Arukas (#10862)
  • New Provider: Ignition (#6189)
  • New Provider: OpsGenie (#11012)
  • New Data Source: aws_vpc_peering_connection (#10913)
  • New Resource: aws_codedeploy_deployment_config (#11062)
  • New Resource: azurerm_container_registry (#10973)
  • New Resource: azurerm_eventhub_authorization_rule (#10971)
  • New Resource: azurerm_eventhub_consumer_group (#9902)

IMPROVEMENTS:

  • command/fmt: Show filename on parse error (#10923)
  • provider/archive: archive_file now exports output_md5 attribute in addition to existing SHA1 and Base64 SHA256 hashes. (#10851)
  • provider/aws: Add most_recent to the ebs_snapshot data source (#10986)
  • provider/aws: Add support for instance tenancy in aws_opsworks_instance (#10885)
  • provider/aws: Added a validation for security group rule types (#10864)
  • provider:aws: Add support for updating aws_emr_cluster parameters (#11008)
  • provider/aws: Add Placement Constraints to aws_ecs_task_definition (#11030)
  • provider/aws: Increasing timeout for redshift cluster creation to 75 minutes (#11041)
  • provider/aws: Add support for content_handling to aws_api_gateway_integration_response (#11002)
  • provider/aws: Add S3 bucket name validation (#11116)
  • provider/aws: Add Route53 Record type validation (#11119)
  • provider/azurerm: support non public clouds (#11026)
  • provider/azurerm: Azure resource providers which are already registered are no longer re-registered. (#10991)
  • provider/docker: Add network create --internal flag support (#10932)
  • provider/docker: Add support for a list of pull_triggers within the docker_image resource. (#10845)
  • provider/pagerduty Add delete support to pagerduty_service_integration (#10891)
  • provider/postgresql Add permissions support to postgresql_schema as nested policy attributes (#10808)

BUG FIXES:

  • core: Properly expand sets as lists from a flatmap [#11042]
  • core: Disallow root modules named "root" as a temporary workaround (#11099)
  • command/fmt: Lists of heredocs format properly (#10947)
  • command/graph: Fix crash when -type=legacy (#11095)
  • provider/aws: Guard against nil change output in route53_zone that causes panic (#10798)
  • provider/aws: Reworked validateArn function to handle empty values (#10833)
  • provider/aws: Set aws_autoscaling_policy metric_aggregation_type to be Computed (#10904)
  • provider/aws: storage_class is now correctly treated as optional when configuring replication for aws_s3_bucket resources. (#10921)
  • provider/aws: user_data on aws_launch_configuration resources is only base 64 encoded if the value provided is not already base 64 encoded. (#10871)
  • provider/aws: Add snapshotting to the list of pending state for elasticache (#10965)
  • provider/aws: Add support for updating tags in aws_emr_cluster (#11003)
  • provider/aws: Fix the normalization of AWS policy statements (#11009)
  • provider/aws: data_source_aws_iam_server_certificate latest should be bool not string causes panic (#11016)
  • provider/aws: Fix typo in aws_redshift_cluster causing security groups to not allow update (#11025)
  • provider/aws: Set key_name in aws_key_pair if omited in configuration (#10987)
  • provider/aws: Updating the aws_efs_mount_target dns_name (#11023)
  • provider/aws: Validate window time format for snapshot times and backup windows on RDS and ElastiCache resources (#11089)
  • provider/aws: aws_db_instance restored from snapshot had problem with subnet_group (#11050)
  • provider/aws: Allow disabled access_log in ELB (#11120)
  • provider/azurerm: fix update protocol for lb_probe (#11125)
  • provider/google: Fix backwards incompatibility around create_timeout in instances (#10858)
  • provider/google: google_compute_instance_group_manager update_strategy not properly read (#10174)
  • provider/openstack: Handle PENDING_UPDATE status with LBaaS v2 members (#10875)
  • provider/rancher: Add 'finishing-upgrade' state to rancher stack (#11019)

Previous Releases

For more information on previous releases, check out the changelog on GitHub.


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