Mitchell Hashimoto
60140b28f4
Revert "Merge pull request #9536 from hashicorp/f-provider-stop"
...
This reverts commit c3a4cff133
, reversing
changes made to 791a02e6e4
.
This change requires plugin recompilation and we should hold off until a
minor release for that.
2016-10-25 12:00:36 -07:00
Mitchell Hashimoto
d7402d0473
providers/azurerm: don't leak the context cancellation function
2016-10-25 11:47:47 -07:00
Mitchell Hashimoto
86eb30b8a2
helper/schema: expose stop information as a Context
2016-10-25 11:32:30 -07:00
Mitchell Hashimoto
9089aa24d5
providers/azurerm: convert to Stop() usage as example
2016-10-25 11:32:17 -07:00
James Nugent
e5fb6c9b23
provider/aws: Don't fail if login profile exists
...
If an IAM user already has a login profile, we bring it under management
- we will NOT modify it - but we cannot set the password.
2016-10-25 13:22:14 -05:00
James Nugent
dba3ec2f5d
provider/aws: Adhere to policy for login profiles
...
This commit modifies password generation such that it is highly likely
to match any AWS password policy.
2016-10-25 12:57:35 -05:00
James Nugent
513c2f9720
provider/aws: aws_iam_user_login_profile resource
...
This commit introduces an `aws_iam_user_login_profile` resource which
creates a password for an IAM user, and encrypts it using a PGP key
specified in the configuration or obtained from Keybase.
For example:
```
resource "aws_iam_user" "u" {
name = "auser"
path = "/"
force_destroy = true
}
resource "aws_iam_user_login_profile" "u" {
user = "${aws_iam_user.u.name}"
pgp_key = "keybase:some_person_that_exists"
}
output "password" {
value = "${aws_iam_user_login_profile.u.encrypted_password}"
}
```
The resulting attribute "encrypted_password" can be decrypted using
PGP or Keybase - for example:
```
terraform output password | base64 --decode | keybase pgp decrypt
```
Optionally the user can retain the password rather than the default of
being forced to change it at first login. Generated passwords are
currently 20 characters long.
2016-10-25 12:08:50 -05:00
Jonathan Rudenberg
d265a6fee3
provider/azurerm: Add disk_size_gb param to VM storage_os_disk ( #9200 )
...
TF_ACC=1 go test ./builtin/providers/azurerm -v -run=TestAccAzureRMVirtualMachine_basicLinuxMachine -timeout 120m
=== RUN TestAccAzureRMVirtualMachine_basicLinuxMachine
--- PASS: TestAccAzureRMVirtualMachine_basicLinuxMachine (540.83s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 540.841s
TF_ACC=1 go test ./builtin/providers/azurerm -v -run=TestAccAzureRMVirtualMachine_withDataDisk -timeout 120m
=== RUN TestAccAzureRMVirtualMachine_withDataDisk
--- PASS: TestAccAzureRMVirtualMachine_withDataDisk (431.19s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 431.203s
2016-10-25 17:54:55 +01:00
Peter McAtominey
c199d1fde2
provider/azurerm: fix servicebus_topic updating values ( #9323 )
...
enable_partitioning set to ForceNew
requires_duplicate_detection set to ForceNew
max_size_in_megabytes would cause a loop if enable_partitioning was true as this
causes the value to be multiplied by 16 for it's effective value, this computed
value is then returned by the ARM API in the same field which caused Terraform
to always detect a change
```
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMServiceBusTopic -timeout 120m
=== RUN TestAccAzureRMServiceBusTopic_importBasic
--- PASS: TestAccAzureRMServiceBusTopic_importBasic (345.08s)
=== RUN TestAccAzureRMServiceBusTopic_basic
--- PASS: TestAccAzureRMServiceBusTopic_basic (342.23s)
=== RUN TestAccAzureRMServiceBusTopic_update
--- PASS: TestAccAzureRMServiceBusTopic_update (359.56s)
=== RUN TestAccAzureRMServiceBusTopic_enablePartitioning
--- PASS: TestAccAzureRMServiceBusTopic_enablePartitioning (362.80s)
=== RUN TestAccAzureRMServiceBusTopic_enableDuplicateDetection
--- PASS: TestAccAzureRMServiceBusTopic_enableDuplicateDetection (364.97s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 1774.657s
```
2016-10-25 16:34:08 +01:00
Ninir
ef5ceb9681
Exposed aws_api_gw_domain_name.certificate_upload_date attribute ( #9533 )
2016-10-25 16:07:08 +01:00
Brad Sickles
65523fa006
provider/archive: Converting to datasource. ( #8492 )
...
* Converting archive_file to datasource.
* Ratcheting back new dir perms.
* Ratcheting back new dir perms.
* goimports
* Adding output_base64sha256 attribute to archive_file.
Updating docs.
* Dropping CheckDestroy since this is a data source.
* Correcting data source attribute checks.
2016-10-25 15:59:06 +01:00
Tom Harvey
59a81da74e
provider/azurerm: Event Hub Namespaces ( #9297 )
...
Add support for EventHub NameSpaces
2016-10-25 15:50:07 +01:00
Paul Stack
d485512d71
Merge pull request #9468 from wendorf/arm_loadbalancer_rule_naming_fix
...
Azure RM loadbalancer rules have correct naming restrictions
2016-10-25 15:12:26 +01:00
Paul Stack
c7935a0fd2
Merge pull request #9584 from hashicorp/aws-iam-group-name-validation
...
provider/aws: Add validation to IAM User and Group Name
2016-10-25 14:23:17 +01:00
Paul Stack
a24a068196
Merge pull request #8674 from enieuw/feature/arm_storage_file
...
provider/azurerm: Implement azurerm_storage_share
2016-10-25 14:16:46 +01:00
Paul Stack
df18307662
Merge pull request #9583 from hashicorp/aws-iam-delete-force_destroy
...
provider/aws: Delete Loging Profile from IAM User on force_destroy
2016-10-25 14:14:49 +01:00
Paul Stack
ecb467aa7d
Merge pull request #9478 from BedeGaming/azurerm-keyvault
...
provider/azurerm: key_vault resource and client_config datasource
2016-10-25 13:35:29 +01:00
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
Peter McAtominey
e7d64b28bd
provider/azurerm: add key_vault resource
...
- vendor keyvault sdk package
```
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMKeyV -timeout 120m
=== RUN TestAccAzureRMKeyVault_importBasic
--- PASS: TestAccAzureRMKeyVault_importBasic (89.01s)
=== RUN TestAccAzureRMKeyVault_basic
--- PASS: TestAccAzureRMKeyVault_basic (83.36s)
=== RUN TestAccAzureRMKeyVault_update
--- PASS: TestAccAzureRMKeyVault_update (102.83s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 275.285s
```
2016-10-25 13:01:45 +01:00
stack72
2dcc6b8ef0
provider/aws: Delete Loging Profile from IAM User on force_destroy
...
When force_Destroy was specified on an iam_user, only Access Keys were
destroyed. Therefore, if a password was manually added via the AWS
console, it was causing an error as follows:
```
* aws_iam_user.user: Error deleting IAM User test-user-for-profile-delete: DeleteConflict: Cannot delete entity, must delete login profile first.
status code: 409, request id: acd67e40-9aa8-11e6-8533-4db80bad7ea8
```
We now *try* to delete the LoginProfile and ignore a NoSuchEntity error
if it doesn't exist
```
% 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 12:53:05 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.83s)
=== RUN TestAccAWSUser_basic
--- PASS: TestAccAWSUser_basic (24.78s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws39.624s
```
2016-10-25 12:56:30 +01:00
Paul Stack
a65dc539ac
Merge pull request #9504 from hashicorp/aws-redshift-sng-tags
...
provider/aws: Add tagging support to aws_redshift_subnet_group
2016-10-25 11:48:16 +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
Andrew Starr-Bochicchio
ccff5af8e7
Allow resizing DigitalOcean Droplets without increasing disk size.
2016-10-24 20:00:04 -04: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
clint shryock
c014dac279
provider/aws: Make associate_public_ip_address computed
2016-10-24 11:24:54 -05:00
Paul Stack
765dc19286
Merge pull request #9022 from heimweh/master
...
Adding PagerDuty provider
2016-10-24 17:07:22 +01:00
Gavin Williams
60ddc06b3d
provider/openstack: Add 'value_specs' option to 'openstack_networking_floatingip_v2' resource,
...
refactor into common types.go and use new 'MapValueSpecs' function.
Added supporting documentation.
2016-10-24 16:05:35 +01:00
Gavin Williams
b31b044785
provider/openstack: Add value_specs option to openstack_networking_port_v2.
...
Refactored to use common types.go
Add supporting documentation
2016-10-24 16:04:00 +01:00
Alexander Hellbom
4b70654b57
Remove the unnecessary use of &schema.Schema
2016-10-24 16:43:53 +02: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
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
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
stack72
52f2717bfb
provider/aws: Add tagging support to aws_redshift_subnet_group
...
Fixes #9492
```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSRedshiftSubnetGroup_'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/10/21 17:16:02 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSRedshiftSubnetGroup_ -timeout 120m
=== RUN TestAccAWSRedshiftSubnetGroup_importBasic
--- PASS: TestAccAWSRedshiftSubnetGroup_importBasic (86.54s)
=== RUN TestAccAWSRedshiftSubnetGroup_basic
--- PASS: TestAccAWSRedshiftSubnetGroup_basic (85.50s)
=== RUN TestAccAWSRedshiftSubnetGroup_updateSubnetIds
--- PASS: TestAccAWSRedshiftSubnetGroup_updateSubnetIds (140.01s)
=== RUN TestAccAWSRedshiftSubnetGroup_tags
--- PASS: TestAccAWSRedshiftSubnetGroup_tags (136.02s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 448.075
```
2016-10-24 13:44:46 +01: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
d786c1cf68
Add test case for user with teams
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
Alexander Hellbom
d02067a75e
Add PagerDuty provider
2016-10-24 14:19:55 +02:00
stack72
c4e2ff9cbb
provider/scaleway: Change bootscript datasource acceptance test
...
The tests were referencing an old bootscript - this just bumps the value
to the latest. The list of bootscripts can be found at
http://devhub.scaleway.com/#/bootscripts
2016-10-24 13:11:41 +01:00
Joe Topjian
17b1787ec2
provider/openstack: gophercloud migration: fixing dhcp and gateway configuration
2016-10-23 02:38:29 +00:00
Joe Topjian
1c6b69e342
provider/openstack: gophercloud migration: Make PortID a *string
2016-10-23 02:38:29 +00:00
Joe Topjian
0253dbe51b
provider/openstack: gophercloud migration: Accounting for 409 errors with LBaaSV2
2016-10-23 02:38:29 +00:00
Joe Topjian
1fce3ed9fd
provider/openstack: gophercloud migration: Fixing persistence update in lbaasv1
2016-10-23 02:38:28 +00:00
Joe Topjian
fbcd8f105b
provider/openstack: gophercloud migration: boot from volume updates
2016-10-23 02:38:28 +00:00
Joe Topjian
ea4209c61c
provider/openstack: gophercloud migration: Account for subnets and networks still in use
2016-10-23 02:38:28 +00:00
Joe Topjian
394c26c6cc
provider/openstack: gophercloud migration: Account for router interface still being in use
2016-10-23 02:38:27 +00:00
Joe Topjian
7df2a66623
provider/openstack: gophercloud migration: Allow Firewall v1 Policy to cleanly delete
2016-10-23 02:38:27 +00:00
Joe Topjian
c3679d6c2d
provider/openstack: gophercloud migration: Fixing subnet test
2016-10-23 02:38:27 +00:00
Joe Topjian
ed0fe74d59
provider/openstack: gophercloud migration: Making GatewayIP computed
2016-10-23 02:38:27 +00:00
Joe Topjian
520b3dda82
provider/openstack: gophercloud migration: Spelling correction
2016-10-23 02:38:26 +00:00
Gavin Williams
28466f50a5
provider/openstack: gophercloud migration: Only set 'gateway_ip' to "" if 'no_gateway' == true.
2016-10-23 02:38:26 +00:00
Gavin Williams
8405a9f118
provider/openstack: gophercloud migration: Update openstack_networking_subnet_v2 to correctly handle Gateway IP
2016-10-23 02:38:26 +00:00
Gavin Williams
9c856a8f6f
provider/openstack: gophercloud migration: Removed unused import from types.go
2016-10-23 02:38:26 +00:00
Gavin Williams
e7ef8bb647
provider/openstack: gophercloud migration: Ordering tweak in types.go - Now alphabetical :)
2016-10-23 02:38:25 +00:00
Gavin Williams
bfab530410
provider/openstack: gophercloud migration: Migrate NetworkCreateOpts to types.go
2016-10-23 02:38:25 +00:00
Gavin Williams
58c3c4ef8e
provider/openstack: gophercloud migration: Migrate RouterCreateOpts to types.go
2016-10-23 02:38:25 +00:00
Gavin Williams
56cc232956
provider/openstack: gophercloud migration: Refactor existing resources to use 'MapValueSpecs' function
2016-10-23 02:38:24 +00:00
Gavin Williams
ffd5370213
provider/openstack: gophercloud migration: Add a 'MapValueSpecs' function which can be used to convert
...
'value_specs' resource data to a map.
2016-10-23 02:38:24 +00:00
Gavin Williams
796e076313
provider/openstack: gophercloud migration: Use 'value_specs' from constructed body, and range over asserted type
2016-10-23 02:38:24 +00:00
Gavin Williams
1eab2121ad
provider/openstack: gophercloud migration: Add a BuildRequest function, and refactor types 'SubnetCreateMap' function to use
2016-10-23 02:38:24 +00:00
Gavin Williams
edf80d2ae1
provider/openstack: gophercloud migration: Use 'log.Printf' rather than 'log.Println'.
2016-10-23 02:38:23 +00:00
Gavin Williams
a823370a48
provider/openstack: gophercloud migration: Fix handling of Neutron networking when managing instances.
2016-10-23 02:38:23 +00:00
Joe Topjian
e36c3e5946
provider/openstack: gophercloud migration: Continued removal of APIKey
2016-10-23 02:38:23 +00:00
Joe Topjian
d4722aedc1
provider/openstack: gophercloud migration: initial work on types.go
2016-10-23 02:38:22 +00:00
Joe Topjian
27b86ac220
provider/openstack: gophercloud migration: metadata update
2016-10-23 02:38:22 +00:00
Joe Topjian
8371d20cf0
provider/openstack: gophercloud migration: router interface error response
2016-10-23 02:38:22 +00:00
Joe Topjian
8f21117fb7
provider/openstack: gophercloud migration: fwaas policy response error handling
2016-10-23 02:38:22 +00:00
Joe Topjian
c11a4ef214
provider/openstack: gophercloud migration: updating error responses
2016-10-23 02:38:22 +00:00
Joe Topjian
9ffef951c5
provider/openstack: gophercloud migration: objectstorage
2016-10-23 02:38:21 +00:00
Joe Topjian
d5bf0197a7
provider/openstack: gophercloud migration: networking subnet
2016-10-23 02:38:21 +00:00
Joe Topjian
f2ba380794
provider/openstack: gophercloud migration: networking secgroup
2016-10-23 02:38:21 +00:00
Joe Topjian
2f957e24fe
provider/openstack: gophercloud migration: networking router
2016-10-23 02:38:20 +00:00
Joe Topjian
53bb3187fc
provider/openstack: gophercloud migration: networking port
2016-10-23 02:38:20 +00:00
Joe Topjian
68c4956ff2
provider/openstack: gophercloud migration: networking network
2016-10-23 02:38:20 +00:00
Joe Topjian
cc86b91d37
provider/openstack: gophercloud migration: networking floatingip
2016-10-23 02:38:20 +00:00
Joe Topjian
d04cfb1ab5
provider/openstack: gophercloud migration: lbaas v2
2016-10-23 02:38:19 +00:00
Joe Topjian
e2526002ff
provider/openstack: gophercloud migration: lbaas v1
2016-10-23 02:38:19 +00:00
Joe Topjian
a1d76c8d07
provider/openstack: gophercloud migration: fwaas
2016-10-23 02:38:19 +00:00
Joe Topjian
8b6c3a1bbc
provider/openstack: gophercloud migration: compute servergroup
2016-10-23 02:38:19 +00:00
Joe Topjian
b9f7d119b8
provider/openstack: gophercloud migration: compute secgroup
2016-10-23 02:38:18 +00:00
Joe Topjian
50855b3992
provider/openstack: gophercloud migration: compute keypair
2016-10-23 02:38:18 +00:00
Joe Topjian
a33256706c
provider/openstack: gophercloud migration: compute instance
2016-10-23 02:38:18 +00:00
Joe Topjian
c8aee9118f
provider/openstack: gophercloud migration: compute floatingip
2016-10-23 02:38:17 +00:00
Joe Topjian
bb8c5cea2d
provider/openstack: gophercloud migration: blockstorage
2016-10-23 02:38:17 +00:00
Joe Topjian
e677eaac6b
provider/openstack: gophercloud migration: util
2016-10-23 02:38:17 +00:00
Joe Topjian
74f990ff5c
provider/openstack: gophercloud migration: Removing APIKey Attribute
...
gophercloud/gophercloud no longer supports the APIKey authentication
attribute. Removal of this attribute may impact users who were using
the Terraform OpenStack provider in with vendor-modified clouds.
2016-10-23 02:38:17 +00:00
Radek Simko
eda1298e21
provider/aws: Increase ECS service drain timeout ( #9521 )
2016-10-22 14:16:59 +01:00
Clint
dcbcde4b82
Merge pull request #8893 from dennis-bsi/fix-asg-policy-to-0
...
provider/aws: aws_autoscaling_policy fails when setting scaling_adjustment to 0 for SimpleScaling
2016-10-21 16:17:16 -05:00
Clint
6f7e9ac4dd
Merge pull request #9511 from dennis-bsi/aws-redshift-sng-name-validation
...
provider/aws: limiting aws_redshift_subnet_group name to alphanumeric and hyphens
2016-10-21 14:35:53 -05:00
Clint
88925eb939
Merge pull request #9515 from dennis-bsi/aws-redshift-sng-description-update
...
provider/aws: aws_redshift_subnet_group allows description to be modified
2016-10-21 14:32:34 -05:00
Dennis Webb
dac69b7919
fixing issue where changing only the description only didn't actually update on AWS
2016-10-21 12:14:41 -05:00
Clint
34b21083ee
Merge pull request #8983 from 987poiuytrewq/b-aws-beanstalk-option-updates
...
provider/aws: fix option updates to beanstalk
2016-10-21 11:43:43 -05:00
clint shryock
3fbf01ea1b
provider/aws: Bump AWS Route retry to 2 minutes, up from 15 seconds
2016-10-21 11:36:51 -05:00
Dennis Webb
05783ca044
limiting subnetgroup name to alphanumeric and hyphens
2016-10-21 11:28:48 -05:00
Paul Stack
7d7da4b6b6
Merge pull request #9456 from kwilczynski/feature/rename-file-aws_availability_zones
...
provider/aws: Rename the file to match the naming scheme.
2016-10-21 14:38:03 +04:00
clint shryock
aa9c420586
slight rename and sorting of test
2016-10-20 16:16:01 -05:00
Clint
e6c2b7f19c
Merge pull request #9357 from mrwacky42/f/vpce-empty-rtb
...
Allow empty route_table_ids list in aws_vpc_endpoint resources
2016-10-20 16:13:06 -05:00
clint shryock
77075d0573
provider/datadog: Reduce diff on thresholds
2016-10-20 10:22:24 -05:00
Peter McAtominey
6f72b2c36a
provider/azurerm: lock mutex in load_balancer resources
...
This fixes races between sub resources causing inconsistent writes of the load
balancer resource
Fixes #9424
```
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMLoadBalancer -timeout 120m
=== RUN TestAccAzureRMLoadBalancerBackEndAddressPool_basic
--- PASS: TestAccAzureRMLoadBalancerBackEndAddressPool_basic (150.95s)
=== RUN TestAccAzureRMLoadBalancerBackEndAddressPool_removal
--- PASS: TestAccAzureRMLoadBalancerBackEndAddressPool_removal (146.25s)
=== RUN TestAccAzureRMLoadBalancerNatPool_basic
--- PASS: TestAccAzureRMLoadBalancerNatPool_basic (157.43s)
=== RUN TestAccAzureRMLoadBalancerNatPool_removal
--- PASS: TestAccAzureRMLoadBalancerNatPool_removal (169.46s)
=== RUN TestAccAzureRMLoadBalancerNatRule_basic
--- PASS: TestAccAzureRMLoadBalancerNatRule_basic (149.04s)
=== RUN TestAccAzureRMLoadBalancerNatRule_removal
--- PASS: TestAccAzureRMLoadBalancerNatRule_removal (170.35s)
=== RUN TestAccAzureRMLoadBalancerProbe_basic
--- PASS: TestAccAzureRMLoadBalancerProbe_basic (146.88s)
=== RUN TestAccAzureRMLoadBalancerProbe_removal
--- PASS: TestAccAzureRMLoadBalancerProbe_removal (166.25s)
=== RUN TestAccAzureRMLoadBalancerRule_basic
--- PASS: TestAccAzureRMLoadBalancerRule_basic (146.36s)
=== RUN TestAccAzureRMLoadBalancerRule_removal
--- PASS: TestAccAzureRMLoadBalancerRule_removal (164.24s)
=== RUN TestAccAzureRMLoadBalancerRule_inconsistentReads
--- PASS: TestAccAzureRMLoadBalancerRule_inconsistentReads (153.19s)
=== RUN TestAccAzureRMLoadBalancer_basic
--- PASS: TestAccAzureRMLoadBalancer_basic (102.59s)
=== RUN TestAccAzureRMLoadBalancer_frontEndConfig
--- PASS: TestAccAzureRMLoadBalancer_frontEndConfig (187.92s)
=== RUN TestAccAzureRMLoadBalancer_tags
--- PASS: TestAccAzureRMLoadBalancer_tags (119.93s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 2130.930s
```
2016-10-20 14:59:01 +01:00
Peter McAtominey
6374cc7d33
provider/azurerm: add client_config data source
...
azurerm_client_config provides access to:
- client_id
- tenant_id
- subscription_id
```
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMClientConfig -timeout 120m
=== RUN TestAccAzureRMClientConfig_basic
--- PASS: TestAccAzureRMClientConfig_basic (27.79s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 27.862s
```
2016-10-20 11:29:48 +01:00
Dan Wendorf
957d1cb3a8
Azure RM loadbalancer rules have correct naming restrictions
...
- The name cannot be empty
- The name cannot be more than 80 characters
- The name must begin with a letter or number
- The name must end with a letter, number, or underscore
- The name must only contain letters, numbers, underscores, periods, or hyphens
2016-10-19 17:58:44 -07:00
oleksandr.bushkovskyi
f9b6d2df8f
provider/google: add scope aliases
2016-10-19 23:14:55 +03:00
Krzysztof Wilczynski
219efaa64f
Rename the file to match the naming scheme.
...
This commit is a maintenance change aimed at aligning file names so that they
fall in line with the established naming convention.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2016-10-19 16:34:35 +01:00
Clint
7b9e58423c
Merge pull request #9453 from tomwilkie/8187-import-associate_public_ip_address
...
Infer aws_instance.associate_public_ip_address from the presence of a network interface association.
2016-10-19 10:24:34 -05:00
Tom Wilkie
e79ebfc113
Infer aws_instance.associate_public_ip_address from the presence of a network interface association.
2016-10-19 16:16:04 +01:00
clint shryock
bdb60893d5
provider/aws: Update ElastiCache tests to redis 3.2
2016-10-19 09:48:15 -05:00
clint shryock
22b3e8998d
Merge branch 'master' of github.com:hashicorp/terraform
...
* 'master' of github.com:hashicorp/terraform:
Don't assert nil values in convertStringArr
2016-10-19 09:47:30 -05:00
clint shryock
70eb45d1e9
provider/aws: Update ElasticCache cluster redis params for new default
2016-10-19 09:43:27 -05:00
James Bardin
e5c6031469
Merge pull request #9451 from hashicorp/jbardin/GH-9428
...
Don't assert nil values in convertStringArr
2016-10-19 10:26:35 -04:00
clint shryock
e90fa6abd4
provider/aws: Tidy up IAM user acc tests
2016-10-19 09:22:27 -05:00
James Bardin
4be35a5e4e
Don't assert nil values in convertStringArr
...
Some of the inputs to this function may not have been validated
2016-10-19 10:06:13 -04:00
James Bardin
f175497dd7
Fix vet issues
...
None were critical, but these will fail with the next version of vet.
2016-10-18 11:11:12 -04:00
James Nugent
fc2d973e26
Merge pull request #9387 from nicolai86/feat/scaleway-import
...
provider/scaleway: add support for importing resources
2016-10-18 08:11:09 -05:00
James Nugent
4ef3ab70f9
Merge branch 'feat/provider-scaleway-bootscript' of https://github.com/nicolai86/terraform into nicolai86-feat/provider-scaleway-bootscript
2016-10-18 08:06:14 -05:00
James Nugent
e2f3832769
provider/azurerm: Fix error message wording
2016-10-18 08:00:38 -05:00
James Nugent
760587092a
Merge branch 'GH-9311' of https://github.com/carinadigital/terraform into carinadigital-GH-9311
2016-10-18 07:51:37 -05:00
James Nugent
0c4b4a1970
Merge pull request #9429 from hashicorp/f-aws-new-region
...
aws: Add missing metadata for us-east-2
2016-10-18 07:44:01 -05:00
Krzysztof Wilczynski
b74de12bd6
Handle the case where Route Table is already gone.
...
This commit changes the behaviour of the `ExistsFunc`, where by default
lack of a route table (e.g. already removed, etc.) would cause an error
to be thrown. This makes is hard to carry out any action e.g. plan,
refresh, or destroy, that rely on the route table existance check.
Also, make error messages a little better in terms of wording, etc.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2016-10-18 11:56:47 +01:00
Andreas Kyrris
182ebf3abb
Use better variable naming.
2016-10-18 10:44:15 +01:00
Radek Simko
4b36bc3210
aws: Add missing metadata for us-east-2
2016-10-18 09:31:57 +01:00
Andreas Kyrris
da12ed640a
Checking for azure credentials isn't required.
...
The check for ARM_SUBSCRIPTION_ID breaks the PR testing. The PR
testing isn't trying to check acceptance tests anyway.
There will still be a correct failure for missing ARM_SUBSCRIPTION_ID
when running the acceptance test due to the later testAccPreCheck().
2016-10-18 09:26:36 +01:00
Andreas Kyrris
7b133ad356
Fix id of azurerm_lb_backend_address_pool, azurerm_lb_rule, azurerm_lb_nat_rule, azurerm_lb_nat_pool.
2016-10-18 08:48:25 +01:00
Andreas Kyrris
4a22fa0438
Use Probe's property to lookup loadbalancer_id.
2016-10-18 08:33:31 +01:00
Andreas Kyrris
e63d120b57
Fix id of azurerm_lb_probe.
2016-10-18 08:33:31 +01:00
Andreas Kyrris
a0ad874d25
Update test for azurerm_lb_nat_rule id.
2016-10-18 08:33:31 +01:00
Andreas Kyrris
4bf1985453
Update test for azurerm_lb_nat_pool id.
2016-10-18 08:33:31 +01:00
Andreas Kyrris
f4980bf1b5
Update test for azurerm_lb_rule id.
2016-10-18 08:33:31 +01:00
Andreas Kyrris
c1d4397673
Update test for azurerm_lb_probe id.
2016-10-18 08:33:31 +01:00
Andreas Kyrris
25794f6692
Update test for azurerm_lb_backend_address_pool id.
2016-10-18 08:33:31 +01:00
Matt Moyer
2b9f5f5f6f
Add support for AWS US East (Ohio) region.
2016-10-17 15:48:18 -05:00
Peter McAtominey
89b49f809b
provider/azurerm: add account_kind and access_tier to storage_account resource
...
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMStorageAccount -timeout 120m
=== RUN TestAccAzureRMStorageAccount_importBasic
--- PASS: TestAccAzureRMStorageAccount_importBasic (140.06s)
=== RUN TestAccAzureRMStorageAccount_basic
--- PASS: TestAccAzureRMStorageAccount_basic (155.43s)
=== RUN TestAccAzureRMStorageAccount_disappears
--- PASS: TestAccAzureRMStorageAccount_disappears (134.99s)
=== RUN TestAccAzureRMStorageAccount_blobEncryption
--- PASS: TestAccAzureRMStorageAccount_blobEncryption (161.59s)
=== RUN TestAccAzureRMStorageAccount_blobStorageWithUpdate
--- PASS: TestAccAzureRMStorageAccount_blobStorageWithUpdate (131.49s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 723.694s
2016-10-17 17:49:07 +01:00