Downloads:

373,272

Downloads of v 0.9.3:

752

Last Update:

13 Apr 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.3 | Updated: 13 Apr 2017

Downloads:

373,272

Downloads of v 0.9.3:

752

Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • HashiCorp

Terraform 0.9.3

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

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


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

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


package { 'terraform':
  provider => 'chocolatey',
  ensure   => '0.9.3',
  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.3" 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 13 Apr 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 = '2af313c55c72fa10c1536dfb62895bc8a9351c383ceb24cd6f4565737d03bc83'
$checksum64 = '27a67d3127d762a95024b354a96f36650c340e837566bd296c7ec3ecc15be94a'
$url = 'https://releases.hashicorp.com/terraform/0.9.3/terraform_0.9.3_windows_386.zip'
$url64bit = 'https://releases.hashicorp.com/terraform/0.9.3/terraform_0.9.3_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.3 (April 12, 2017)

BACKWARDS INCOMPATIBILITIES / NOTES:

  • provider/aws: Fix a critical bug in aws_emr_cluster in order to preserve the ordering of any arguments in bootstrap_action. Terraform will now enforce the ordering from the configuration. As a result, aws_emr_cluster resources may need to be recreated, as there is no API to update them in-place [GH-13580]
    FEATURES:

  • New Resource: aws_api_gateway_method_settings [GH-13542]

  • New Resource: aws_api_gateway_stage [GH-13540]

  • New Resource: aws_iam_openid_connect_provider [GH-13456]

  • New Resource: aws_lightsail_static_ip [GH-13175]

  • New Resource: aws_lightsail_static_ip_attachment [GH-13207]

  • New Resource: aws_ses_domain_identity [GH-13098]

  • New Resource: azurerm_managed_disk [GH-12455]

  • New Resource: kubernetes_persistent_volume [GH-13277]

  • New Resource: kubernetes_persistent_volume_claim [GH-13527]

  • New Resource: kubernetes_secret [GH-12960]

  • New Data Source: aws_iam_role [GH-13213]

IMPROVEMENTS:

  • core: add -lock-timeout option, which will block and retry locks for the given duration [GH-13262]
  • core: new chomp interpolation function which returns the given string with any trailing newline characters removed [GH-13419]
  • backend/remote-state: Add support for assume role extensions to s3 backend [GH-13236]
  • backend/remote-state: Filter extra entries from s3 environment listings [GH-13596]
  • config: New interpolation functions basename and dirname, for file path manipulation [GH-13080]
  • helper/resource: Allow unknown "pending" states [GH-13099]
  • command/hook_ui: Increase max length of state IDs from 20 to 80 [GH-13317]
  • provider/aws: Add support to set iam_role_arn on cloudformation Stack [GH-12547]
  • provider/aws: Support priority and listener_arn update of alb_listener_rule [GH-13125]
  • provider/aws: Deprecate roles in favour of role in iam_instance_profile [GH-13130]
  • provider/aws: Make alb_target_group_attachment port optional [GH-13139]
  • provider/aws: aws_api_gateway_domain_name certificate_private_key field marked as sensitive [GH-13147]
  • provider/aws: aws_directory_service_directory password field marked as sensitive [GH-13147]
  • provider/aws: aws_kinesis_firehose_delivery_stream password field marked as sensitive [GH-13147]
  • provider/aws: aws_opsworks_application app_source.0.password & ssl_configuration.0.private_key fields marked as sensitive [GH-13147]
  • provider/aws: aws_opsworks_stack custom_cookbooks_source.0.password field marked as sensitive [GH-13147]
  • provider/aws: Support the ability to enable / disable ipv6 support in VPC [GH-12527]
  • provider/aws: Added API Gateway integration update [GH-13249]
  • provider/aws: Add identifier | name_prefix to RDS resources [GH-13232]
  • provider/aws: Validate aws_ecs_task_definition.container_definitions [GH-12161]
  • provider/aws: Update caller_identity data source [GH-13092]
  • provider/aws: aws_subnet_ids data source for getting a list of subnet ids matching certain criteria [GH-13188]
  • provider/aws: Support ip_address_type for aws_alb [GH-13227]
  • provider/aws: Migrate aws_dms_* resources away from AWS waiters [GH-13291]
  • provider/aws: Add support for treat_missing_data to cloudwatch_metric_alarm [GH-13358]
  • provider/aws: Add support for evaluate_low_sample_count_percentiles to cloudwatch_metric_alarm [GH-13371]
  • provider/aws: Add name_prefix to aws_alb_target_group [GH-13442]
  • provider/aws: Add support for EMR clusters to aws_appautoscaling_target [GH-13368]
  • provider/aws: Add import capabilities to codecommit_repository [GH-13577]
  • provider/bitbucket: Improved error handling [GH-13390]
  • provider/cloudstack: Do not force a new resource when updating cloudstack_loadbalancer_rule members [GH-11786]
  • provider/fastly: Add support for Sumologic logging [GH-12541]
  • provider/github: Handle the case when issue labels already exist [GH-13182]
  • provider/google: Mark google_container_cluster's client_key & password inside master_auth as sensitive [GH-13148]
  • provider/google: Add node_pool field in resource_container_cluster [GH-13402]
  • provider/kubernetes: Allow defining custom config context [GH-12958]
  • provider/openstack: Add support for 'value_specs' options to openstack_compute_servergroup_v2 [GH-13380]
  • provider/statuscake: Add support for StatusCake TriggerRate field [GH-13340]
  • provider/triton: Move to joyent/triton-go [GH-13225]
  • provisioner/chef: Make sure we add new Chef-Vault clients as clients [GH-13525]

BUG FIXES:

  • core: Escaped interpolation-like sequences (like ${foo}) now permitted in variable defaults [GH-13137]
  • core: Fix strange issues with computed values in provider configuration that were worked around with -input=false [GH-11264], [GH-13264]
  • core: Fix crash when providing nested maps as variable values in a module block [GH-13343]
  • core: connection block attributes are now subject to basic validation of attribute names during validate walk [GH-13400]
  • provider/aws: Add Support for maintenance_window and back_window to rds_cluster_instance [GH-13134]
  • provider/aws: Increase timeout for AMI registration [GH-13159]
  • provider/aws: Increase timeouts for ELB [GH-13161]
  • provider/aws: volume_type of aws_elasticsearch_domain.0.ebs_options marked as Computed which prevents spurious diffs [GH-13160]
  • provider/aws: Don't set DBName on aws_db_instance from snapshot [GH-13140]
  • provider/aws: Add DiffSuppression to aws_ecs_service placement_strategies [GH-13220]
  • provider/aws: Refresh aws_alb_target_group stickiness on manual updates [GH-13199]
  • provider/aws: Preserve default retain_on_delete in cloudfront import [GH-13209]
  • provider/aws: Refresh aws_alb_target_group tags [GH-13200]
  • provider/aws: Set aws_vpn_connection to recreate when in deleted state [GH-13204]
  • provider/aws: Wait for aws_opsworks_instance to be running when it's specified [GH-13218]
  • provider/aws: Handle aws_lambda_function missing s3 key error [GH-10960]
  • provider/aws: Set stickiness to computed in alb_target_group [GH-13278]
  • provider/aws: Increase timeout for deploying cloudfront_distribution from 40 to 70 mins [GH-13319]
  • provider/aws: Increase AMI retry timeouts [GH-13324]
  • provider/aws: Increase subnet deletion timeout [GH-13356]
  • provider/aws: Increase launch_configuration creation timeout [GH-13357]
  • provider/aws: Increase Beanstalk env 'ready' timeout [GH-13359]
  • provider/aws: Raise timeout for deleting APIG REST API [GH-13414]
  • provider/aws: Raise timeout for attaching/detaching VPN Gateway [GH-13457]
  • provider/aws: Recreate opsworks_stack on change of service_role_arn [GH-13325]
  • provider/aws: Fix KMS Key reading with Exists method [GH-13348]
  • provider/aws: Fix DynamoDB issues about GSIs indexes [GH-13256]
  • provider/aws: Fix aws_s3_bucket drift detection of logging options [GH-13281]
  • provider/aws: Update ElasticTranscoderPreset to have default for MaxFrameRate [GH-13422]
  • provider/aws: Fix aws_ami_launch_permission refresh when AMI disappears [GH-13469]
  • provider/aws: Add support for updating SSM documents [GH-13491]
  • provider/aws: Fix panic on nil route configs [GH-13548]
  • provider/azurerm: Network Security Group - ignoring protocol casing at Import time [GH-13153]
  • provider/azurerm: Fix crash when importing Local Network Gateways [GH-13261]
  • provider/azurerm: Defaulting the value of duplicate_detection_history_time_window for azurerm_servicebus_topic [GH-13223]
  • provider/azurerm: Event Hubs making the Location field idempotent [GH-13570]
  • provider/bitbucket: Fixed issue where provider would fail with an "EOF" error on some operations [GH-13390]
  • provider/dnsimple: Handle 404 on DNSimple records [GH-13131]
  • provider/kubernetes: Use PATCH to update namespace [GH-13114]
  • provider/ns1: No splitting answer on SPF records. [GH-13260]
  • provider/openstack: Refresh volume_attachment from state if NotFound [GH-13342]
  • provider/openstack: Add SOFT_DELETED to delete status [GH-13444]
  • provider/profitbricks: Changed output type of ips variable of ip_block ProfitBricks resource [GH-13290]
  • provider/template: Fix panic in cloudinit config [GH-13581]

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