Downloads:

373,272

Downloads of v 0.8.8:

657

Last Update:

06 Mar 2017

Package Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

Tags:

terraform hashicorp

Terraform

This is not the latest version of Terraform available.

0.8.8 | Updated: 06 Mar 2017

Downloads:

373,272

Downloads of v 0.8.8:

657

Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

Terraform 0.8.8

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.8.8
    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.8.8'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: terraform,
    Version: 0.8.8,
    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.8.8'
   Source   = 'STEP 3 URL'
}

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


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

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


salt '*' chocolatey.install terraform version="0.8.8" 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.

This package was approved as a trusted package on 08 Mar 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 = 'efbf851427d078270d983e12c26dab925555207982a39a6fed81513294b32545'
$checksum64 = '3085671f53e18c3cb5a8c3938b64e5e9f002f8adcfce083233cdb97e814d1daf'
$url = 'https://releases.hashicorp.com/terraform/0.8.8/terraform_0.8.8_windows_386.zip'
$url64bit = 'https://releases.hashicorp.com/terraform/0.8.8/terraform_0.8.8_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 3356 Wednesday, February 10, 2021 Approved
Terraform 0.14.5 4868 Wednesday, January 27, 2021 Approved
Terraform 0.14.4 5332 Sunday, January 10, 2021 Approved
Terraform 0.14.3 4490 Sunday, December 20, 2020 Approved
Terraform 0.14.2 3734 Wednesday, December 9, 2020 Approved
Terraform 0.14.1 52 Wednesday, December 9, 2020 Approved
Terraform 0.14.0 1495 Tuesday, December 8, 2020 Approved
Terraform 0.13.6 379 Sunday, January 10, 2021 Approved
Terraform 0.13.5 13132 Thursday, November 5, 2020 Approved

0.8.8 (March 2, 2017)

BACKWARDS INCOMPATIBILITIES / NOTES:

  • provider/aws: Potential breaking change for root_block_device (#12379)

FEATURES:

  • New Provider: spotinst (#5001)
  • New Interpolation: slice (#9729)
  • New Data Source: aws_sns_topic (#11752)
  • New Data Source: openstack_images_image_v2 (#12097)
  • New Resource: aws_elastic_beanstalk_application_version (#5770)
  • New Resource: aws_cloudwatch_log_destination (#11940)
  • New Resource: aws_cloudwatch_log_destination_policy (#11940)
  • New Resource: aws_codepipeline (#11814)
  • New Resource: aws_egress_only_internet_gateway (#10538)
  • New Resource: datadog_user (#12268)
  • New Resource: digitalocean_loadbalancer (#12077)
  • New Resource: openstack_images_image_v2 (#11942)
  • New Resource: openstack_compute_floatingip_associate_v2 (#12190)

IMPROVEMENTS:

  • provider/aws: Add support for AWS EBS Elastic Volumes (#11981)
  • provider/aws: Allow aws_instances to be resized rather than forcing a new instance (#11998)
  • provider/aws: Report bucket name in S3 Error message (#12122)
  • provider/aws: Implement IPV6 Support for ec2 / VPC (#10538)
  • provider/aws: Add support for import of aws_elasticsearch_domain (#12330)
  • provider/aws: improve redshift cluster validation (#12313)
  • provider/aws: Support IAM role attachment and replacement for existing EC2 instance (#11852)
  • provider/azurerm: Auto base64encode virtual_machine custom data (#12164)
  • provider/datadog: add support for new host delay to the datadog_monitor resource (#11975)
  • provider/datadog: Upgrade to Datadog API v2 (#12098)
  • provider/fastly: Make Backends optional if used in VCL (#12025)
  • provider/fastly: Add support for custom response_object (#12032)
  • provider/google: Add support for maintenance window in sql_database_instance (#12042)
  • provider/google: google_project supports billing account (#11653)
  • provider/openstack: Don't allow floating IP and port (#12099)
  • provider/openstack: Enable HTTP Logging (#12089)
  • provider/openstack: Add Additional Targets for LBaaS v1 Member (#12266)
  • provider/openstack: Redesign openstack_blockstorage_volume_attach_v2 (#12071)
  • provider/pagerduty: Import support for service integrations (#12141)
  • provider/pagerduty: Updated implementation of pagerduty_vendor & pagerduty_service_integration (#12357)
  • provider/random_id: Add prefix attribute (#12016)
  • provider/statuscake: Add support for Port in statuscake_test (#11966)

BUG FIXES:

  • core: Fix a hang that could occur at the end of a Terraform command with custom plugins used (#12048)
  • command/fmt: Fix incorrect formatting with single line object following complex object (#12049)
  • command/state: -backup flags work with mv and rm (#12156)
  • provider/aws: add bucket name to delete error notification (#11952)
  • provider/aws: Use proper Set for source.Auth in resource_aws_codebuild_project (#11741)
  • provider/aws: aws_ecs_service should output service name along with err (#12072)
  • provider/aws: Add VRRP to allowed protocols in network ACL rules (#12107)
  • provider/aws: Add owner_account option to aws_redshift_cluster (#12062)
  • provider/aws: Update of inspector_assessment_target should use ARN not Name (#12115)
  • provider/aws: Fix the panic in ssm_association with parameters (#12215)
  • provider/aws: Fix update of environment_variable in codebuild_project (#12169)
  • provider/aws: Refresh aws_autoscaling_schedule from state when autoscaling_group not found (#12312)
  • provider/aws: No longer ForceNew resource on lambda_function runtime update (#12329)
  • provider/aws: reading multiple pages of aws_efs_file_system tags (#12328)
  • provider/aws: Refresh cloudwatch log subscription filter on 404 (#12333)
  • provider/aws: more details on which s3 bucket had an error (#12314)
  • provider/azurerm: Ignore case on protocol and allocation types (#12176)
  • provider/cloudflare: add validation for proxied record types (#11993)
  • provider/datadog: Adding default values to datadog_monitor (#12168)
  • provider/google: make local_traffic_selector computed (#11631)
  • provider/google: Write the raw disk encryption key in the state file to avoid diffs on plan (#12068)
  • provider/google: fix url map test and update logic (#12317)
  • provider/openstack: Rename provider to loadbalancer_provider (#12239)
  • provider/pagerduty: Setting incident_urgency_rule as optional (#12211)
  • provider/profitbricks: Fixing how primary_nic is added to profitbricks server (#12197)
  • state/azure: add environment option for non-public cloud usage (#12364)

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