Commit Graph

11051 Commits

Author SHA1 Message Date
Paul Stack
e81751c4ee provider/aws: Support Import aws_sns_topic_subscription (#7359)
Had to change the way that the tests were working to include a random sqs-queue name due to this error:

```

`aws_sqs_queue.test_queue: Error creating SQS queue: AWS.SimpleQueueService.QueueDeletedRecently: You must wait 60 seconds after deleting a queue before you can create another with the same name.
			status code: 400, request id: b58e800a-ae27-556e-b6de-cfe1bbf9dc09``

```
make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSSNSTopicSubscription_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /vendor/)
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSSNSTopicSubscription_ -timeout 120m
=== RUN   TestAccAWSSNSTopicSubscription_importBasic
--- PASS: TestAccAWSSNSTopicSubscription_importBasic (24.44s)
=== RUN   TestAccAWSSNSTopicSubscription_basic
--- PASS: TestAccAWSSNSTopicSubscription_basic (25.26s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	49.722s
```
2016-06-27 08:44:05 -05:00
Paul Stack
aa00d38a10 provider/aws: Support Import aws_rds_cluster_parameter_group (#7360)
* provider/aws: Support Import `aws_rds_cluster_parameter_group`

```
make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSDBClusterParameterGroup_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /vendor/)
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSDBClusterParameterGroup_ -timeout 120m
=== RUN   TestAccAWSDBClusterParameterGroup_importBasic
--- PASS: TestAccAWSDBClusterParameterGroup_importBasic (29.60s)
=== RUN   TestAccAWSDBClusterParameterGroup_basic
--- PASS: TestAccAWSDBClusterParameterGroup_basic (47.27s)
=== RUN   TestAccAWSDBClusterParameterGroup_disappears
--- PASS: TestAccAWSDBClusterParameterGroup_disappears (21.58s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	98.483s
```

* Update import_aws_rds_cluster_parameter_group_test.go
2016-06-27 08:42:55 -05:00
Paul Stack
561b4f1417 provider/azurerm: Documentation update for Public IP resource (#7335)
Fixes #7334 where the Public IP documentation was copied and pasted from
availability set documentation and wasn't updated
2016-06-27 12:47:54 +01:00
Radek Simko
827fcf15c5 aws/docs: Make item ordering in sidebar alphabetical (#7358) 2016-06-27 12:36:32 +01:00
Rob Rankin
d99880dc80 Slight doc correction (#7356)
Docs referred to availability set name, not NSG name,
2016-06-27 12:24:53 +01:00
Craig Dodd
139302122e Minor typo fixes (#7354) 2016-06-27 11:54:19 +01:00
Sander van Harmelen
57f21b40e1 Merge pull request #7240 from mcanevet/cloudstack_securitygroupnames
provider/cloudstack: add security_group_names
2016-06-27 10:42:20 +02:00
Mickaël Canévet
318310c019 Remove Computed flag 2016-06-27 10:35:40 +02:00
Mickaël Canévet
b4c7a274fa Add provider/cloudstack: add security_group_ids 2016-06-27 10:35:40 +02:00
Mickaël Canévet
d7e7a45ec6 provider/cloudstack: add security_group_names 2016-06-27 10:33:25 +02:00
Sander van Harmelen
dd59ceb495 Merge pull request #7242 from mcanevet/cloudstack_affinitygroupnames
provider/cloudstack: add affinity_group_names
2016-06-27 10:18:10 +02:00
Mickaël Canévet
3d9bdafb97 provider/cloudstack: add affinity_group_names 2016-06-27 09:55:34 +02:00
Joe Topjian
59e2a43aa6 Merge pull request #7337 from jtopjian/openstack-keystonev3-token
vendor: Updating Gophercloud Deps
2016-06-26 22:53:17 -06:00
Joe Topjian
1f86d610e3 vendor: Updating Gophercloud Deps 2016-06-27 04:04:37 +00:00
Paul Stack
dec911f7e5 Update CHANGELOG.md 2016-06-26 22:19:04 +01:00
Patrick Sodré
80936e3562 provider/triton: add machine domain names (#7149)
* vendor joyent/gosdc/cloudapi

* provider/triton: Add machine domain names

 - Includes acceptance test.
2016-06-26 22:18:17 +01:00
Paul Stack
81814c7997 Update CHANGELOG.md 2016-06-26 22:09:10 +01:00
yissachar
1bd8b449e0 Add SES resource (#5387)
* Add SES resource

* Detect ReceiptRule deletion outside of Terraform

* Handle order of rule actions

* Add position field to docs

* Fix hashes, add log messages, and other small cleanup

* Fix rebase issue

* Fix formatting
2016-06-26 22:07:14 +01:00
Joe Topjian
c0ecbdb27b Update CHANGELOG.md 2016-06-26 13:21:09 -06:00
Joe Topjian
10e2786038 Merge pull request #6997 from jtopjian/openstack-lb-pool-disassociate
provider/openstack: Disassociate Monitors from Pool Before Deletion
2016-06-26 13:20:16 -06:00
Sander van Harmelen
e51fb92ab5 Merge pull request #7070 from serbaut/root_disk_size
provider/cloudstack: add root_disk_size
2016-06-25 19:47:48 +02:00
Sander van Harmelen
2faaf0a18c Update CHANGELOG.md 2016-06-25 19:35:36 +02:00
Sander van Harmelen
80f4b8069c Merge pull request #7315 from svanharmelen/f-improve-acls
provider/cloudstack: make ACL's swappable, unless you want to stop using an ACL
2016-06-25 18:09:20 +02:00
Pete Shima
56284ea781 Add a link to the cloudwatch dimensions aws page in the docs (#7325) 2016-06-25 08:41:42 +01:00
Cameron Stokes
0857b13cb9 Fix markdown issue in template_file docs
Extra underscore was breaking markdown.
2016-06-24 07:53:21 -07:00
James Nugent
33053f8170 Merge pull request #7317 from hashicorp/update-hcl
deps: Update github.com/hashicorp/hcl/...
2016-06-24 15:31:18 +03:00
James Nugent
c39044659b deps: Update github.com/hashicorp/hcl/... 2016-06-24 13:20:26 +01:00
James Nugent
1f9a2b241e Merge pull request #7207 from hashicorp/b-diff-maps
core/diff: Fix attribute mismatch with tags.%
2016-06-24 15:03:36 +03:00
James Nugent
8832107c5c Update CHANGELOG.md 2016-06-24 13:01:13 +01:00
James Nugent
51af5e793d Merge pull request #7294 from hashicorp/import-aws-iampp
provider/aws: Support Import for `aws_iam_account_password_policy`
2016-06-24 14:44:36 +03:00
James Nugent
b1e933385b Merge pull request #7296 from hashicorp/import-aws-cloudwatcher
provider/aws: Support Import for `aws_cloudwatch_event_rule`
2016-06-24 14:44:17 +03:00
James Nugent
c91e45604d Merge pull request #7295 from hashicorp/import-aws-cloudtrail
provider/aws: Support Import for `aws_cloudtrail`
2016-06-24 14:43:58 +03:00
James Nugent
ad27dc94fd Merge branch 'jbardin/GH-7139' 2016-06-24 12:42:55 +01:00
James Nugent
cd354ed3c7 core: Use Terraform terms over HCL ones 2016-06-24 12:42:39 +01:00
James Bardin
416e875bff Output expected HCL types when evaluating config
Don't refer to Go types when an unexpected type is encountered in the
config.
2016-06-24 12:42:01 +01:00
James Nugent
8284b79957 Merge pull request #7298 from hashicorp/jbardin/GH-7273-fixup
code: Add proper build constraints for GH-7273
2016-06-24 14:33:10 +03:00
James Nugent
4b1b185220 Merge pull request #7304 from hashicorp/b-module-var-from-multi-var
core: Fix bug with interpolation of unknown multi-variables
2016-06-24 14:31:31 +03:00
James Nugent
e51127ac7a Update CHANGELOG.md 2016-06-24 12:30:52 +01:00
James Nugent
790307aa7a Merge pull request #7307 from hashicorp/arm-nsg-polling
provider/azurerm: `azurerm_network_security_group` now polls for State succeeded
2016-06-24 14:29:47 +03:00
Sander van Harmelen
b7c71382f6 Make ACL's swappable, unless you want to stop using an ACL
In CloudStack you can dynamically start using an ACL and once you use
an ACL you can dynamically swap ACL’s. But once your using an ACL, you
can no longer stop using an ACL without rebuilding the network.

This change makes the `ForceNew` value dynamic so that it only returns
`true` if you are reverting from using an ACL to not using an ACL
anymore, making this functionally inline with the behaviour CloudStack
offers.
2016-06-24 13:27:05 +02:00
Justin Nauman
110714acc5 - Adding option_group_name to docs for db_instance (#7310) 2016-06-24 09:15:01 +01:00
Joe Topjian
2c792c8918 Update CHANGELOG.md 2016-06-23 22:21:40 -06:00
Joe Topjian
69743450d0 Merge pull request #7194 from scrossan/master
provider/openstack: Change rules type to List
2016-06-23 22:18:24 -06:00
stack72
804f5e1288 provider/azurerm: azurerm_network_security_group now polls for State
succeeded

This fixes #7122 where the SG was not fully configured before a
dependant service was created

```
make testacc TEST=./builtin/providers/azurerm
TESTARGS='-run=TestAccAzureRMNetworkSecurityGroup_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /vendor/)
TF_ACC=1 go test ./builtin/providers/azurerm -v
-run=TestAccAzureRMNetworkSecurityGroup_ -timeout 120m
=== RUN   TestAccAzureRMNetworkSecurityGroup_basic
--- PASS: TestAccAzureRMNetworkSecurityGroup_basic (128.93s)
=== RUN   TestAccAzureRMNetworkSecurityGroup_withTags
--- PASS: TestAccAzureRMNetworkSecurityGroup_withTags (164.52s)
=== RUN   TestAccAzureRMNetworkSecurityGroup_addingExtraRules
--- PASS: TestAccAzureRMNetworkSecurityGroup_addingExtraRules (178.20s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/azurerm
471.677s
```
2016-06-23 23:32:34 +01:00
James Nugent
2356afde84 core: Fix interpolation of unknown multi-variables
This commit test "TestContext2Input_moduleComputedOutputElement"
by ensuring that we treat a count of zero and non-reified resources
independently rather than returning an empty list for both, which
results in an interpolation failure when using the element function or
indexing.
2016-06-23 21:15:33 +01:00
James Nugent
983e4f13c6 core: Add context test for empty lists as module outputs
This test illustrates a failure which occurs during the Input walk, if
an interpolation is used with the input of a splat operation resulting
in a multi-variable.

The bug was found during use of the RC2, but does not correspond to an
open issue at present.
2016-06-23 21:15:33 +01:00
James Nugent
17f4777039 core: Fix Stringer on OutputState for types
The implementation of Stringer on OutputState previously assumed outputs
may only be strings - we now no longer cast to string, instead using the
built in formatting directives.
2016-06-23 21:15:33 +01:00
James Nugent
8403a465bc core: Add test and fix for element with empty list
The incldued test previously caused a panic, it now returns an error
message explaining the issue.
2016-06-23 21:15:33 +01:00
Joe Topjian
ef890386b6 Update CHANGELOG.md 2016-06-23 08:16:17 -06:00
Joe Topjian
5ce693df99 Merge pull request #7184 from alkersan/openstack_stop_before_detele
provider/openstack stop before destroy
2016-06-23 08:15:08 -06:00