Downloads:

373,272

Downloads of v 0.9.5:

874

Last Update:

12 May 2017

Package Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

Tags:

terraform hashicorp

Terraform

This is not the latest version of Terraform available.

0.9.5 | Updated: 12 May 2017

Downloads:

373,272

Downloads of v 0.9.5:

874

Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

Terraform 0.9.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.9.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.9.5'
  source   'STEP 3 URL'
end

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


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

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


package { 'terraform':
  provider => 'chocolatey',
  ensure   => '0.9.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.9.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 12 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 = '280c2c5a09a4fe65a2d73564f723c3ce3128d2f414bc29130186959acf48a118'
$checksum64 = 'c3f82782c7164935af3c4404166fe61bbc45c806ea2d51e9b8a9b4c753221de4'
$url = 'https://releases.hashicorp.com/terraform/0.9.5/terraform_0.9.5_windows_386.zip'
$url64bit = 'https://releases.hashicorp.com/terraform/0.9.5/terraform_0.9.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.9.5 (May 11, 2017)

BACKWARDS INCOMPATIBILITIES / NOTES:

  • provider/aws: Users of aws_cloudfront_distributions with custom_origins have been broken due to changes in the AWS API requiring OriginReadTimeout being set for updates. This has been fixed and will show as a change in terraform plan / apply. (#13367)
  • provider/aws: Users of China and Gov clouds, cannot use the new tagging of volumes created as part of aws_instances (#14055)
  • provider/aws: Skip tag operations on cloudwatch logs in govcloud partition. Currently not supported by Amazon. (#12414)
  • provider/aws: More consistent (un)quoting of long TXT/SPF aws_route53_records.
    Previously we were trimming first 2 quotes and now we're (correctly) trimming first and last one.
    Depending on the use of quotes in your TXT/SPF records this may result in extra diff in plan/apply (#14170)

FEATURES:

  • New Provider: gitlab (#13898)
  • New Resource: aws_emr_security_configuration (#14080)
  • New Resource: aws_ssm_maintenance_window (#14087)
  • New Resource: aws_ssm_maintenance_window_target (#14087)
  • New Resource: aws_ssm_maintenance_window_task (#14087)
  • New Resource: azurerm_sql_elasticpool (#14099)
  • New Resource: google_bigquery_table (#13743)
  • New Resource: google_compute_backend_bucket (#14015)
  • New Resource: google_compute_snapshot (#12482)
  • New Resource: heroku_app_feature (#14035)
  • New Resource: heroku_pipeline (#14078)
  • New Resource: heroku_pipeline_coupling (#14078)
  • New Resource: kubernetes_limit_range (#14285)
  • New Resource: kubernetes_resource_quota (#13914)
  • New Resource: vault_auth_backend (#10988)
  • New Data Source: aws_efs_file_system (#14041)
  • New Data Source: http, for retrieving text data from generic HTTP servers (#14270)
  • New Data Source: google_container_engine_versions, for retrieving valid versions for clusters (#14280)
  • New Interpolation Function: log, for computing logarithms (#12872)

IMPROVEMENTS:

  • core: sha512 and base64sha512 interpolation functions, similar to their sha256 equivalents. (#14100)
  • core: It's now possible to use the index operator [ ] to select a known value out of a partially-known list, such as using "splat syntax" and increasing the count. (#14135)
  • provider/aws: Add support for CustomOrigin timeouts to aws_cloudfront_distribution (#13367)
  • provider/aws: Add support for IAMDatabaseAuthenticationEnabled (#14092)
  • provider/aws: aws_dynamodb_table Add support for TimeToLive (#14104)
  • provider/aws: Add security_configuration support to aws_emr_cluster (#14133)
  • provider/aws: Add support for the tenancy placement option in aws_spot_fleet_request (#14163)
  • provider/aws: aws_db_option_group normalizes name to lowercase (#14192, #14366)
  • provider/aws: Add support description to aws_iam_role (#14208)
  • provider/aws: Add support for SSM Documents to aws_cloudwatch_event_target (#14067)
  • provider/aws: add additional custom service endpoint options for CloudFormation, KMS, RDS, SNS & SQS (#14097)
  • provider/aws: Add ARN to security group data source (#14245)
  • provider/aws: Improve the wording of DynamoDB Validation error message (#14256)
  • provider/aws: Add support for importing Kinesis Streams (#14278)
  • provider/aws: Add arn attribute to aws_ses_domain_identity resource (#14306)
  • provider/aws: Add support for targets to aws_ssm_association (#14246)
  • provider/aws: native redis clustering support for elasticache (#14317)
  • provider/aws: Support updating aws_waf_rule predicates (#14089)
  • provider/azurerm: azurerm_template_deployment now supports String/Int/Boolean outputs (#13670)
  • provider/azurerm: Expose the Private IP Address for a Load Balancer, if available (#13965)
  • provider/dns: Fix data dns txt record set (#14271)
  • provider/dnsimple: Add support for import for dnsimple_records (#9130)
  • provider/dyn: Add verbose Dyn provider logs (#14076)
  • provider/google: Add support for networkIP in compute instance templates (#13515)
  • provider/google: google_dns_managed_zone is now importable (#13824)
  • provider/google: Add support for compute_route (#14065)
  • provider/google: Add path to google_pubsub_subscription (#14238)
  • provider/google: Improve Service Account by offering to recreate if missing (#14282)
  • provider/google: Log HTTP requests and responses in DEBUG mode (#14281)
  • provider/google: Add additional properties for google resource storage bucket object (#14259)
  • provider/google: Handle all 404 checks in read functions via the new function (#14335)
  • provider/heroku: import heroku_app resource (#14248)
  • provider/nomad: Add TLS options (#13956)
  • provider/triton: Add support for reading provider configuration from TRITON_* environment variables in addition to SDC_*(#14000)
  • provider/triton: Add cloud_config argument to triton_machine resources for Linux containers (#12840)
  • provider/triton: Add insecure_skip_tls_verify (#14077)

BUG FIXES:

  • core: module blocks without names are now caught in validation, along with various other block types (#14162)
  • core: no longer will errors and normal log output get garbled together on Windows (#14194)
  • core: Avoid crash on empty TypeSet blocks (#14305)
  • provider/aws: Update aws_ebs_volume when attached (#14005)
  • provider/aws: Set aws_instance volume_tags to be Computed (#14007)
  • provider/aws: Fix issue getting partition for federated users (#13992)
  • provider/aws: aws_spot_instance_request not forcenew on volume_tags (#14046)
  • provider/aws: Exclude aws_instance volume tagging for China and Gov Clouds (#14055)
  • provider/aws: Fix source_dest_check with network_interface (#14079)
  • provider/aws: Fixes the bug where SNS delivery policy get always recreated (#14064)
  • provider/aws: Increase timeouts for Route Table retries (#14345)
  • provider/aws: Prevent Crash when importing aws_route53_record (#14218)
  • provider/aws: More consistent (un)quoting of long TXT/SPF aws_route53_records (#14170)
  • provider/aws: Retry deletion of AWSConfig Rule on ResourceInUseException (#14269)
  • provider/aws: Refresh ssm document from state on 404 (#14279)
  • provider/aws: Allow zero-value ELB and ALB names (#14304)
  • provider/aws: Update the ignoring of AWS specific tags (#14321)
  • provider/aws: Adding IPv6 address to instance causes perpetual diff (#14355)
  • provider/aws: Fix SG update on instance with multiple network interfaces (#14299)
  • provider/azurerm: Fixing a bug in azurerm_network_interface (#14365)
  • provider/digitalocean: Prevent diffs when using IDs of images instead of slugs (#13879)
  • provider/fastly: Changes setting conditionals to optional (#14103)
  • provider/google: Ignore certain project services that can't be enabled directly via the api (#13730)
  • provider/google: Ability to add more than 25 project services (#13758)
  • provider/google: Fix compute instance panic with bad disk config (#14169)
  • provider/google: Handle google_storage_bucket_object not being found (#14203)
  • provider/google: Handle google_compute_instance_group_manager not being found (#14190)
  • provider/google: better visibility for compute_region_backend_service (#14301)
  • provider/heroku: Configure buildpacks correctly for both Org Apps and non-org Apps (#13990)
  • provider/heroku: Fix heroku_cert update of ssl cert (#14240)
  • provider/openstack: Handle disassociating deleted FloatingIP's from a server (#14210)
  • provider/postgres grant role when creating database (#11452)
  • provider/triton: Make triton machine deletes synchronous. (#14368)
  • provisioner/remote-exec: Fix panic from remote_exec provisioner (#14134)

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