Downloads:

582,268

Downloads of v 0.7.3:

389

Last Update:

22 Sep 2016

Package Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

Tags:

terraform

Terraform

This is not the latest version of Terraform available.

  • 1
  • 2
  • 3

0.7.3 | Updated: 22 Sep 2016

Downloads:

582,268

Downloads of v 0.7.3:

389

Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

Tags:

terraform

  • 1
  • 2
  • 3
Terraform 0.7.3

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 Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.

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.7.3'" [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.7.3'" 
$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.7.3'
    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.7.3'
end

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


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

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


package { 'terraform':
  ensure   => '0.7.3',
  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 26 Sep 2016.

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 = 'e7126ca567572351becd3ea2a770f2da56323af2a98fa2467f9e1ec3953ae021'
$checksum64 = '67b6176204a3542fed3834e3e32f5d70681a911ce65e384727f5e4405d7a7c82'
$url = 'https://releases.hashicorp.com/terraform/0.7.3/terraform_0.7.3_windows_386.zip'
$url64bit = 'https://releases.hashicorp.com/terraform/0.7.3/terraform_0.7.3_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 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.7.3 (September 5, 2016)

BACKWARDS INCOMPATIBILITIES / NOTES:

  • Terraform now validates the uniqueness of variable and output names in your configuraitons. In prior versions certain ways of duplicating variable names would work. This is now a configuration error (and should've always been). If you get an error running Terraform you may need to remove the duplicates. Done right, this should not affect the behavior of Terraform.
  • The internal structure of .terraform/modules changed slightly. For configurations with modules, you'll need to run terraform get again.

FEATURES:

  • New Provider: rabbitmq (#7694)
  • New Data Source: aws_cloudformation_stack (#8640)
  • New Resource: aws_cloudwatch_log_stream (#8626)
  • New Resource: aws_default_route_table (#8323)
  • New Resource: aws_spot_datafeed_subscription (#8640)
  • New Resource: aws_s3_bucket_policy (#8615)
  • New Resource: aws_sns_topic_policy (#8654)
  • New Resource: aws_sqs_queue_policy (#8657)
  • New Resource: aws_ssm_association (#8376)
  • New Resource: cloudstack_affinity_group (#8360)
  • New Resource: librato_alert (#8170)
  • New Resource: librato_service (#8170)
  • New Remote State Backend: local (#8647)
  • Data source blocks can now have a count associated with them (#8635)
  • The count of a resource can now be referenced for interpolations: self.count and type.name.count work (#8581)
  • Provisioners now support connection using IPv6 in addition to IPv4 (#6616)

IMPROVEMENTS:

  • core: Add wildcard (match all) support to ignore_changes (#8599)
  • core: HTTP module sources can now use netrc files for auth
  • core: Show last resource state in a timeout error message (#8510)
  • helper/schema: Add diff suppression callback (#8585)
  • provider/aws: API Gateway Custom Authorizer (#8535)
  • provider/aws: Add MemoryReservation To aws_ecs_container_definition data source (#8437)
  • provider/aws: Add ability Enable/Disable For ELB Access logs (#8438)
  • provider/aws: Add support for assuming a role prior to performing API operations (#8638)
  • provider/aws: Export arn of aws_autoscaling_group (#8503)
  • provider/aws: More robust handling of Lambda function archives hosted on S3 (#6860)
  • provider/aws: Spurious diffs of aws_s3_bucket policy attributes due to JSON field ordering are reduced (#8615)
  • provider/aws: name_regex attribute for local post-filtering of aws_ami data source results (#8403)
  • provider/aws: Support for lifecycle hooks at ASG creation (#5620)
  • provider/consul: Make provider settings truly optional (#8551)
  • provider/statuscake: Add support for contact-group id in statuscake test (#8417)

BUG FIXES:

  • core: Changing a module source from file to VCS no longer errors (#8398)
  • core: Configuration is now validated prior to input, fixing an obscure parse error when attempting to interpolate a count (#8591)
  • core: JSON configuration with resources with a single key parse properly (#8485)
  • core: States with duplicate modules are detected and an error is shown (#8463)
  • core: Validate uniqueness of variables/outputs in a module (#8482)
  • core: -var flag inputs starting with / work
  • core: -var flag inputs starting with a number work and was fixed in such a way that this should overall be a lot more resilient to inputs (#8044)
  • provider/aws: Add AWS error message to retry APIGateway account update (#8533)
  • provider/aws: Do not set empty string to state for aws_vpn_gateway availability zone (#8645)
  • provider/aws: Fix. Adjust create and destroy timeout in aws_vpn_gateway_attachment. (#8636)
  • provider/aws: Handle missing EFS mount target in aws_efs_mount_target (#8529)
  • provider/aws: If an aws_security_group was used in Lambda function it may have prevented you from destroying such SG due to dangling ENIs created by Lambda service. These ENIs are now automatically cleaned up prior to SG deletion (#8033)
  • provider/aws: Increase aws_route_table timeouts from 1 min to 2 mins (#8465)
  • provider/aws: Increase aws_rds_cluster timeout to 40 minutes (#8623)
  • provider/aws: Refresh aws_route from state if aws_route_table not found (#8443)
  • provider/aws: Remove aws_elasticsearch_domain from state if it doesn't exist (#8643)
  • provider/aws: Remove unsafe ptr dereferencing from ECS/ECR (#8514)
  • provider/aws: Set apply_method to state in aws_db_parameter_group (#8603)
  • provider/aws: Stop aws_instance source_dest_check triggering an API call on each terraform run (#8450)
  • provider/aws: Wait for aws_route_53_record to be in-sync after a delete (#8646)
  • provider/aws: aws_volume_attachment detachment errors are caught (#8479)
  • provider/aws: adds resource retry to aws_spot_instance_request (#8516)
  • provider/aws: Add validation of Health Check target to aws_elb. (#8578)
  • provider/aws: Skip detaching when aws_internet_gateway not found (#8454)
  • provider/aws: Handle all kinds of CloudFormation stack failures (#5606)
  • provider/azurerm: Reordering the checks after an Azure API Get (#8607)
  • provider/chef: Fix "invalid header" errors that could occur (#8382)
  • provider/github: Remove unsafe ptr dereferencing (#8512)
  • provider/librato: Refresh space from state when not found (#8596)
  • provider/mysql: Fix breakage in parsing MySQL version string (#8571)
  • provider/template: template_file vars can be floating point (#8590)
  • provider/triton: Fix bug where the ID of a triton_key was used prior to being set (#8563)

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