Downloads:

373,272

Downloads of v 0.7.5:

346

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.

0.7.5 | Updated: 16 Oct 2016

Downloads:

373,272

Downloads of v 0.7.5:

346

Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

Tags:

terraform

Terraform 0.7.5

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

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


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

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


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

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


salt '*' chocolatey.install terraform version="0.7.5" 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 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 = 'C660426F7A7D1173F66E67BA59A9447679F19FD5B309911A7DBAFFAB4696B120'
$checksum64 = '325F8B931364BDE66E19369FAA42EB5001BA86024C53654385A206B841C658D5'
$url = 'https://releases.hashicorp.com/terraform/0.7.5/terraform_0.7.5_windows_386.zip'
$url64bit = 'https://releases.hashicorp.com/terraform/0.7.5/terraform_0.7.5_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.7.5 (October 6, 2016)

BACKWARDS INCOMPATIBILITIES / NOTES:

  • tls_cert_request is now a managed resource instead of a data source, restoring the pre-Terraform 0.7 behaviour (#9035)

FEATURES:

  • New Provider: bitbucket (#7405)
  • New Resource: aws_api_gateway_client_certificate (#8775)
  • New Resource: azurerm_servicebus_topic (#9151)
  • New Resource: azurerm_servicebus_subscription (#9185)
  • New Resource: aws_emr_cluster (#9106)
  • New Resource: aws_emr_instance_group (#9106)

IMPROVEMENTS:

  • helper/schema: Adding of MinItems as a validation to Lists and Maps (#9216)
  • provider/aws: Add JSON validation to the aws_cloudwatch_event_rule resource (#8897)
  • provider/aws: S3 bucket policies are imported as separate resources (#8915)
  • provider/aws: S3 bucket policies can now be removed via the aws_s3_bucket resource (#8915)
  • provider/aws: Added a cluster_address attribute to aws elasticache (#8935)
  • provider/aws: Add JSON validation to the aws_elasticsearch_domain resource. (#8898)
  • provider/aws: Add JSON validation to the aws_kms_key resource. (#8900)
  • provider/aws: Add JSON validation to the aws_s3_bucket_policy resource. (#8901)
  • provider/aws: Add JSON validation to the aws_sns_topic resource. (#8902)
  • provider/aws: Add JSON validation to the aws_sns_topic_policy resource. (#8903)
  • provider/aws: Add JSON validation to the aws_sqs_queue resource. (#8904)
  • provider/aws: Add JSON validation to the aws_sqs_queue_policy resource. (#8905)
  • provider/aws: Add JSON validation to the aws_vpc_endpoint resource. (#8906)
  • provider/aws: Update aws_cloudformation_stack data source with new helper function. (#8907)
  • provider/aws: Add JSON validation to the aws_s3_bucket resource. (#8908)
  • provider/aws: Add support for cloudwatch_logging_options to Firehose Delivery Streams (#8671)
  • provider/aws: Add HTTP/2 support via the http_version parameter to CloudFront distribution (#8777)
  • provider/aws: Add query_string_cache_keys to allow for selective caching of CloudFront keys (#8777)
  • provider/aws: Support Import aws_elasticache_cluster (#9010)
  • provider/aws: Add support for tags to aws_cloudfront_distribution (#9011)
  • provider/aws: Support Import aws_opsworks_stack (#9124)
  • provider/aws: Support Import aws_elasticache_replication_groups (#9140)
  • provider/aws: Add new aws api-gateway integration types (#9213)
  • provider/aws: Import aws_db_event_subscription (#9220)
  • provider/azurerm: Add normalizeJsonString and validateJsonString functions (#8909)
  • provider/azurerm: Support AzureRM Sql Database DataWarehouse (#9196)
  • provider/openstack: Use proxy environment variables for communication with services (#8948)
  • provider/vsphere: Adding detach_unknown_disks_on_delete flag for VM resource (#8947)
  • provisioner/chef: Add skip_register attribute to allow skipping the registering steps (#9127)

BUG FIXES:

  • core: Fixed variables not being in scope for destroy -target on modules (#9021)
  • core: Fixed issue that prevented diffs from being properly generated in a specific resource schema scenario (#8891)
  • provider/aws: Remove support for ah and esp literals in Security Group Ingress/Egress rules; you must use the actual protocol number for protocols other than tcp, udp, icmp, or all (#8975)
  • provider/aws: Do not report drift for effect values differing only by case in AWS policies (#9139)
  • provider/aws: VPC ID, Port, Protocol and Name change on aws_alb_target_group will ForceNew resource (#8989)
  • provider/aws: Wait for Spot Fleet to drain before removing from state (#8938)
  • provider/aws: Fix issue when importing aws_eip resources by IP address (#8970)
  • provider/aws: Ensure that origin_access_identity is a required value within the CloudFront distribution s3_config block (#8777)
  • provider/aws: Corrected Seoul S3 Website Endpoint format (#9032)
  • provider/aws: Fix failed remove S3 lifecycle_rule (#9031)
  • provider/aws: Fix crashing bug in aws_ami data source when using name_regex (#9033)
  • provider/aws: Fix reading dimensions on cloudwatch alarms (#9029)
  • provider/aws: Changing snapshot_identifier on aws_db_instance resource should forceā€¦ (#8806)
  • provider/aws: Refresh AWS EIP association from state when not found (#9056)
  • provider/aws: Make encryption in Aurora instances computed-only (#9060)
  • provider/aws: Make sure that VPC Peering Connection in a failed state returns an error. (#9038)
  • provider/aws: guard against aws_route53_record delete panic (#9049)
  • provider/aws: aws_db_option_group flattenOptions failing due to missing values (#9052)
  • provider/aws: Add retry logic to the aws_ecr_repository delete func (#9050)
  • provider/aws: Modifying the parameter_group_name of aws_elasticache_replication_group caused a panic (#9101)
  • provider/aws: Fix issue with updating ELB subnets for subnets in the same AZ (#9131)
  • provider/aws: aws_route53_record alias refresh manually updated record (#9125)
  • provider/aws: Fix issue detaching volumes that were already detached (#9023)
  • provider/aws: Add retry to the aws_ssm_document delete func (#9188)
  • provider/aws: Fix issue updating search_string in aws_cloudwatch_metric_alarm (#9230)
  • provider/aws: Update EFS resource to read performance mode and creation_token (#9234)
  • provider/azurerm: fix resource ID parsing for subscriptions resources (#9163)
  • provider/librato: Mandatory name and conditions attributes weren't being sent on Update unless changed (#8984)
  • provisioner/chef: Fix an error with parsing certain vault_json content (#9114)
  • provisioner/chef: Change to order in which to cleanup the user key so this is done before the Chef run starts (#9114)

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