Commit Graph

13663 Commits

Author SHA1 Message Date
stack72 79557bca80
provider/aws: Add validation to IAM User and Group Name
This will allow us to catch errors at plan time rather than waiting for
the API to tell us...

Documentation for IAM User NAme Validation -
http://docs.aws.amazon.com/cli/latest/reference/iam/create-user.html

Documentation for IAM Group Name validation -
http://docs.aws.amazon.com/cli/latest/reference/iam/create-group.html

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSIAMGroup_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/10/25 13:18:41 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSIAMGroup_
-timeout 120m
=== RUN   TestAccAWSIAMGroup_importBasic
--- PASS: TestAccAWSIAMGroup_importBasic (13.80s)
=== RUN   TestAccAWSIAMGroup_basic
--- PASS: TestAccAWSIAMGroup_basic (23.30s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/aws37.121s
```

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSUser_'                                                                 ✚
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/10/25 13:22:23 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSUser_ -timeout 120m
=== RUN   TestAccAWSUser_importBasic
--- PASS: TestAccAWSUser_importBasic (14.33s)
=== RUN   TestAccAWSUser_basic
--- PASS: TestAccAWSUser_basic (25.36s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	39.710s
```
2016-10-25 13:18:41 +01:00
stack72 4488fccc05
Merge branch 'andrewsomething-issue/9402' 2016-10-25 11:41:45 +01:00
stack72 ff60fa3aa1
provider/digitalocean: Ingore resize_disk on the import DO droplet tests
```
% make testacc TEST=./builtin/providers/digitalocean
% TESTARGS='-run=TestAccDigitalOceanDroplet_importBasic'
% 2 ↵
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/10/25 11:39:26 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/digitalocean -v
-run=TestAccDigitalOceanDroplet_importBasic -timeout 120m
=== RUN   TestAccDigitalOceanDroplet_importBasic
--- PASS: TestAccDigitalOceanDroplet_importBasic (56.04s)
PASS
ok
github.com/hashicorp/terraform/builtin/providers/digitalocean56.049s
```
2016-10-25 11:40:56 +01:00
stack72 11e9e79104
Merge branch 'issue/9402' of https://github.com/andrewsomething/terraform into andrewsomething-issue/9402 2016-10-25 11:13:22 +01:00
Paul Stack 618bf9ba48 Merge pull request #9577 from jamtur01/anchorsinter
Added templates anchor to intrerpolation.md
2016-10-25 08:41:42 +01:00
James Turnbull f83c988496 Added another anchor 2016-10-25 03:39:15 -04:00
Paul Stack 332b292ded Merge pull request #9569 from mtougeron/update-cloudfront-docs-to-include-tags
Add 'tags' attribute to the docs for aws_cloudfront_distribution
2016-10-25 08:14:59 +01:00
Mitchell Hashimoto fa9758e162
helper/schema: test with DiffSuppress and Default 2016-10-24 22:23:13 -07:00
Andrew Starr-Bochicchio ccff5af8e7 Allow resizing DigitalOcean Droplets without increasing disk size. 2016-10-24 20:00:04 -04:00
Mike Tougeron ed7d19783f Add 'tags' attribute to the docs for aws_cloudfront_distribution 2016-10-24 15:10:37 -07:00
Mitchell Hashimoto f6873be4f1 Update remote_state.html.md 2016-10-24 14:14:49 -07:00
Clint 1bb1df2602 Update CHANGELOG.md 2016-10-24 14:26:07 -05:00
Clint 0c4526fbad Merge pull request #9561 from hashicorp/b-aws-vpc-endpoint-refresh
provider/aws: Remove VPC Endpoint from state if it's not found
2016-10-24 14:25:21 -05:00
Clint 7c58896f30 Merge pull request #9560 from hashicorp/b-aws-computed-public-ip
provider/aws: Make associate_public_ip_address computed
2016-10-24 14:21:44 -05:00
clint shryock 85dd379974 provider/aws: Remove VPC Endpoint from state if it's not found 2016-10-24 14:17:58 -05:00
Paul Stack 8552546132 Merge pull request #9269 from hashicorp/gitter-link
website: Adding gitter link to the community page
2016-10-24 17:38:14 +01:00
clint shryock c014dac279 provider/aws: Make associate_public_ip_address computed 2016-10-24 11:24:54 -05:00
Paul Stack 59e3c27a9d Update CHANGELOG.md 2016-10-24 17:09:00 +01:00
Paul Stack 765dc19286 Merge pull request #9022 from heimweh/master
Adding PagerDuty provider
2016-10-24 17:07:22 +01:00
Alexander Hellbom 4b70654b57 Remove the unnecessary use of &schema.Schema 2016-10-24 16:43:53 +02:00
Paul Stack eb8a9ef547 Update CHANGELOG.md 2016-10-24 14:38:17 +01:00
Paul Stack eaee3b9d78 Merge pull request #9442 from obsh/google-scope-aliases
provider/google: add scope aliases
2016-10-24 14:36:51 +01:00
Paul Stack f7d4110b2d Merge pull request #9455 from BedeGaming/azurerm-lb-concurrency-fix
provider/azurerm: lock mutex in load_balancer resources
2016-10-24 14:29:29 +01:00
Paul Stack cf655b75a1 Update CHANGELOG.md 2016-10-24 14:27:11 +01:00
Paul Stack 3f16f3d4c9 Merge pull request #9207 from BedeGaming/azurerm-nic-hash
provider/azurerm: write load_balanacer attributes to network_interface_card hash
2016-10-24 14:26:20 +01:00
Paul Stack b35ab4de62 Merge pull request #9307 from BedeGaming/azurerm-tags-computed-fix
provider/azurerm: fix computed tags causing non-empty plan
2016-10-24 14:20:00 +01:00
Paul Stack bf8bf78ce9 Update CHANGELOG.md 2016-10-24 14:17:44 +01:00
Paul Stack 7ac85e9f6d Merge pull request #9408 from BedeGaming/azurerm-storage-account-tier
provider/azurerm: add account_kind and access_tier to storage_account
2016-10-24 14:15:34 +01:00
Alexander Hellbom 4c45c790c3 Add support for teams in escalation policies & vendor support 2016-10-24 15:01:35 +02:00
Paul Stack c98aa2a3a1 Merge pull request #9546 from hashicorp/fix-scaleway-acceptance-tests
provider/scaleway: Change bootscript datasource acceptance test
2016-10-24 16:24:56 +04:00
Alexander Hellbom b40ba1042f escalation_rule -> rule 2016-10-24 14:19:59 +02:00
Alexander Hellbom a6abce7e60 schedule_layer -> layer 2016-10-24 14:19:59 +02:00
Alexander Hellbom 97e48f659f Add data source for on call users 2016-10-24 14:19:59 +02:00
Alexander Hellbom 9ab1093633 Skip setting the role if owner 2016-10-24 14:19:59 +02:00
Alexander Hellbom b85715ea51 bump go-pagerduty 2016-10-24 14:19:59 +02:00
Alexander Hellbom fff166dca7 Adding status, created_at & last_incident_timestamp for service 2016-10-24 14:19:59 +02:00
Alexander Hellbom ec10e031ee Make Schedule work and add tests for import and resource + cleanups 2016-10-24 14:19:58 +02:00
Alexander Hellbom ffd3ceef0d Add schedule test 2016-10-24 14:19:58 +02:00
Alexander Hellbom de9a1c146c Allowed values in error message 2016-10-24 14:19:58 +02:00
Alexander Hellbom effec42278 Add service type validation 2016-10-24 14:19:58 +02:00
Alexander Hellbom ee20c11907 Simplify role check for user 2016-10-24 14:19:58 +02:00
Alexander Hellbom 0951adab3b Check for errors when setting schedule_layer 2016-10-24 14:19:57 +02:00
Alexander Hellbom 35312f0066 Simplify setting up EscalationPolicy 2016-10-24 14:19:57 +02:00
Alexander Hellbom 69fb733ad0 Check for errors when setting escalation_rule 2016-10-24 14:19:57 +02:00
Alexander Hellbom 3fae0454bf Fix diff bug 2016-10-24 14:19:57 +02:00
Alexander Hellbom 819eca48a5 Prettify pagerduty layout 2016-10-24 14:19:57 +02:00
Alexander Hellbom d786c1cf68 Add test case for user with teams 2016-10-24 14:19:56 +02:00
Alexander Hellbom fddefa6f33 Add documentation for `service_integration` 2016-10-24 14:19:56 +02:00
Alexander Hellbom 074e989846 Fix up tests 2016-10-24 14:19:56 +02:00
Alexander Hellbom 9e81677354 Add support for service integration 2016-10-24 14:19:56 +02:00