Dmytro Aleksandrov
20bb0b352a
Added gophercloud startstop dependency
2016-06-23 09:19:40 +03:00
stack72
ba5131b7d7
provider/aws: Support Import for `aws_iam_group`
...
Small change to the test as it was failing sometimes as it was using the
same identifier. The small change has made it more stable when running
it in quick succession as it isn't an update
```
make testacc TEST=./builtin/providers/aws
TESTARGS='-run=TestAccAWSIAMGroup_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /vendor/)
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSIAMGroup_
-timeout 120m
=== RUN TestAccAWSIAMGroup_importBasic
--- PASS: TestAccAWSIAMGroup_importBasic (14.14s)
=== RUN TestAccAWSIAMGroup_basic
--- PASS: TestAccAWSIAMGroup_basic (22.88s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 37.040s
```
2016-06-23 03:10:31 +01:00
stack72
82529f8029
provider/aws: Support Import for `aws_iam_user`
...
The Id wasn't being set until after the Read func returned from the API.
I needed to move that Id set up until just after the Create response
returned
The same Id's have been set - username
```
make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSUser_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /vendor/)
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSUser_
-timeout 120m
=== RUN TestAccAWSUser_importBasic
--- PASS: TestAccAWSUser_importBasic (14.24s)
=== RUN TestAccAWSUser_basic
--- PASS: TestAccAWSUser_basic (24.99s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 39.261s
```
2016-06-23 02:56:59 +01:00
stack72
3332f757cb
provider/aws: Support Import for `aws_vpc_endpoint`
...
```
make testacc TEST=./builtin/providers/aws
TESTARGS='-run=TestAccAWSVpcEndpoint_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /vendor/)
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSVpcEndpoint_
-timeout 120m
=== RUN TestAccAWSVpcEndpoint_importBasic
--- PASS: TestAccAWSVpcEndpoint_importBasic (45.90s)
=== RUN TestAccAWSVpcEndpoint_basic
--- PASS: TestAccAWSVpcEndpoint_basic (46.64s)
=== RUN TestAccAWSVpcEndpoint_withRouteTableAndPolicy
--- PASS: TestAccAWSVpcEndpoint_withRouteTableAndPolicy (91.91s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 184.470s
```
2016-06-23 02:48:59 +01:00
stack72
45f394b5ae
provider/aws: Support Import for `aws_redshift_subnet_group`
...
```
make testacc TEST=./builtin/providers/aws
TESTARGS='-run=TestAccAWSRedshiftSubnetGroup_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /vendor/)
TF_ACC=1 go test ./builtin/providers/aws -v
-run=TestAccAWSRedshiftSubnetGroup_ -timeout 120m
=== RUN TestAccAWSRedshiftSubnetGroup_importBasic
--- PASS: TestAccAWSRedshiftSubnetGroup_importBasic (47.76s)
=== RUN TestAccAWSRedshiftSubnetGroup_basic
--- PASS: TestAccAWSRedshiftSubnetGroup_basic (47.75s)
=== RUN TestAccAWSRedshiftSubnetGroup_updateSubnetIds
--- PASS: TestAccAWSRedshiftSubnetGroup_updateSubnetIds (77.74s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 173.271s
```
2016-06-23 02:33:29 +01:00
stack72
b310842383
provider/aws: Support Import for `aws_sns_topic`
...
```
make testacc TEST=./builtin/providers/aws
TESTARGS='-run=TestAccAWSSNSTopic_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /vendor/)
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSSNSTopic_
-timeout 120m
=== RUN TestAccAWSSNSTopic_importBasic
--- PASS: TestAccAWSSNSTopic_importBasic (17.02s)
=== RUN TestAccAWSSNSTopic_basic
--- PASS: TestAccAWSSNSTopic_basic (16.59s)
=== RUN TestAccAWSSNSTopic_withIAMRole
--- PASS: TestAccAWSSNSTopic_withIAMRole (28.90s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 62.536s
```
2016-06-23 02:27:13 +01:00
stack72
95476404c3
provider/aws: Support Import functionality for `aws_db_subnet_group`
...
```
make testacc TEST=./builtin/providers/aws
TESTARGS='-run=TestAccAWSDBSubnetGroup_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /vendor/)
TF_ACC=1 go test ./builtin/providers/aws -v
-run=TestAccAWSDBSubnetGroup_ -timeout 120m
=== RUN TestAccAWSDBSubnetGroup_importBasic
--- PASS: TestAccAWSDBSubnetGroup_importBasic (53.80s)
=== RUN TestAccAWSDBSubnetGroup_basic
--- PASS: TestAccAWSDBSubnetGroup_basic (52.29s)
=== RUN TestAccAWSDBSubnetGroup_withUndocumentedCharacters
--- PASS: TestAccAWSDBSubnetGroup_withUndocumentedCharacters (54.63s)
=== RUN TestAccAWSDBSubnetGroup_updateDescription
--- PASS: TestAccAWSDBSubnetGroup_updateDescription (83.04s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 243.785s
```
2016-06-23 02:21:11 +01:00
stack72
2a07f86041
provider/aws: Support Import for `aws_elasticache_subnet_group`
...
```
make testacc TEST=./builtin/providers/aws
TESTARGS='-run=TestAccAWSElasticacheSubnetGroup_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /vendor/)
TF_ACC=1 go test ./builtin/providers/aws -v
-run=TestAccAWSElasticacheSubnetGroup_ -timeout 120m
=== RUN TestAccAWSElasticacheSubnetGroup_importBasic
--- PASS: TestAccAWSElasticacheSubnetGroup_importBasic (46.80s)
=== RUN TestAccAWSElasticacheSubnetGroup_basic
--- PASS: TestAccAWSElasticacheSubnetGroup_basic (48.79s)
=== RUN TestAccAWSElasticacheSubnetGroup_update
--- PASS: TestAccAWSElasticacheSubnetGroup_update (76.81s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 172.431s
```
2016-06-23 02:12:02 +01:00
stack72
24a21e2f0a
provider/aws: Add Import support for `aws_cloudwatch_log_group`
...
```
make testacc TEST=./builtin/providers/aws
TESTARGS='-run=TestAccAWSCloudWatchLogGroup_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /vendor/)
TF_ACC=1 go test ./builtin/providers/aws -v
-run=TestAccAWSCloudWatchLogGroup_ -timeout 120m
=== RUN TestAccAWSCloudWatchLogGroup_importBasic
--- PASS: TestAccAWSCloudWatchLogGroup_importBasic (17.24s)
=== RUN TestAccAWSCloudWatchLogGroup_basic
--- PASS: TestAccAWSCloudWatchLogGroup_basic (16.69s)
=== RUN TestAccAWSCloudWatchLogGroup_retentionPolicy
--- PASS: TestAccAWSCloudWatchLogGroup_retentionPolicy (29.10s)
=== RUN TestAccAWSCloudWatchLogGroup_multiple
--- PASS: TestAccAWSCloudWatchLogGroup_multiple (22.09s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 85.140s
```
2016-06-23 01:55:29 +01:00
stack72
882e4fe770
provider/aws: Support Import for `aws_vpn_gateway`
...
```
make testacc TEST=./builtin/providers/aws
TESTARGS='-run=TestAccAWSVpnGateway_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /vendor/)
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSVpnGateway_
-timeout 120m
=== RUN TestAccAWSVpnGateway_importBasic
--- PASS: TestAccAWSVpnGateway_importBasic (48.29s)
=== RUN TestAccAWSVpnGateway_basic
--- PASS: TestAccAWSVpnGateway_basic (86.98s)
=== RUN TestAccAWSVpnGateway_reattach
--- PASS: TestAccAWSVpnGateway_reattach (97.93s)
=== RUN TestAccAWSVpnGateway_delete
--- PASS: TestAccAWSVpnGateway_delete (65.61s)
=== RUN TestAccAWSVpnGateway_tags
--- PASS: TestAccAWSVpnGateway_tags (73.81s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 372.624s
```
2016-06-23 01:25:13 +01:00
stack72
edf593febd
provider/aws: Support import functionality for `aws_ecr_repository`
...
Changes required:
* ECR Read func doesn't need to take ``registry_id` as it uses the
current account Id
* `name` wasn't being set in the ECR Read so the import was failing as
name wasn't found
```
make testacc TEST=./builtin/providers/aws
TESTARGS='-run=TestAccAWSEcrRepository_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /vendor/)
TF_ACC=1 go test ./builtin/providers/aws -v
-run=TestAccAWSEcrRepository_ -timeout 120m
=== RUN TestAccAWSEcrRepository_importBasic
--- PASS: TestAccAWSEcrRepository_importBasic (17.37s)
=== RUN TestAccAWSEcrRepository_basic
--- PASS: TestAccAWSEcrRepository_basic (16.05s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 33.437s
```
2016-06-23 00:58:59 +01:00
stack72
74ea8697de
provider/vsphere: Add migration for `enable_disk_uuid` on
...
`virtual_machine`
Fixes #7275 - a state migration was missed when `enable_disk_uuid` was
merged
```
make testacc TEST=./builtin/providers/vsphere
TESTARGS='-run=TestVSphereVirtualMachineMigrateState'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /vendor/)
TF_ACC=1 go test ./builtin/providers/vsphere -v
-run=TestVSphereVirtualMachineMigrateState -timeout 120m
=== RUN TestVSphereVirtualMachineMigrateState
--- PASS: TestVSphereVirtualMachineMigrateState (0.00s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/vsphere
0.018s
```
2016-06-22 23:43:44 +01:00
Brian Hahn
004cec60b3
fix readme numbered indentation ( #7277 )
2016-06-22 23:37:44 +01:00
James Bardin
1ad5c593c8
update CHANGELOG
2016-06-22 11:51:52 -04:00
James Bardin
146d40ac40
Merge pull request #7273 from hashicorp/jbardin/GH-7238
...
core: Don't try to copy files over themselves
2016-06-22 11:38:01 -04:00
James Bardin
558e023e26
Don't try to copy files over themselves
...
When copying a config module, make sure the full path for src and dst
files don't match, and also check the inode in case we resolved a
different path to the same file.
Make a note about the unsafe usage of reusing a tempDir path.
2016-06-22 11:25:42 -04:00
James Nugent
b68eca56f4
Merge pull request #7272 from hashicorp/state-deepcopy-copystructure
...
core: Correctly ensure that State() is a copy
2016-06-22 17:35:09 +03:00
James Nugent
d60365af02
core: Correctly ensure that State() is a copy
...
The previous mechanism for testing state threw away the mutation made on
the state by calling State() twice - this commit corrects the test to
match the comment.
In addition, we replace the custom copying logic with the copystructure
library to simplify the code.
2016-06-22 17:21:27 +03:00
James Nugent
b190aa05a5
core: Add missing OutputStates in synthetic state
...
In cases where we construct state directly rather than reading it via
the usual methods, we need to ensure that the necessary maps are
initialized correctly.
2016-06-22 17:06:41 +03:00
James Nugent
828efef09e
Merge pull request #7271 from hashicorp/core-test-args
...
build: Allow TESTARGS on make core-test
2016-06-22 16:33:22 +03:00
James Nugent
27d21778a2
build: Allow TESTARGS on make core-test
2016-06-22 16:32:43 +03:00
James Nugent
2b13e930ff
Merge pull request #7267 from hashicorp/docs-map-keys-numeric
...
docs: Mention map keys which start with a number
2016-06-22 12:05:50 +03:00
James Nugent
0885aeef93
docs: Mention map keys which start with a number
...
Fixes #6857 .
2016-06-22 12:05:12 +03:00
James Nugent
82a7ad8ed2
Merge pull request #7266 from hashicorp/fix-state-mv
...
cli: Fix registration of `state mv`.
2016-06-22 11:54:05 +03:00
James Nugent
aa5dc453ee
cli: Fix registration of `state mv`.
...
Fixes #7259 .
2016-06-22 11:46:38 +03:00
Keshav Varma
58bd6dfb02
Add an AWS Spot fleet resource
2016-06-21 17:31:30 -07:00
Clint
c5ec77eab5
Update CHANGELOG.md
2016-06-21 14:53:39 -05:00
Clint
f4a1833baf
provider/aws: Bundle IOPs and Allocated Storage update for DB Instances ( #7203 )
2016-06-21 14:53:13 -05:00
clint shryock
005d9a12e0
provider/aws: Update IAM / ELB server certs from expired ones
2016-06-21 13:54:40 -05:00
James Nugent
f4d16a0dda
Merge pull request #7247 from boyvanduuren/google_authentication_documentation
...
provider/google: Updated the documentation
2016-06-21 12:18:30 +02:00
James Nugent
6c13ec8b41
Merge pull request #7252 from hashicorp/update-hcl
...
deps: Update github.com/hashicorp/hcl/...
2016-06-21 10:47:14 +02:00
James Nugent
9acd031e3b
deps: Update github.com/hashicorp/hcl/...
...
Fixes #6774 .
2016-06-21 11:30:24 +03:00
Radek Simko
820c7ca519
Update CHANGELOG.md
2016-06-20 23:17:41 +01:00
Radek Simko
6fed5eb8f0
aws: Use new STS endpoint to validate creds ( #6536 )
2016-06-20 23:14:07 +01:00
Boy van Duuren
9dfbc20abf
Updated the google provider authentication documentation
...
The Authentication JSON File[1] part of the Google provider
documentation contained outdated information.
This has now been updated.
2016-06-20 23:54:54 +02:00
Clint
a2dcb44eb4
Update CHANGELOG.md
2016-06-20 16:21:53 -05:00
David Harris
c7eb8a2022
provider/aws: elastic beanstalk invalid setting crash ( #7222 )
...
* Only check the `cnamePrefix` if the CNAME is not nil
* Get Elastic Beanstalk error messages
2016-06-20 16:21:15 -05:00
clint shryock
ecc455ebb4
provider/aws: Guard against nil values in EC2 Tags
2016-06-20 15:53:04 -05:00
James Nugent
4bb3335541
Update CHANGELOG.md
2016-06-20 19:17:17 +03:00
James Nugent
cf39fb22c2
Merge pull request #7201 from hashicorp/b-update-hcl-jun16
...
vendor: Update hashicorp/hcl to latest version
2016-06-20 18:15:43 +02:00
James Nugent
9d6c629689
config: Update test to reflect new behaviour
...
Escaped quotes are no longer supported as HIL syntax (as of the last
update to HIL), so this commit changes the Terraform config-layer test
to verify the non-presence of this behaviour for 0.7.
2016-06-20 19:06:03 +03:00
Paul Hinze
04f7afa04c
vendor: Update hashicorp/hcl to latest version
...
Catches https://github.com/hashicorp/hcl/pull/132
Fixes #5550
2016-06-20 18:56:40 +03:00
James Nugent
717dced13f
Update CHANGELOG.md
2016-06-20 09:43:43 +02:00
James Nugent
a0df0bd7df
Merge pull request #7227 from dtolnay/alarm
...
Stop swallowing errors from DescribeAlarms
2016-06-20 09:42:06 +02:00
James Nugent
b8d15ec147
Merge pull request #7223 from leecalcote/patch-1
...
website/remote: added example usage for -disable
2016-06-20 09:39:50 +02:00
David Tolnay
0b9fb1d8f8
Stop swallowing errors from DescribeAlarms
...
This caused alarms to be created repeatedly if Terraform is running without
DescribeAlarms permission.
2016-06-18 15:57:52 -07:00
Lee Calcote
b0d777c742
website/remote: added example usage for -disable
...
Added example usage for remote config subcommand, showing how to move from remote state to local state.
2016-06-17 20:16:09 -05:00
Thomas Reggi
fe540b408f
change the node_type to smaller size ( #7218 )
2016-06-17 15:53:45 -05:00
James Bardin
2a2f7cbc52
Merge pull request #7205 from hashicorp/jbardin/GH-2027
...
core: don't check any parts of a computed set in InstanceDiff.Same
2016-06-17 11:00:29 -04:00
Radek Simko
a1f571725e
Update CHANGELOG.md
2016-06-17 12:38:03 +01:00