Downloads:

377,671

Downloads of v 0.7.4:

590

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.

0.7.4 | Updated: 22 Sep 2016

Downloads:

377,671

Downloads of v 0.7.4:

590

Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

Tags:

terraform

Terraform 0.7.4

This is not the latest version of Terraform available.

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

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:

>

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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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://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. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade terraform -y --source="'STEP 3 URL'" [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="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Ensure terraform installed
  win_chocolatey:
    name: terraform
    state: present
    version: 0.7.4
    source: STEP 3 URL

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

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'terraform' do
  action    :install
  version  '0.7.4'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: terraform,
    Version: 0.7.4,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller terraform
{
   Name     = 'terraform'
   Ensure   = 'Present'
   Version  = '0.7.4'
   Source   = 'STEP 3 URL'
}

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


package { 'terraform':
  provider => 'chocolatey',
  ensure   => '0.7.4',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install terraform version="0.7.4" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

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 = 'ca9433509cb5f8febc19fcbd23be820511b563ebe3f17ade5946660388d42582'
$checksum64 = 'b50acc1269909804075dd12df436f0029c54ffbed2939537d1fc0db395c703c8'
$url = 'https://releases.hashicorp.com/terraform/0.7.4/terraform_0.7.4_windows_386.zip'
$url64bit = 'https://releases.hashicorp.com/terraform/0.7.4/terraform_0.7.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.

Version Downloads Last Updated Status
Terraform 0.14.6 3389 Wednesday, February 10, 2021 Approved
Terraform 0.14.5 4904 Wednesday, January 27, 2021 Approved
Terraform 0.14.4 5340 Sunday, January 10, 2021 Approved
Terraform 0.14.3 4546 Sunday, December 20, 2020 Approved
Terraform 0.14.2 3880 Wednesday, December 9, 2020 Approved
Terraform 0.14.1 55 Wednesday, December 9, 2020 Approved
Terraform 0.14.0 1502 Tuesday, December 8, 2020 Approved
Terraform 0.13.6 431 Sunday, January 10, 2021 Approved
Terraform 0.13.5 13497 Thursday, November 5, 2020 Approved

0.7.4 (September 19, 2016)

FEATURES:

  • New Resource: aws_codecommit_trigger (#8751)
  • New Resource: aws_default_security_group (#8861)
  • New Remote State Backend: manta (#8830)

IMPROVEMENTS:

  • provider/aws: Support 'publish' attribute in lambda_function (#8653)
  • provider/aws: Add reader_endpoint RDS Clusters (#8884)
  • provider/aws: Export AWS ELB service account ARN (#8700)
  • provider/aws: Allow aws_alb to have the name auto-generated (#8673)
  • provider/aws: Expose arn_suffix on aws_alb (#8833)
  • provider/aws: Add JSON validation to the aws_cloudformation_stack resource (#8896)
  • provider/aws: Add JSON validation to the aws_glacier_vault resource (#8899)
  • provider/azurerm: support Diagnostics Profile (#8277)
  • provider/google: Resources depending on the network attribute can now reference the network by self_link or name (#8639)
  • provider/postgresql: The standard environment variables PGHOST, PGUSER, PGPASSWORD and PGSSLMODE are now supported for provider configuration (#8666)
  • helper/resource: Add timeout duration to timeout error message (#8773)
  • provisioner/chef: Support recreating Chef clients by setting recreate_client=true (#8577)
  • provisioner/chef: Support encrypting existing Chef-Vaults for newly created clients (#8577)

BUG FIXES:

  • core: Fix regression when loading variables from json (#8820)
  • provider/aws: Prevent crash creating an aws_sns_topic with an empty policy (#8834)
  • provider/aws: Bump aws_elasticsearch_domain timeout values (#672)
  • provider/aws: aws_nat_gateways will now recreate on failed state (#8689)
  • provider/aws: Prevent crash on account ID validation (#8731)
  • provider/aws: aws_db_instance unexpected state when configurating enhanced monitoring (#8707)
  • provider/aws: Remove region condition from aws_codecommit_repository (#8778)
  • provider/aws: Support Policy DiffSuppression in aws_kms_key policy (#8675)
  • provider/aws: Fix issue updating Elastic Beanstalk Environment variables (#8848)
  • provider/scaleway: Fix security_group_rule identification (#8661)
  • provider/cloudstack: Fix renaming a VPC with the cloudstack_vpc resource (#8784)

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