Downloads:

589,884

Downloads of v 0.7.8:

486

Last Update:

04 Nov 2016

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.7.8 | Updated: 04 Nov 2016

Downloads:

589,884

Downloads of v 0.7.8:

486

Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

  • 1
  • 2
  • 3
Terraform 0.7.8

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

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


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

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


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

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 04 Nov 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 = '517455fc10f30441bb149e9dd3af436526dc2a7abd81d07d8cb6a67f457347ce'
$checksum64 = 'f45521b9e077f080c1078117efb668e29ff2b15c20ec71cbc3c5312ef6cf6a1c'
$url = 'https://releases.hashicorp.com/terraform/0.7.8/terraform_0.7.8_windows_386.zip'
$url64bit = 'https://releases.hashicorp.com/terraform/0.7.8/terraform_0.7.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.

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.7.8 (November 1, 2016)

BACKWARDS INCOMPATIBILITIES / NOTES:

  • provider/openstack: The OpenStack provider has switched to the new Gophercloud SDK.
    No front-facing changes were made, but please be aware that there might be bugs.
    Please report any if found.
  • archive_file is now a data source, instead of a resource (#8492)

FEATURES:

  • Experimental new apply graph: terraform apply is getting a new graph
    creation process for 0.8. This is now available behind a flag -Xnew-apply
    (on any command). This will become the default in 0.8. There may still be
    bugs. (#9388)
  • Experimental new destroy graph: terraform destroy is also getting
    a new graph creation process for 0.8. This is now available behind a flag
    -Xnew-destroy. This will become the default in 0.8. (#9527)
  • New Provider: pagerduty (#9022)
  • New Resource: aws_iam_user_login_profile (#9605)
  • New Resource: aws_waf_ipset (#8852)
  • New Resource: aws_waf_rule (#8852)
  • New Resource: aws_waf_web_acl (#8852)
  • New Resource: aws_waf_byte_match_set (#9681)
  • New Resource: aws_waf_size_constraint_set (#9689)
  • New Resource: aws_waf_sql_injection_match_set (#9709)
  • New Resource: aws_waf_xss_match_set (#9710)
  • New Resource: aws_ssm_activation (#9111)
  • New Resource: azurerm_key_vault (#9478)
  • New Resource: azurerm_storage_share (#8674)
  • New Resource: azurerm_eventhub_namespace (#9297)
  • New Resource: cloudstack_security_group (#9103)
  • New Resource: cloudstack_security_group_rule (#9645)
  • New Resource: cloudstack_private_gateway (#9637)
  • New Resource: cloudstack_static_route (#9637)
  • New DataSource: aws_ebs_volume (#9753)
  • New DataSource: aws_prefix_list (#9566)
  • New DataSource: aws_security_group (#9604)
  • New DataSource: azurerm_client_config (#9478)
  • New Interpolation Function: ceil (#9692)
  • New Interpolation Function: floor (#9692)
  • New Interpolation Function: min (#9692)
  • New Interpolation Function: max (#9692)
  • New Interpolation Function: title (#9087)
  • New Interpolation Function: zipmap (#9627)

IMPROVEMENTS:

  • provider/aws: No longer require route_table_ids list in aws_vpc_endpoint resources (#9357)
  • provider/aws: Allow description in aws_redshift_subnet_group to be modified (#9515)
  • provider/aws: Add tagging support to aws_redshift_subnet_group (#9504)
  • provider/aws: Add validation to IAM User and Group Name (#9584)
  • provider/aws: Add Ability To Enable / Disable ALB AccessLogs (#9290)
  • provider/aws: Add support for AutoMinorVersionUpgrade to aws_elasticache_replication_group resource. (#9657)
  • provider/aws: Fix import of RouteTable with destination prefixes (#9686)
  • provider/aws: Add support for reference_name to aws_route53_health_check (#9737)
  • provider/aws: Expose ARN suffix on ALB Target Group (#9734)
  • provider/azurerm: add account_kind and access_tier to storage_account (#9408)
  • provider/azurerm: write load_balanacer attributes to network_interface_card hash (#9207)
  • provider/azurerm: Add disk_size_gb param to VM storage_os_disk (#9200)
  • provider/azurerm: support importing of subnet resource (#9646)
  • provider/azurerm: Add support for all of the Azure regions e.g. Germany, China and Government (#9765)
  • provider/digitalocean: Allow resizing DigitalOcean Droplets without increasing disk size. (#9573)
  • provider/google: enhance service scope list (#9442)
  • provider/google Change default MySQL instance version to 5.6 (#9674)
  • provider/google Support MySQL 5.7 instances (#9673)
  • provider/google: Add support for using source_disk to google_compute_image (#9614)
  • provider/google: Add support for default-internet-gateway alias for google_compute_route (#9676)
  • provider/openstack: Added value_specs to openstack_networking_port_v2, allowing vendor information (#9551)
  • provider/openstack: Added value_specs to openstack_networking_floatingip_v2, allowing vendor information (#9552)
  • provider/openstack: Added value_specs to openstack_compute_keypair_v2, allowing vendor information (#9554)
  • provider/openstack: Allow any protocol in openstack_fw_rule_v1 (#9617)
  • provider/openstack: expose LoadBalancer v2 VIP Port ID (#9727)
  • provider/openstack: Openstack Provider enhancements including environment variables (#9725)
  • provider/scaleway: update sdk for ams1 region (#9687)
  • provider/scaleway: server volume property (#9695)

BUG FIXES:

  • core: Resources suffixed with 'panic' won't falsely trigger crash detection. (#9395)
  • core: Validate lifecycle options don't contain interpolations. (#9576)
  • core: Tainted resources will not process ignore_changes. (#7855)
  • core: Boolean looking values passed in via -var no longer cause type errors. (#9642)
  • core: Computed primitives in certain cases no longer cause diff mismatch errors. (#9618)
  • core: Empty arrays for list vars in JSON work (#8886)
  • core: Boolean types in tfvars work propertly (#9751)
  • core: Deposed resource destruction is accounted for properly in apply counts. (#9731)
  • core: Check for graph cycles on resource expansion to catch cycles between self-referenced resources. (#9728)
  • core: prevent_destroy prevents decreasing count (#9707)
  • core: removed optional items will trigger "requires new" if necessary (#9699)
  • command/apply: -backup and -state-out work with plan files (#9706)
  • command/fmt: Cleaner formatting for multiline standalone comments above resources
  • command/validate: respond to --help (#9660)
  • provider/archive: Converting to datasource. (#8492)
  • provider/aws: Fix issue importing AWS Instances and setting the correct associate_public_ip_address value (#9453)
  • provider/aws: Fix issue with updating ElasticBeanstalk environment variables (#9259)
  • provider/aws: Allow zero value for scaling_adjustment in aws_autoscaling_policy when using SimpleScaling (#8893)
  • provider/aws: Increase ECS service drain timeout (#9521)
  • provider/aws: Remove VPC Endpoint from state if it's not found (#9561)
  • provider/aws: Delete Loging Profile from IAM User on force_destroy (#9583)
  • provider/aws: Exposed aws_api_gw_domain_name.certificate_upload_date attribute (#9533)
  • provider/aws: fix aws_elasticache_replication_group for Redis in cluster mode (#9601)
  • provider/aws: Validate regular expression passed via the ami data_source name_regex attribute. (#9622)
  • provider/aws: Bug fix for NoSuckBucket on Destroy of aws_s3_bucket_policy (#9641)
  • provider/aws: Refresh aws_autoscaling_schedule from state on 404 (#9659)
  • provider/aws: Allow underscores in IAM user and group names (#9684)
  • provider/aws: aws_ami: handle deletion of AMIs (#9721)
  • provider/aws: Fix aws_route53_record alias perpetual diff (#9704)
  • provider/aws: Allow active state while waiting for the VPC Peering Connection. (#9754)
  • provider/aws: Normalize all-principals wildcard in aws_iam_policy_document (#9720)
  • provider/azurerm: Fix Azure RM loadbalancer rules validation (#9468)
  • provider/azurerm: Fix servicebus_topic values when using the Update func to stop perpetual diff (#9323)
  • provider/azurerm: lower servicebus_topic max size to Azure limit (#9649)
  • provider/azurerm: Fix VHD deletion when VM and Storage account are in separate resource groups (#9631)
  • provider/azurerm: Guard against panic when importing arm_virtual_network (#9739)
  • provider/azurerm: fix sql_database resource reading tags (#9767)
  • provider/cloudflare: update client library to stop connection closed issues (#9715)
  • provider/consul: Change to consul_service resource to introduce a service_id parameter (#9366)
  • provider/datadog: Ignore float/int diffs on thresholds (#9466)
  • provider/docker: Fixes for docker_container host object and documentation (#9367)
  • provider/scaleway improve the performance of server deletion (#9491)
  • provider/scaleway: fix scaleway_volume_attachment with count > 1 (#9493)

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