Downloads:

585,193

Downloads of v 0.9.7:

347

Last Update:

08 Jun 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.7 | Updated: 08 Jun 2017

Downloads:

585,193

Downloads of v 0.9.7:

347

Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

  • 1
  • 2
  • 3
Terraform 0.9.7

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

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


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

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


package { 'terraform':
  ensure   => '0.9.7',
  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 08 Jun 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 = '5a1e7dfdb84ecc29afcaf2b79f7e284d106a1f568b571015e59ad3924d674bfd'
$checksum64 = '7054e17eb5436d7e456f7f9368a483723a054507827b21a9938df9d8ac199934'
$url = 'https://releases.hashicorp.com/terraform/0.9.7/terraform_0.9.7_windows_386.zip'
$url64bit = 'https://releases.hashicorp.com/terraform/0.9.7/terraform_0.9.7_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 11942 Tuesday, October 19, 2021 Approved
Terraform 1.0.8 10412 Wednesday, September 29, 2021 Approved
Terraform 1.0.7 7150 Thursday, September 16, 2021 Approved
Terraform 1.0.6 5183 Wednesday, September 8, 2021 Approved
Terraform 1.0.5 487 Monday, August 23, 2021 Approved
Terraform 1.0.4 13103 Sunday, August 8, 2021 Approved
Terraform 1.0.3 5385 Thursday, July 29, 2021 Approved
Terraform 1.0.2 8542 Saturday, July 10, 2021 Approved

0.9.7 (June 7, 2017)

BACKWARDS INCOMPATIBILITIES / NOTES:

  • The lock_table attribute in the S3 backend configuration has been deprecated in favor of dynamodb_table, which better reflects that the table is no longer only used for locks. [GH-14949]

FEATURES:

  • New Data Source: aws_elastic_beanstalk_solution_stack [GH-14944]
  • New Data Source: aws_elasticache_cluster [GH-14895]
  • New Data Source: aws_ssm_parameter [GH-15035]
  • New Data Source: azurerm_public_ip [GH-15110]
  • New Resource: aws_ssm_parameter [GH-15035]
  • New Resource: aws_ssm_patch_baseline [GH-14954]
  • New Resource: aws_ssm_patch_group [GH-14954]
  • New Resource: librato_metric [GH-14562]
  • New Resource: digitalocean_certificate [GH-14578]
  • New Resource: vcd_edgegateway_vpn [GH-13123]
  • New Resource: vault_mount [GH-14456]
  • New Interpolation Function: bcrypt [GH-14725]

IMPROVEMENTS:

  • backend/consul: Storing state to Consul now uses Check-And-Set (CAS) by default to avoid inconsistent state, and will automatically attempt to re-acquire a lock if it is lost during Terraform execution. [GH-14930]
  • core: Remote state is now persisted more frequently to minimize data loss in the event of a crash. [GH-14834]
  • provider/alicloud: Add the function of replacing ecs instance's system disk [GH-15048]
  • provider/aws: Expose RDS instance and cluster resource id [GH-14882]
  • provider/aws: Export internal tunnel addresses + document [GH-14835]
  • provider/aws: Fix misleading error in aws_route validation [GH-14972]
  • provider/aws: Support import of aws_lambda_event_source_mapping [GH-14898]
  • provider/aws: Add support for a configurable timeout in db_option_group [GH-15023]
  • provider/aws: Add task_parameters parameter to aws_ssm_maintenance_window_task resource [GH-15104]
  • provider/aws: Expose reason of EMR cluster termination [GH-15117]
  • provider/aws: data.aws_acm_certificate can now filter by type [GH-15063]
  • provider/azurerm: Ignore case sensivity in Azurerm resource enums [GH-14861]
  • provider/digitalocean: Add support for changing TTL on DigitalOcean domain records. [GH-14805]
  • provider/google: Add ability to import Google Compute persistent disks [GH-14573]
  • provider/google: google_container_cluster.master_auth should be optional [GH-14630]
  • provider/google: Add CORS support for google_storage_bucket [GH-14695]
  • provider/google: Allow resizing of Google Cloud persistent disks [GH-15077]
  • provider/google: Add private_ip_google_access update support to google_compute_subnetwork [GH-15125]
  • provider/heroku: can now import Heroku Spaces [GH-14973]
  • provider/kubernetes: Upgrade K8S from 1.5.3 to 1.6.1 [GH-14923]
  • provider/kubernetes: Provide more details about why PVC failed to bind [GH-15019]
  • provider/kubernetes: Allow sourcing config_path from KUBECONFIG env var [GH-14889]
  • provider/openstack: Add support provider networks [GH-10265]
  • provider/openstack: Allow numerical protocols in security group rules [GH-14917]
  • provider/openstack: Sort request/response headers in debug output [GH-14956]
  • provider/openstack: Add support for FWaaS routerinsertion extension [GH-12589]
  • provider/openstack: Add Terraform version to UserAgent string [GH-14955]
  • provider/openstack: Optimize the printing of debug output [GH-15086]
  • provisioner/chef: Use helpers.shema.Provisoner in Chef provisioner V2 [GH-14681]

BUG FIXES:

  • provider/alicloud: set alicloud_nat_gateway zone to be Computed to avoid perpetual diffs [GH-15050]
  • provider/alicloud: set provider to read env vars for access key and secrey key if empty strings [GH-15050]
  • provider/alicloud: Fix vpc and vswitch bugs while creating vpc and vswitch [GH-15082]
  • provider/alicloud: Fix allocating public ip bug [GH-15049]
  • provider/alicloud: Fix security group rules nic_type bug [GH-15114]
  • provider/aws: ForceNew aws_launch_config on ebs_block_device change [GH-14899]
  • provider/aws: Avoid crash when EgressOnly IGW disappears [GH-14929]
  • provider/aws: Allow IPv6/IPv4 addresses to coexist [GH-13702]
  • provider/aws: Expect exception on deletion of APIG Usage Plan Key [GH-14958]
  • provider/aws: Fix panic on nil dead_letter_config [GH-14964]
  • provider/aws: Work around IAM eventual consistency in CW Log Subs [GH-14959]
  • provider/aws: Fix ModifyInstanceAttribute on new instances [GH-14992]
  • provider/aws: Fix issue with removing tags in aws_cloudwatch_log_group [GH-14886]
  • provider/aws: Raise timeout for VPC DHCP options creation to 5 mins [GH-15084]
  • provider/aws: Retry Redshift cluster deletion on InvalidClusterState [GH-15068]
  • provider/aws: Retry Lambda func creation on IAM error [GH-15067]
  • provider/aws: Retry ECS service creation on ClusterNotFoundException [GH-15066]
  • provider/aws: Retry ECS service update on ServiceNotFoundException [GH-15073]
  • provider/aws: Retry DB parameter group delete on InvalidDBParameterGroupState [GH-15071]
  • provider/aws: Guard against panic when no aws_default_vpc found [GH-15070]
  • provider/aws: Guard against panic if no NodeGroupMembers returned in elasticache_replication_group [GH-13488]
  • provider/aws: Revoke default ipv6 egress rule for aws_security_group [GH-15075]
  • provider/aws: Lambda ENI deletion fails on destroy [GH-11849]
  • provider/aws: Add gov and cn hosted zone Ids to aws_elb_hosted_zone data source [GH-15149]
  • provider/azurerm: VM - making os_profile optional [GH-14176]
  • provider/azurerm: Preserve the Subnet properties on Update [GH-13877]
  • provider/datadog: make datadog_user verified a computed attribute [GH-15034]
  • provider/datadog: use correct evaluation_delay parameter [GH-14878]
  • provider/digitalocean: Refresh DO loadbalancer from state if 404 [GH-14897]
  • provider/github: Do not set incorrect values in github_team data source [GH-14859]
  • provider/google: use a mutex to prevent concurrent sql instance operations [GH-14424]
  • provider/google: Set instances to computed in compute_instance_group [GH-15025]
  • provider/google: Make google_compute_autoscaler use Update instead of Patch. [GH-15101]
  • provider/kubernetes: Ignore internal k8s labels in kubernetes_persistent_volume [GH-13716]
  • provider/librato: Add retry to librato_alert [GH-15118]
  • provider/postgresql: Fix for leaking credentials in the provider [GH-14817]
  • provider/postgresql: Drop the optional WITH token from CREATE ROLE. [GH-14864]
  • provider/rancher: refresh rancher_host from state on nil or removed host [GH-15015]

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