Commit Graph

8313 Commits

Author SHA1 Message Date
Paul Hinze 1100243536 state/remote/atlas: switch to retryablehttp
The retryablehttp package implements basic retries w/ exponential
backoff, which helps the remote state push recover in cases of
connectivity blips or transient errors.
2015-12-18 09:48:54 -06:00
James Nugent 3ff7635b64 Merge pull request #4373 from hashicorp/f-gofmt-fail
Fail builds if gofmt reports non-compliance
2015-12-17 12:43:13 -05:00
James Nugent 8e538b68ec Fix errors with gofmt compliance 2015-12-17 12:35:19 -05:00
James Nugent 6d6487e288 Make gofmt errors fail build and add `make fmt`
We may want to consider requiring `gofmt -s` compliance in future
builds, but for now we just use `gofmt`.
2015-12-17 12:35:13 -05:00
Radek Simko 4e408d1593 provider/aws: CloudFormation - Add regression test for #4332 2015-12-17 18:00:09 +01:00
Radek Simko f017d2d2d6 aws: Treat CF stacks in DELETE_COMPLETE state as deleted 2015-12-17 17:59:38 +01:00
Martin Atkins 08ad2d2d7e Merge pull request #4371 from rolo/patch-1
Use [] around depends_on value.
2015-12-17 08:42:18 -08:00
Radek Simko f14cffedcf Update CHANGELOG.md 2015-12-17 17:40:07 +01:00
Radek Simko 8b30fd484d Merge pull request #4365 from TimeIncOSS/b-ecs-td-fix
provider/aws: Treat INACTIVE ECS TDs as deleted in acc tests
2015-12-17 17:38:46 +01:00
Rolo 11a6efa358 Use [] around depends_on value. 2015-12-17 16:35:44 +00:00
Radek Simko a9803d646c Merge pull request #4364 from TimeIncOSS/b-ecs-cluster-fixes
provider/aws: Treat INACTIVE ECS cluster as deleted
2015-12-17 17:10:37 +01:00
Radek Simko 202b0aef1b provider/aws: Always use either body or URL for all updates
- fixes #4332
2015-12-17 17:01:34 +01:00
Radek Simko a080447471 aws: Treat INACTIVE ECS TDs as deleted in acc tests
- related to https://github.com/hashicorp/terraform/pull/3924
2015-12-17 15:40:27 +01:00
Radek Simko 7f5e2b66ff aws: Treat INACTIVE ECS cluster as deleted 2015-12-17 15:34:49 +01:00
Joe Topjian 99b3bcd280 Update CHANGELOG.md 2015-12-16 23:06:17 -07:00
Joe Topjian 669ddbfc5c Merge pull request #4288 from jtopjian/jtopjian-openstack-bfv-set2list
provider/openstack: Convert block_device from TypeSet to TypeList
2015-12-16 23:05:00 -07:00
Joe Topjian ef0b870425 Merge pull request #4356 from lowescott/issue-4319
provider/openstack: Add section on referencing security groups by name
2015-12-16 22:16:44 -07:00
Martin Atkins 744b23bb69 Merge #3122: MySQL provider. 2015-12-16 18:07:06 -08:00
Martin Atkins a9d97708ee mysql provider and mysql_database resource.
Allows databases on pre-existing MySQL servers to be created and managed
by Terraform.
2015-12-16 17:59:35 -08:00
James Nugent 90eb04399a Merge pull request #4357 from stack72/docs-aws_db_security_group_ingress
provider/aws: DB Security Group Docs
2015-12-16 19:25:36 -05:00
stack72 e8eb2e3573 Changing the ingress structure to be required in DB Security Group - this was marked as optional in the docs whereas the schema has it as required 2015-12-17 01:18:53 +01:00
James Nugent ba49e1b730 Merge pull request #4355 from stack72/gofmt_errors_1
Fixing Gofmt errors
2015-12-16 18:51:51 -05:00
stack72 14b7559cd1 Fixing Gofmt errors 2015-12-17 00:43:50 +01:00
Scott Lowe 1a9eab2cbe Add section on referencing security groups by name
Added new section to end of Markdown file for OpenStack security groups,
recommending that security groups are referenced by the name attribute
instead of by the ID attribute.
2015-12-16 16:36:00 -07:00
Harry Macey 4f5df717b4 Fixes #4351
Adding empty string defaults for network interface and instance when reading `aws_eip` resource.
2015-12-16 17:38:05 -05:00
clint shryock d4e4fb6ea0 Reuse structure method for network interface ips 2015-12-16 13:56:23 -06:00
Joe Topjian 03a7926198 Merge pull request #4298 from jtopjian/jtopjian-openstack-devstack
provider/openstack: DevStack Deploy Script
2015-12-16 11:44:12 -07:00
Clint 91045b3a51 Update CHANGELOG.md 2015-12-16 11:43:30 -06:00
Clint fb2735e470 Merge pull request #4307 from justnom/b-private-ips-eni
provider/aws: Allow changing private IPs for ENIs
2015-12-16 11:43:07 -06:00
Clint 9441738f40 Update CHANGELOG.md 2015-12-16 11:22:29 -06:00
Clint 60817ae91a Merge pull request #4315 from paybyphone/paybyphone_s3bucketpolicywaiter
aws_s3_bucket: Retry MalformedPolicy errors due to newly created principals
2015-12-16 11:21:52 -06:00
clint shryock b172d94381 provider/aws: Fix check destroy method for s3 tests 2015-12-16 11:07:15 -06:00
James Nugent 37340179e1 Update CHANGELOG.md 2015-12-16 11:38:40 -05:00
James Nugent 19e68da388 Merge pull request #4340 from stack72/f-aws-db_subnet_group_name-downcase
provider/aws: StateFunc on db_subnet_group name to be lowercase
2015-12-16 11:36:37 -05:00
stack72 57bcb49ede Change the DB Subnet Group Name to not allow UPPERCASE characters. If
this happens, throw a validation error

Add some ValidationTests for the DBSubnetGroupName ValidateFunc
2015-12-16 17:32:47 +01:00
Clint e2391fbafc Update CHANGELOG.md 2015-12-16 10:12:43 -06:00
Clint 54e44328e6 Merge pull request #4254 from hashicorp/b-aws-auth-refactor
provider/aws: WIP Refactor AWS Authentication chain
2015-12-16 10:12:06 -06:00
Andrew Hodges f353f5c62d Clarify the docs for Packet a bit. 2015-12-16 09:57:58 -05:00
James Nugent 3365cd2231 Update CHANGELOG.md 2015-12-15 18:49:24 -05:00
James Nugent 06f50e0144 Merge pull request #4226 from hashicorp/f-azure-arm
Preliminary support for Azure Resource Manager
2015-12-15 18:48:39 -05:00
James Nugent 805c4896bd provider/azurerm: Clean up work for base provider
- Add documentation for resources
- Rename files to match standard patterns
- Add acceptance tests for resource groups
- Add acceptance tests for vnets
- Remove ARM_CREDENTIALS file - as discussed this does not appear to be
  an Azure standard, and there is scope for confusion with the
  azureProfile.json file which the CLI generates. If a standard emerges
  we can reconsider this.
- Validate credentials in the schema
- Remove storage testing artefacts
- Use ARM IDs as Terraform IDs
- Use autorest hooks for logging
2015-12-15 18:31:02 -05:00
Nashwan Azhari 63bc8e9852 provider/azurerm: Tidy up minor issues
This commit cleans up some of the work on the Azure ARM provider
following review by @phinze. Specifically:

- Unnecessary ASM-targeted tests are removed
- Validation is added to the `resource_group` resource
- `dns_servers_names` -> `dns_servers` as per the API documentation
- AZURE_SUBSCRIPTION_ID environment variable is renamed to be
  ARM_SUBSCRIPTION_ID in order to match the other environment variables
2015-12-15 17:26:33 -05:00
Nashwan Azhari c279adfc55 provider/azurerm: Initial commit.
This commit brings some of the work over from #3808, but rearchitects to
use a separate provider for Azure Resource Manager. This is in line with
the decisions made by the Azure Powershell Cmdlets, and is important for
usability since the sets of required fields change between the ASM and
ARM APIs.

Currently `azurerm_resource_group` and `azurerm_virtual_network` are
implemented, more resources will follow.
2015-12-15 17:26:33 -05:00
Clint 294d59cee4 Merge pull request #4330 from hashicorp/docs-update-ami-type
Update doc to use valid AMI and t2.micro instance types
2015-12-15 16:20:47 -06:00
clint shryock 35a69fd322 fix whitespace 2015-12-15 16:20:24 -06:00
clint shryock e59f39df5f other m1/ami-1234 clean ups 2015-12-15 16:12:31 -06:00
clint shryock 6236e8d720 Update doc to use valid AMI and t2.micro instance types 2015-12-15 15:58:28 -06:00
Clint 64bded6269 Merge pull request #4268 from duggan/route53-health-check-doc-fix
Change wording of aws_route53_health_check
2015-12-15 14:51:22 -06:00
Lars Wander 889b9fc95d Merge pull request #3763 from sl1pm4t/b-gce-instance-no-exist
Issue #3742 - terraform destroy fails if Google Compute Instance no...
2015-12-15 15:02:36 -05:00
Lars Wander a4d9ae3fa5 Merge pull request #3735 from lwander/b-gcp-container-cluster-document-scopes
provider/google: Improve Container Scope Example Documentation
2015-12-15 13:03:05 -05:00