Downloads:

589,884

Downloads of v 0.9.2:

713

Last Update:

03 Apr 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.9.2 | Updated: 03 Apr 2017

Downloads:

589,884

Downloads of v 0.9.2:

713

Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

  • 1
  • 2
  • 3
Terraform 0.9.2

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

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


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

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


package { 'terraform':
  ensure   => '0.9.2',
  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 03 Apr 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 = 'c42f6b4499ac2372c11710a001bd4935e1ee6bd83b7bfe2f728b849d52441610'
$checksum64 = '17cccc1dec8a0d8a8684a1533b1ce200202bb7176f78fcb1ca9d82d4ead53f03'
$url = 'https://releases.hashicorp.com/terraform/0.9.2/terraform_0.9.2_windows_386.zip'
$url64bit = 'https://releases.hashicorp.com/terraform/0.9.2/terraform_0.9.2_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 3096 Tuesday, November 9, 2021 Approved
Terraform 1.0.9 12137 Tuesday, October 19, 2021 Approved
Terraform 1.0.8 10426 Wednesday, September 29, 2021 Approved
Terraform 1.0.7 7191 Thursday, September 16, 2021 Approved
Terraform 1.0.6 5189 Wednesday, September 8, 2021 Approved
Terraform 1.0.5 491 Monday, August 23, 2021 Approved
Terraform 1.0.4 13153 Sunday, August 8, 2021 Approved
Terraform 1.0.3 5406 Thursday, July 29, 2021 Approved
Terraform 1.0.2 8570 Saturday, July 10, 2021 Approved

0.9.2 (March 28, 2017)

BACKWARDS IMCOMPATIBILITIES / NOTES:

  • provider/openstack: Port Fixed IPs are able to be read again using the original numerical notation. However, Fixed IP configurations which are obtaining addresses via DHCP must now use the all_fixed_ips attribute to eference the returned IP address.
  • Environment names must be safe to use as a URL path segment without escaping, and is enforced by the CLI.

FEATURES:

  • New Resource: alicloud_db_instance (#12913)
  • New Resource: aws_api_gateway_usage_plan (#12542)
  • New Resource: aws_api_gateway_usage_plan_key (#12851)
  • New Resource: github_repository_webhook (#12924)
  • New Resource: random_pet (#12903)
  • New Interpolation: substr (#12870)
  • S3 Environments: The S3 remote state backend now supports named environments

IMPROVEMENTS:

  • core: fix interpolation error when referencing computed values from an aws_instance cidr_block (#13046)
  • core: fix ignore_changes causing fields to be removed during apply (#12897)
  • core: add -force-copy option to terraform init to supress prompts for copying state (#12939)
  • helper/acctest: Add NewSSHKeyPair function (#12894)
  • provider/alicloud: simplify validators (#12982)
  • provider/aws: Added support for EMR AutoScalingRole (#12823)
  • provider/aws: Add name_prefix to aws_autoscaling_group and aws_elb resources (#12629)
  • provider/aws: Updated default configuration manager version in aws_opsworks_stack (#12979)
  • provider/aws: Added aws_api_gateway_api_key value attribute (#9462)
  • provider/aws: Allow aws_alb subnets to change (#12850)
  • provider/aws: Support Attachment of ALB Target Groups to Autoscaling Groups (#12855)
  • provider/aws: Support Import of iam_server_certificate (#13065)
  • provider/azurerm: Add support for setting the primary network interface (#11290)
  • provider/cloudstack: Add zone_id to cloudstack_ipaddress resource (#11306)
  • provider/consul: Add support for basic auth to the provider (#12679)
  • provider/digitalocean: Support disk only resize (#13059)
  • provider/dnsimple: Allow dnsimple_record.priority attribute to be set (#12843)
  • provider/google: Add support for service_account, metadata, and image_type fields in GKE cluster config (#12743)
  • provider/google: Add local ssd count support for container clusters (#12281)
  • provider/ignition: ignition_filesystem, explicit option to create the filesystem (#12980)
  • provider/kubernetes: Internal K8S annotations are ignored in config_map (#12945)
  • provider/ns1: Ensure provider checks for credentials (#12920)
  • provider/openstack: Adding Timeouts to Blockstorage Resources (#12862)
  • provider/openstack: Adding Timeouts to FWaaS v1 Resources (#12863)
  • provider/openstack: Adding Timeouts to Image v2 and LBaaS v2 Resources (#12865)
  • provider/openstack: Adding Timeouts to Network Resources (#12866)
  • provider/openstack: Adding Timeouts to LBaaS v1 Resources (#12867)
  • provider/openstack: Deprecating Instance Volume attribute (#13062)
  • provider/openstack: Decprecating Instance Floating IP attribute (#13063)
  • provider/openstack: Don't log the catalog (#13075)
  • provider/openstack: Handle 409/500 Response on Pool Create (#13074)
  • provider/pagerduty: Validate credentials (#12854)
  • provider/openstack: Adding all_metadata attribute (#13061)
  • provider/profitbricks: Handling missing resources (#13053)

BUG FIXES:

  • core: Remove legacy remote state configuration on state migration. This fixes errors when saving plans. (#12888)
  • provider/arukas: Default timeout for launching container increased to 15mins (was 10mins) (#12849)
  • provider/aws: Fix flattened cloudfront lambda function associations to be a set not a slice (#11984)
  • provider/aws: Consider ACTIVE as pending state during ECS svc deletion (#12986)
  • provider/aws: Deprecate the usage of Api Gateway Key Stages in favor of Usage Plans (#12883)
  • provider/aws: prevent panic in resourceAwsSsmDocumentRead (#12891)
  • provider/aws: Prevent panic when setting AWS CodeBuild Source to state (#12915)
  • provider/aws: Only call replace Iam Instance Profile on existing machines (#12922)
  • provider/aws: Increase AWS AMI Destroy timeout (#12943)
  • provider/aws: Set aws_vpc ipv6 for associated only (#12899)
  • provider/aws: Fix AWS ECS placement strategy spread fields (#12998)
  • provider/aws: Specify that aws_network_acl_rule requires a cidr block (#13013)
  • provider/aws: aws_network_acl_rule treat all and -1 for protocol the same (#13049)
  • provider/aws: Only allow 1 value in alb_listener_rule condition (#13051)
  • provider/aws: Correct handling of network ACL default IPv6 ingress/egress rules (#12835)
  • provider/aws: aws_ses_receipt_rule: fix off-by-one errors (#12961)
  • provider/aws: Fix issue upgrading to Terraform v0.9+ with AWS OpsWorks Stacks (#13024)
  • provider/fastly: Fix issue importing Fastly Services with Backends (#12538)
  • provider/google: turn compute_instance_group.instances into a set (#12790)
  • provider/mysql: recreate user/grant if user/grant got deleted manually (#12791)
  • provider/openstack: Fix monitor_id typo in LBaaS v1 Pool (#13069)
  • provider/openstack: Resolve issues with Port Fixed IPs (#13056)
  • provider/rancher: error when no api_url is provided (#13086)
  • provider/scaleway: work around parallel request limitation (#13045)

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