Downloads:

585,357

Downloads of v 0.7.6:

449

Last Update:

16 Oct 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.6 | Updated: 16 Oct 2016

Downloads:

585,357

Downloads of v 0.7.6:

449

Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

Tags:

terraform

  • 1
  • 2
  • 3
Terraform 0.7.6

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

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


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

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


package { 'terraform':
  ensure   => '0.7.6',
  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.

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

This package was approved as a trusted package on 16 Oct 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 = '1f95c2ee23cbf2acedb157ad5db668bde65720eab63b3439ff2383f5cf3dfdc3'
$checksum64 = 'a14213e119eaa884ab18d482de295dfc794257e57345c93a09c5a0686844960d'
$url = 'https://releases.hashicorp.com/terraform/0.7.6/terraform_0.7.6_windows_386.zip'
$url64bit = 'https://releases.hashicorp.com/terraform/0.7.6/terraform_0.7.6_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 3092 Tuesday, November 9, 2021 Approved
Terraform 1.0.9 11945 Tuesday, October 19, 2021 Approved
Terraform 1.0.8 10412 Wednesday, September 29, 2021 Approved
Terraform 1.0.7 7153 Thursday, September 16, 2021 Approved
Terraform 1.0.6 5186 Wednesday, September 8, 2021 Approved
Terraform 1.0.5 489 Monday, August 23, 2021 Approved
Terraform 1.0.4 13104 Sunday, August 8, 2021 Approved
Terraform 1.0.3 5386 Thursday, July 29, 2021 Approved
Terraform 1.0.2 8543 Saturday, July 10, 2021 Approved

0.7.6 (October 14, 2016)

BACKWARDS INCOMPATIBILITIES / NOTES:

  • azurerm_virtual_machine has deprecated the use of diagnostics_profile in favour of boot_diagnostics. (#9122)

FEATURES:

  • New Data Source: aws_billing_service_account (#8701)
  • New Data Source: aws_availability_zone (#6819)
  • New Data Source: aws_region (#6819)
  • New Data Source: aws_subnet (#6819)
  • New Data Source: aws_vpc (#6819)
  • New Resource: azurerm_lb (#9199)
  • New Resource: azurerm_lb_backend_address_pool (#9199)
  • New Resource: azurerm_lb_nat_rule (#9199)
  • New Resource: azurerm_lb_nat_pool (#9199)
  • New Resource: azurerm_lb_probe (#9199)
  • New Resource: azurerm_lb_rule (#9199)
  • New Resource: github_repository (#9327)

IMPROVEMENTS:

  • core-validation: create validation package to provide common validation functions (#8103)
  • provider/aws: Support Import of OpsWorks Custom Layers (#9252)
  • provider/aws: Automatically constructed ARNs now support partitions other than aws, allowing operation with aws-cn and aws-us-gov (#9273)
  • provider/aws: Retry setTags operation for EC2 resources (#7890)
  • provider/aws: Support refresh of EC2 instance user_data (#6736)
  • provider/aws: Poll to confirm delete of resource_aws_customer_gateway (#9346)
  • provider/azurerm: expose default keys for servicebus_namespace (#9242)
  • provider/azurerm: add enable_blob_encryption to azurerm_storage_account resource (#9233)
  • provider/azurerm: set resource_group_name on resource import across the provider (#9073)
  • provider/azurerm: azurerm_cdn_profile resources can now be imported (#9306)
  • provider/datadog: add support for Datadog dashboard "type" and "style" options (#9228)
  • provider/scaleway: region is now supported for provider configuration

BUG FIXES:

  • core: Local state can now be refreshed when no resources exist (#7320)
  • core: Orphaned nested (depth 2+) modules will inherit provider configs (#9318)
  • core: Fix crash when a map key contains an interpolation function (#9282)
  • core: Numeric variables values were incorrectly converted to numbers (#9263)
  • core: Fix input and output of map variables from HCL (#9268)
  • core: Crash when interpolating a map value with a function in the key (#9282)
  • core: Crash when copying a nil value in an InstanceState (#9356)
  • command/fmt: Bare comment groups no longer have superfluous newlines
  • command/fmt: Leading comments on list items are formatted properly
  • provider/aws: Return correct AMI image when most_recent is set to true. (#9277)
  • provider/aws: Fix issue with diff on import of aws_eip in EC2 Classic (#9009)
  • provider/aws: Handle EC2 tags related errors in CloudFront Distribution resource. (#9298)
  • provider/aws: Fix cause error when using etag and kms_key_id with aws_s3_bucket_object (#9168)
  • provider/aws: Fix issue reassigning EIP instances appropriately (#7686)
  • provider/azurerm: removing resources from state when the API returns a 404 for them (#8859)
  • provider/azurerm: Fixed a panic in azurerm_virtual_machine when using diagnostic_profile (#9122)

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