Commit Graph

10136 Commits

Author SHA1 Message Date
James Nugent d7d39702c0 Type check variables between modules (#6185)
These tests demonstrates a problem where the types to a module input are 
not checked. For example, if a module - inner - defines a variable
"should_be_a_map" as a map, or with a default variable of map, we do not
fail if the user sets the variable value in the outer module to a string
value. This is also a problem in nested modules.

The implementation changes add a type checking step into the graph
evaluation process to ensure invalid types are not passed.
2016-04-15 12:07:54 -07:00
Clint 05decba135 provider/aws: Better randomize the CloudTrail tests (#6188) 2016-04-15 10:06:40 -05:00
Lars Wander 75212e7edc Update CHANGELOG.md 2016-04-15 09:03:19 -04:00
Lars Wander a2d8324d4f Merge pull request #5871 from evandbrown/gke-new-features
provider/google: Update Container Engine features
2016-04-15 09:01:50 -04:00
James Nugent bb2c06c245 Merge pull request #6187 from hashicorp/update-godeps-joyent
Update joyent/gosdc/cloudapi to master
2016-04-14 23:47:12 -07:00
Tim 269b331be6 Update joyent/gosdc/cloudapi to master 2016-04-14 19:50:34 -07:00
Evan Brown c6763fd3af Update docs and fix computed container settings 2016-04-14 16:33:52 -07:00
Evan Brown 5eaf2033bd provider/google: Support manual subnetworks and addons config 2016-04-14 16:31:24 -07:00
Evan Brown 0d6a799e1f [WIP] provider/google: Update Container Engine features
1. Vendored google.golang.org/api packages were updated
2016-04-14 16:31:24 -07:00
Paul Hinze e5713cadf8 Update CHANGELOG.md 2016-04-14 15:06:10 -05:00
Paul Hinze eded8bbf0a Merge pull request #6087 from aheeren/Vsphere-windows
Vsphere windows support
2016-04-14 15:04:40 -05:00
Clint 36faa4c406 Update CHANGELOG.md 2016-04-14 14:56:59 -05:00
Chris Marchesi a38ccbe074 CloudFront distribution and origin access identity support (#5221)
* CloudFront implementation v3

* Update tests

* Refactor - new resource: aws_cloudfront_distribution

 * Includes a complete re-write of the old aws_cloudfront_web_distribution
   resource to bring it to feature parity with API and CloudFormation.
 * Also includes the aws_cloudfront_origin_access_identity resource to generate
   origin access identities for use with S3.
2016-04-14 14:55:11 -05:00
Raymond Fallon eed8733ee3 provider/aws: Enhance Triggers for AWS CodeDeploy Event Notifications (#6168)
* Improve testing of CodeDeploy DeploymentGroup Trigger Configs

  - ensure updates to trigger_events are applied
  - assert changes to trigger_target_arn

* Retry CodeDeploy DeploymentGroup when Trigger Config SNS Topic is not available

  - increase retries from 2 => 5
2016-04-14 20:26:33 +01:00
Cameron Stokes cfbe11b126 Fix docs for azurerm_virtual_machine and ssh_keys (#6171)
For `ssh_keys` in `os_profile_linux_config`, the docs specify `key_path`, but the code expects `path` - 453d38bafc/builtin/providers/azurerm/resource_arm_virtual_machine.go (L284).
2016-04-14 00:24:01 +01:00
Adam Heeren 0b97c0a6f4 Adding default time logic for windows clones 2016-04-13 15:41:58 -04:00
Mitchell Hashimoto 453d38bafc Update CHANGELOG.md 2016-04-13 12:18:28 -07:00
Mitchell Hashimoto e9fd00cde6 Merge pull request #6163 from hashicorp/f-pending-ui-2
command: show periodic messages about continued ops
2016-04-13 12:15:21 -07:00
Mitchell Hashimoto 08ad84d8b2 command: defer the lock unlock 2016-04-13 12:02:24 -07:00
Mitchell Hashimoto 284bc92c04 command: show periodic messages about continued ops 2016-04-13 11:12:05 -07:00
James Nugent ab14b3ad00 Merge pull request #6160 from hashicorp/f-print-node-types
core: Print node types in traces
2016-04-13 10:26:33 -07:00
James Nugent 0d289f982c core: Print node types in traces
This makes it clearer when looking at  output as to which types of node
are involved in a particular graph.
2016-04-13 10:20:18 -07:00
Adam Heeren f04298f78d Renaming linkedClone to linked_clone in config spec 2016-04-13 12:42:55 -04:00
James Nugent bf619d0c9d Merge pull request #6159 from hashicorp/phinze/remove-module-input-transform
core: Remove module input transformer
2016-04-13 09:28:36 -07:00
Paul Hinze d992f8d52d core: Remove module input transformer
The nodes it adds were immediately skipped by flattening and therefore
never had any effect. That makes the transformer effectively dead code
and removable. This was the only usage of FlattenSkip so we can remove
that as well.
2016-04-13 11:15:24 -05:00
clint shryock 2830558bc9 check resource data for base64 encoded string 2016-04-13 10:44:26 -05:00
Clint 012d06489f Update CHANGELOG.md 2016-04-13 10:20:56 -05:00
Doug Neal 1c662c2bc4 [#4794] Don't Base64-encode EC2 userdata if it is already Base64 encoded (#6140)
* Don't Base64-encode EC2 userdata if it is already Base64 encoded

The user data may be Base64 encoded already - for example, if it has been
generated by a template_cloudinit_config resource.

* Add encoded user_data to aws_instance acceptance test
2016-04-13 10:20:20 -05:00
Clint c86c594b23 Update CHANGELOG.md 2016-04-13 09:28:52 -05:00
Carlos Sanchez 32bd25d743 Issue #2174 Check that InternetGateway exists before returning from creation (#6105)
* Issue #2174 Check that InternetGateway exists before returning from creation

Fix some random InvalidInternetGatewayID.NotFound errors

* Issue #2174 Reuse IGStateRefreshFunc

* Issue #2174 Need to wait for creation before setting tags
2016-04-13 09:28:17 -05:00
Radek Simko 65bef82a32 Update CHANGELOG.md 2016-04-13 15:20:26 +01:00
Radek Simko 269858998d Merge pull request #6157 from TimeIncOSS/b-lambda-vpc-read
provider/aws: Fix Lambda VPC integration (missing vpc_id field)
2016-04-13 15:19:20 +01:00
Radek Simko f6a21e7899 provider/aws: Read VPC ID for Lambda function back from API 2016-04-13 15:05:19 +01:00
Radek Simko 3f188d5d1b provider/aws: Improve test for VPC-based Lambda func 2016-04-13 15:05:19 +01:00
James Nugent 9c236e7508 build: Remove gofmt check from core-dev target 2016-04-13 08:40:35 -05:00
Yousef Alam 286d2fadea Add note about ports when rule is created for all protocols (#6131) 2016-04-12 16:46:18 -05:00
Paul Hinze f5f84ece82 Merge pull request #6142 from hashicorp/sethvargo/ws_md
Fix website metadata script
2016-04-12 14:11:47 -05:00
Seth Vargo 00e732ca03 Fix website metadata script 2016-04-12 20:09:27 +01:00
James Nugent 1fe3de0315 Update CHANGELOG.md 2016-04-12 13:12:54 -05:00
Patrick Sodré 4a6e161e2b Fix Triton firewall_enabled bug with AccTest (#6119)
Update github.com/joyent/gosdc/...

Test does the minimum described in hashicorp/terraform#6109, i.e.
	- Start a small instance, t4-standard-128M
	- Check firewall is enabled
	- Change configuration to disable firewall
	- Check firewall is disabled.

Fixes #6119.
2016-04-12 13:10:53 -05:00
Paul Hinze 678653fa1e Merge pull request #6141 from hashicorp/enterprise-bnr
announceement banner for TF Enterprise
2016-04-12 12:09:13 -05:00
Sander van Harmelen 9feb7ebb06 Update CHANGELOG.md 2016-04-12 18:37:58 +02:00
Sander van Harmelen 4db1af8939 Merge pull request #6123 from svanharmelen/f-cloudstack-id
provider/cloudstck: refactor the use of names vs IDs for parameters referencing other TF resources
2016-04-12 18:34:26 +02:00
Joe Topjian d51c759467 Update CHANGELOG.md 2016-04-11 22:54:37 -06:00
Joe Topjian 779b36106f Merge pull request #4898 from Fodoj/add-router-type
provider/openstack Add value_specs for routers
2016-04-11 22:52:10 -06:00
Peter Marton 2df53f283d Add gzip and base64 default values to cloudinit template docs (#4875) 2016-04-11 14:19:04 -05:00
Paul Stack ff749e0b04 Update CHANGELOG.md 2016-04-11 19:44:01 +01:00
Raymond Fallon 0cd0a4ec9c provider/aws: Manage Triggers for AWS CodeDeploy Event Notifications (#5599)
* provider/aws: CodeDeploy Deployment Group Triggers

  - Create a Trigger to Send Notifications for AWS CodeDeploy Events
  - Update aws_codedeploy_deployment_group docs

* Refactor validateTriggerEvent function and test

  - also rename TestAccAWSCodeDeployDeploymentGroup_triggerConfiguration test

* Enhance existing Deployment Group integration tests

  - by using built in resource attribute helpers
  - these can get quite verbose and repetitive, so passing the resource to a function might be better
  - can't use these (yet) to assert trigger configuration state

* Unit tests for conversions between aws TriggerConfig and terraform resource schema

  - buildTriggerConfigs
  - triggerConfigsToMap
2016-04-11 19:42:21 +01:00
Paul Stack 100b7ea4b5 Fix the README file with the correct link to the CONTRBUTING.md (#6127) 2016-04-11 13:35:59 -05:00
captainill c5dbf1d04a annoucnement bnr 2016-04-11 13:02:15 -05:00