Downloads:

589,884

Downloads of v 0.8.6:

631

Last Update:

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

Downloads:

589,884

Downloads of v 0.8.6:

631

Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

  • 1
  • 2
  • 3
Terraform 0.8.6

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.8.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.8.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.8.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.8.6'
end

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


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

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


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

This package was approved as a trusted package on 08 Feb 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 = '27998b13ca5572e79382dc00f67dfba1625d0933103678bcd429d1e0c50ee129'
$checksum64 = '1056a8d8644c1787b2be29f2e12619123040cacd66b9acef43473702eb5ba7d8'
$url = 'https://releases.hashicorp.com/terraform/0.8.6/terraform_0.8.6_windows_386.zip'
$url64bit = 'https://releases.hashicorp.com/terraform/0.8.6/terraform_0.8.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 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.8.6 (07 February 2017)

BACKWARDS INCOMPATIBILITIES / NOTES:

  • provider/aws: aws_appautoscaling_policy no longer has default values for scalable_dimension and service_namespace

FEATURES:

  • New Data Source: aws_kms_secret (#11460)
  • New Data Source: aws_ecs_task_definition (#8509)
  • New Data Source: aws_ecs_cluster (#11558)
  • New Data Source: aws_partition (#11675)
  • New Data Source: pagerduty_escalation_policy (#11616)
  • New Data Source: pagerduty_schedule (#11614)
  • New Data Source: profitbricks_datacenter (#11520)
  • New Data Source: profitbricks_location (#11520)
  • New Data Source: profitbricks_image (#11520)
  • New Resource: aws_sfn_activity (#11420)
  • New Resource: aws_sfn_state_machine (#11420)
  • New Resource: aws_codebuild_project (#11560)
  • New Resource: aws_dms_certificate (#11122)
  • New Resource: aws_dms_endpoint (#11122)
  • New Resource: aws_dms_replication_instance (#11122)
  • New Resource: aws_dms_replication_subnet_group (#11122)
  • New Resource: aws_dms_replication_subnet_group (#11122)
  • New Resource: pagerduty_addon (#11620)

IMPROVEMENTS:

  • core: Interaction with Atlas now supports the ATLAS_TLS_NOVERIFY environment variable (#11576)
  • provider/aws: Add EBS Volume support for EMR Instance Groups (#11411)
  • provider/aws: Add support for policy to AWS provider assume_role (#11501)
  • provider/aws: Add support for more sns_topic_subscription parameters on import command (#10408)
  • provider/aws: Add support for Sever Side Encryption with default S3 KMS key to aws_s3_bucket_object (#11261)
  • provider/aws: Add support for Cross Region RDS Cluster Replica (#11428)
  • provider/aws: Add sensitive attribute in master_password (#11584)
  • provider/aws: Application Auto Scaling now supports scaling an Amazon EC2 Spot fleet (#8697)
  • provider/aws: Add tag support to DynamoDb tables (#11617)
  • provider/aws: Provide the certificate ID in the aws data source (#11693)
  • provider/aws: Wait for instance_profile creation to complete (#11678)
  • provider/azurerm: Add support for scale sets overprovision (#11516)
  • provider/azurerm: support import for load balancer and sub resources (#11610)
  • provider/fastly: Adds papertrail logging (#11491)
  • provider/fastly: Adds format_version for s3logging (#11725)
  • provider/fastly: Adds healthcheck service (#11709)
  • provider/google: allow instance group managers in region other than project (#11294)
  • provider/google: Add second generation disk specification options (#11571)
  • provider/google: remote_traffic_selector for google_compute_vpn_tunnel (#11020)
  • provider/nomad: Update jobspec dependency to allow parsing parameterized nomad jobfiles (#11691)
  • provider/google: No default root user for SQL (#11590)
  • provider/opsgenie: Descriptions for Teams (#11391)
  • provider/rancher: rancher_registration_token add image parameter (#11551)
  • provider/rancher: allow for importing resources using environment ID to target (#11688)

BUG FIXES:

  • core: Remove missed subfields when parent list is removed (#11498)
  • command/fmt: Trailing blocks of comments at the end of files are formatted properly (#11585)
  • provider/aws: Fix issue with path not updated when modifying AWS API Gateway Resource (#11443)
  • provider/aws: Fix AWS Lambda Qualifier Regexp for aws_lambda_permission (#11383)
  • provider/aws: allow destroy of LB stickiness policy with missing LB (#11462)
  • provider/aws: ECS Placement constraints fix (#11475)
  • provider/aws: retry kms_key CreateKey if arn in policy not yet seen (#11509)
  • provider/aws: Fix ALB Listener Rule Import (#1174)
  • provider/aws: Fix issue with ECS Placement Strat. and type casing (#11565)
  • provider/aws: aws_route53_record import error processing (#11603)
  • provider/aws: Fix panic in aws_rds_cluster missing parameter error message (#11600)
  • provider/aws: Succeed creating aws_volume_attachment if identical attachment exists (#11060)
  • provider/aws: Guard against panic in aws_vpc_endpoint_association (#11613)
  • provider/aws: Allow root volume size changes in aws_instance (#11619)
  • provider/aws: Fix spot instance request block device configs (#11649)
  • provider/aws: Fix validation issues for onceAWeek and onceADay validation functions (#11679)
  • provider/aws: Return route_table_id from aws_route_table data source (#11703)
  • provider/aws: validate aws_alb_target_group name is less than 32 characters (#11699)
  • provider/azurerm: Scale Sets Load balancer pools should not be computed (#11516)
  • provider/azurerm: Scale Sets ip configuration handling and update support for load balancer backend pools. (#11516)
  • provider/azurerm: check if lb sub resources exist when reading (#11553)
  • provider/google: Fix master_instance_name to prevent slave rebuilds (#11477)
  • provider/google: Refresh google_compute_instance machine_type on read (#11645)
  • provider/google: Added forceNew on accessConfig in google_compute_instance_template (#11548)
  • provider/ignition: Allow to add authorized keys without user creation (#11406)
  • provider/ignition: mount and path are mutually exclusive (#11409)
  • provider/ns1: Fix use_client_subnet in ns1_record (#11368)
  • provider/openstack: Remove Default Security Group Rules on Create (#11466)
  • provider/pagerduty: Allow timeouts to be disabled (pagerduty_service) (#11483)
  • provider/rancher: Use environment specific client for accessing resources (#11503)
  • provider/rancher: Refresh rancher stack from state on delete (#11539)
  • provider/rancher: Refresh rancher token and registry from state on not found (#11543)
  • provider/rancher: return error when Rancher template not found (#11544)
  • provider/rancher: rancher_stack set docker_compose and rancher_compose (#11550)
  • provider/rancher: Handle deleted/purged resources from Rancher (#11607)
  • provider/statuscake: Remove computed from statuscake_test timeout parameter (#11541)
  • provider/vsphere: vSphere virtual machine don't ignore VM power on errors (#11604)
  • provisioner/remote-exec: Revert change in 0.8.5 that treated each line as a script since that doesn't work for stateful scripts. (#11692)
  • provisioner/chef: Attributes JSON coming from computed source validates (#11502)

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