Downloads:

589,884

Downloads of v 0.9.6:

650

Last Update:

31 May 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.6 | Updated: 31 May 2017

Downloads:

589,884

Downloads of v 0.9.6:

650

Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

  • 1
  • 2
  • 3
Terraform 0.9.6

This is not the latest version of Terraform available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

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.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.9.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.9.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.9.6'
end

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


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

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


package { 'terraform':
  ensure   => '0.9.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 31 May 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 = '8e3402e91cf9b51a43b17e40d1b3953fcab9f0d9439ffd3189f5ea9499e2b458'
$checksum64 = '0179858a1e9f1a8b9ba7b4c053b5504aedea56394900ce828ce25c90e968dae4'
$url = 'https://releases.hashicorp.com/terraform/0.9.6/terraform_0.9.6_windows_386.zip'
$url64bit = 'https://releases.hashicorp.com/terraform/0.9.6/terraform_0.9.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.9.6 (May 25, 2017)

BACKWARDS INCOMPATIBILITIES / NOTES:

  • When assigning a "splat variable" to a resource attribute, like foo = "${some_resource.foo.*.baz}", it is no longer required (nor recommended) to wrap the string in list brackets. The extra brackets continue to be allowed for resource attributes for compatibility, but this will cease to be allowed in a future version. (#14737)
  • provider/aws: Allow lightsail resources to work in other regions. Previously Terraform would automatically configure lightsail resources to run solely in us-east-1. This means that if a provider was initialized with a different region than us-east-1, users will need to create a provider alias to maintain their lightsail resources in us-east-1 [#14685].
  • provider/aws: Users of aws_cloudfront_distribution default_cache_behavior will notice that cookies is now a required value - even if that value is none (#12628)
  • provider/google: Users of google_compute_health_check who were not setting a value for the host property of http_health_check or https_health_check previously had a faulty default value. This has been fixed and will show as a change in terraform plan/apply. (#14441)

FEATURES:

  • New Provider: ovh (#12669)
  • New Resource: aws_default_subnet (#14476)
  • New Resource: aws_default_vpc (#11710)
  • New Resource: aws_default_vpc_dhcp_options (#14475)
  • New Resource: aws_devicefarm_project (#14288)
  • New Resource: aws_wafregional_ipset (#13705)
  • New Resource: aws_wafregional_byte_match_set (#13705)
  • New Resource: azurerm_express_route_circuit (#14265)
  • New Resource: gitlab_deploy_key (#14734)
  • New Resource: gitlab_group (#14490)
  • New Resource: google_compute_router (#12411)
  • New Resource: google_compute_router_interface (#12411)
  • New Resource: google_compute_router_peer (#12411)
  • New Resource: kubernetes_horizontal_pod_autoscaler (#14763)
  • New Resource: kubernetes_service (#14554)
  • New Resource: openstack_dns_zone_v2 (#14721)
  • New Resource: openstack_dns_recordset_v2 (#14813)
  • New Data Source: aws_db_snapshot (#10291)
  • New Data Source: aws_kms_ciphertext (#14691)
  • New Data Source: github_user (#14570)
  • New Data Source: github_team (#14614)
  • New Data Source: google_storage_object_signed_url (#14643)
  • New Interpolation Function: pow (#14598)

IMPROVEMENTS:

  • core: After apply, if the state cannot be persisted to remote for some reason then write out a local state file for recovery (#14423)
  • core: It's no longer required to surround an attribute value that is just a "splat" variable with a redundant set of array brackets. (#14737)
  • core/provider-split: Split out the Oracle OPC provider to new structure (#14362)
  • provider/aws: Show state reason when EC2 instance fails to launch (#14479)
  • provider/aws: Show last scaling activity when ASG creation/update fails (#14480)
  • provider/aws: Add tags (list of maps) for aws_autoscaling_group (#13574)
  • provider/aws: Support filtering in ASG data source (#14501)
  • provider/aws: Add ability to 'terraform import' aws_kms_alias resources (#14679)
  • provider/aws: Allow lightsail resources to work in other regions (#14685)
  • provider/aws: Configurable timeouts for EC2 instance + spot instance (#14711)
  • provider/aws: Add ability to define timeouts for DMS replication instance (#14729)
  • provider/aws: Add support for X-Ray tracing to aws_lambda_function (#14728)
  • provider/azurerm: Virtual Machine Scale Sets with managed disk support (#13717)
  • provider/azurerm: Virtual Machine Scale Sets with single placement option support (#14510)
  • provider/azurerm: Adding support for VMSS Data Disks using Managed Disk feature (#14608)
  • provider/azurerm: Adding support for 4TB disks (#14688)
  • provider/cloudstack: Load the provider configuration from a CloudMonkey config file (#13926)
  • provider/datadog: Add last aggregator to datadog_timeboard resource (#14391)
  • provider/datadog: Added new evaluation_delay parameter (#14433)
  • provider/docker: Allow Windows Docker containers to map volumes (#13584)
  • provider/docker: Add network_alias to docker_container resource (#14710)
  • provider/fastly: Mark the s3_access_key, s3_secret_key, & secret_key fields as sensitive (#14634)
  • provider/gitlab: Add namespcace ID attribute to gitlab_project (#14483)
  • provider/google: Add a url attribute to google_storage_bucket (#14393)
  • provider/google: Make google resource storage bucket importable (#14455)
  • provider/google: Add support for privateIpGoogleAccess on subnetworks (#14234)
  • provider/google: Add import support to google_sql_user (#14457)
  • provider/google: add failover parameter to google_sql_database_instance (#14336)
  • provider/google: resource_compute_disks can now reference snapshots using the snapshot URL (#14774)
  • provider/heroku: Add import support for heroku_pipeline resource (#14486)
  • provider/heroku: Add import support for heroku_pipeline_coupling resource (#14495)
  • provider/heroku: Add import support for heroku_addon resource (#14508)
  • provider/openstack: Add support for all protocols in Security Group Rules (#14307)
  • provider/openstack: Add support for updating Subnet Allocation Pools (#14782)
  • provider/openstack: Enable Security Group Updates (#14815)
  • provider/rancher: Add member support to rancher_environment (#14563)
  • provider/rundeck: adds description to command schema in rundeck_job resource (#14352)
  • provider/scaleway: allow public_ip to be set on server resource (#14515)
  • provider/vsphere: Exposing moid value from vm resource (#14793)

BUG FIXES:

  • core: Store and verify checksums for S3 remote state to prevent fetching a stale state (#14746)
  • core: Allow -force-unlock of an S3 named state (#14680)
  • core: Fix incorrect errors when validatin nested objects (#14784] [#14801)
  • core: When using -target, any outputs that include attributes of the targeted resources are now updated (#14186)
  • core: Fixed 0.9.5 regression with the conditional operator .. ? .. : .. failing to type check with unknown/computed values (#14454)
  • core: Fixed 0.9 regression causing issues during refresh when adding new data resource instances using count (#14098)
  • core: Fixed crasher when populating a "splat variable" from an empty (nil) module state. (#14526)
  • core: fix bad Sprintf in backend migration message (#14601)
  • core: Addressed 0.9.5 issue with passing partially-unknown splat results through module variables, by removing the requirement to pass a redundant list level. (#14737)
  • provider/aws: Allow updating constraints in WAF SizeConstraintSet + no constraints (#14661)
  • provider/aws: Allow updating tuples in WAF ByteMatchSet + no tuples (#14071)
  • provider/aws: Allow updating tuples in WAF SQLInjectionMatchSet + no tuples (#14667)
  • provider/aws: Allow updating tuples in WAF XssMatchSet + no tuples (#14671)
  • provider/aws: Increase EIP update timeout (#14381)
  • provider/aws: Increase timeout for creating security group (#14380] [#14724)
  • provider/aws: Increase timeout for (dis)associating IPv6 addr to/from subnet (#14401)
  • provider/aws: Increase timeout for retrying creation of IAM server cert (#14609)
  • provider/aws: Increase timeout for deleting IGW (#14705)
  • provider/aws: Increase timeout for retrying creation of CW log subs (#14722)
  • provider/aws: Using the new time schema helper for RDS Instance lifecycle mgmt (#14369)
  • provider/aws: Using the timeout schema helper to make alb timeout cofigurable (#14375)
  • provider/aws: Refresh from state when CodePipeline Not Found (#14431)
  • provider/aws: Override spot_instance_requests volume_tags schema (#14481)
  • provider/aws: Allow Internet Gateway IPv6 routes (#14484)
  • provider/aws: ForceNew aws_launch_config when root_block_device changes (#14507)
  • provider/aws: Pass IAM Roles to codepipeline actions (#14263)
  • provider/aws: Create rule(s) for prefix-list-only AWS security group permissions on 'terraform import' (#14528)
  • provider/aws: Set aws_subnet ipv6_cidr_block to computed (#14542)
  • provider/aws: Change of aws_subnet ipv6 causing update failure (#14545)
  • provider/aws: Nothing to update in cloudformation should not result in errors (#14463)
  • provider/aws: Handling data migration in RDS snapshot restoring (#14622)
  • provider/aws: Mark cookies in default_cache_behaviour of cloudfront_distribution as required (#12628)
  • provider/aws: Fall back to old tagging mechanism for AWS gov and aws China (#14627)
  • provider/aws: Change AWS ssm_maintenance_window Read func (#14665)
  • provider/aws: Increase timeout for creation of route_table (#14701)
  • provider/aws: Retry ElastiCache cluster deletion when it's snapshotting (#14700)
  • provider/aws: Retry ECS service update on InvalidParameterException (#14708)
  • provider/aws: Retry IAM Role deletion on DeleteConflict (#14707)
  • provider/aws: Do not dereference source_Dest_check in aws_instance (#14723)
  • provider/aws: Add validation function for IAM Policies (#14669)
  • provider/aws: Fix panic on instance shutdown (#14727)
  • provider/aws: Handle migration when restoring db cluster from snapshot (#14766)
  • provider/aws: Provider ability to enable snapshotting on ElastiCache RG (#14757)
  • provider/cloudstack: cloudstack_firewall panicked when used with older (< v4.6) CloudStack versions (#14044)
  • provider/datadog: Allowed method on aggregator is avg ! average (#14414)
  • provider/digitalocean: Fix parsing of digitalocean dns records (#14215)
  • provider/github: Log HTTP requests and responses in DEBUG mode (#14363)
  • provider/github Check for potentially nil response from GitHub API client (#14683)
  • provider/google: Fix health check http/https defaults (#14441)
  • provider/google: Fix issue with GCP Cloud SQL Instance disk_autoresize (#14582)
  • provider/google: Fix crash creating Google Cloud SQL 2nd Generation replication instance (#14373)
  • provider/google: Disks now detach before getting deleted (#14651)
  • provider/google: Update google_compute_target_pool's session_affinity default (#14807)
  • provider/heroku: Fix issue with setting correct CName in heroku_domain (#14443)
  • provider/opc: Correctly export ip_address in IP Addr Reservation (#14543)
  • provider/openstack: Handle Deleted Resources in Floating IP Association (#14533)
  • provider/openstack: Catch error during instance network parsing (#14704)
  • provider/vault: Prevent panic when no secret found (#14435)

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