Peter McAtominey
475fd4decb
provider/azurerm: add servicebus_subscription resource
...
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMServiceBusSubscription -timeout 120m
=== RUN TestAccAzureRMServiceBusSubscription_importBasic
--- PASS: TestAccAzureRMServiceBusSubscription_importBasic (339.00s)
=== RUN TestAccAzureRMServiceBusSubscription_basic
--- PASS: TestAccAzureRMServiceBusSubscription_basic (328.47s)
=== RUN TestAccAzureRMServiceBusSubscription_update
--- PASS: TestAccAzureRMServiceBusSubscription_update (368.95s)
=== RUN TestAccAzureRMServiceBusSubscription_updateRequiresSession
--- PASS: TestAccAzureRMServiceBusSubscription_updateRequiresSession (348.47s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 1384.966s
2016-10-03 15:27:28 +01:00
Peter McAtominey
cdbf0d7df4
provider/azurerm: add servicebus_topic resource
...
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMServiceBusTopic -timeout 120m
=== RUN TestAccAzureRMServiceBusTopic_importBasic
--- PASS: TestAccAzureRMServiceBusTopic_importBasic (328.72s)
=== RUN TestAccAzureRMServiceBusTopic_basic
--- PASS: TestAccAzureRMServiceBusTopic_basic (331.04s)
=== RUN TestAccAzureRMServiceBusTopic_update
--- PASS: TestAccAzureRMServiceBusTopic_update (348.69s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 1008.588s
2016-10-03 11:25:50 +01:00
Krzysztof Wilczynski
1eed5ddbe0
Fix. Correct a typo in the error message. ( #8882 )
...
This comment corrects a simple typo in the error message issued when the
credentials are not working and/or do not offer access to AzureRM, etc.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2016-09-16 16:09:20 +01:00
Andy Royle
e18b1962a9
provider/azurerm: Add support for servicebus namespaces ( #8195 )
...
* add dep for servicebus client from azure-sdk-for-node
* add servicebus namespaces support
* add docs for servicebus_namespaces
* add Microsoft.ServiceBus to providers list
2016-08-15 18:00:00 +01:00
Peter McAtominey
e67f141561
provider/azurerm: create virtual_network_peering resource ( #8168 )
...
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMVirtualNetworkPeering -timeout 120m
=== RUN TestAccAzureRMVirtualNetworkPeering_importBasic
--- PASS: TestAccAzureRMVirtualNetworkPeering_importBasic (225.50s)
=== RUN TestAccAzureRMVirtualNetworkPeering_basic
--- PASS: TestAccAzureRMVirtualNetworkPeering_basic (216.95s)
=== RUN TestAccAzureRMVirtualNetworkPeering_update
--- PASS: TestAccAzureRMVirtualNetworkPeering_update (266.97s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 709.545s
2016-08-13 22:37:46 +04:00
Peter McAtominey
cc18e4d7ca
provider/azurerm: add traffic manager resources ( #7826 )
...
* provider/azurerm: vendor arm/trafficmanager package
* provider/azurerm: add azurerm_traffic_manager_profile resource
* provider/azurerm: add azurerm_traffic_manager_endpoint resource
* provider/azurerm: document traffic manager resources
* provider/azurerm: use short type argument for traffic manager endpoint
The resource now takes the short type for example azureEndpoints instead of the
long form Microsoft.Network/TrafficManagerProfiles/azureEndpoints.
```
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMTrafficManagerEndpoint -timeout 120m
=== RUN TestAccAzureRMTrafficManagerEndpoint_basic
--- PASS: TestAccAzureRMTrafficManagerEndpoint_basic (179.72s)
=== RUN TestAccAzureRMTrafficManagerEndpoint_basicDisableExternal
--- PASS: TestAccAzureRMTrafficManagerEndpoint_basicDisableExternal (171.36s)
=== RUN TestAccAzureRMTrafficManagerEndpoint_updateWeight
--- PASS: TestAccAzureRMTrafficManagerEndpoint_updateWeight (167.24s)
=== RUN TestAccAzureRMTrafficManagerEndpoint_updatePriority
--- PASS: TestAccAzureRMTrafficManagerEndpoint_updatePriority (192.91s)
=== RUN TestAccAzureRMTrafficManagerEndpoint_nestedEndpoints
--- PASS: TestAccAzureRMTrafficManagerEndpoint_nestedEndpoints (111.18s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 822.534s
```
* provider/azurerm: remove unnecesary dereferences in traffic manager resources
```
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMTrafficManager -timeout 120m
=== RUN TestAccAzureRMTrafficManagerEndpoint_basic
--- PASS: TestAccAzureRMTrafficManagerEndpoint_basic (176.08s)
=== RUN TestAccAzureRMTrafficManagerEndpoint_basicDisableExternal
--- PASS: TestAccAzureRMTrafficManagerEndpoint_basicDisableExternal (172.28s)
=== RUN TestAccAzureRMTrafficManagerEndpoint_updateWeight
--- PASS: TestAccAzureRMTrafficManagerEndpoint_updateWeight (148.97s)
=== RUN TestAccAzureRMTrafficManagerEndpoint_updatePriority
--- PASS: TestAccAzureRMTrafficManagerEndpoint_updatePriority (101.18s)
=== RUN TestAccAzureRMTrafficManagerEndpoint_nestedEndpoints
--- PASS: TestAccAzureRMTrafficManagerEndpoint_nestedEndpoints (88.33s)
=== RUN TestAccAzureRMTrafficManagerProfile_weighted
--- PASS: TestAccAzureRMTrafficManagerProfile_weighted (80.92s)
=== RUN TestAccAzureRMTrafficManagerProfile_performance
--- PASS: TestAccAzureRMTrafficManagerProfile_performance (82.98s)
=== RUN TestAccAzureRMTrafficManagerProfile_priority
--- PASS: TestAccAzureRMTrafficManagerProfile_priority (81.07s)
=== RUN TestAccAzureRMTrafficManagerProfile_withTags
--- PASS: TestAccAzureRMTrafficManagerProfile_withTags (102.50s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 1034.458s
```
2016-07-31 23:46:15 +01:00
Paul Stack
61c5c9f56b
provider/azurerm: `azurerm_storage_table` resource ( #7327 )
...
* provider/azurerm: `azurerm_storage_table` resource
Fixes #7257
``````
* Update resource_arm_storage_table.go
* Update resource_arm_storage_table.go
2016-07-27 22:49:43 +01:00
Paul Stack
514d8422f3
provider/azurerm: Add `azurerm_virtual_machine_scale_set` resource ( #6711 )
2016-06-11 00:37:14 +02:00
James Nugent
738f4bd777
provider/azurerm: Fix azurerm_virtual_machine
2016-06-01 19:52:57 -05:00
James Nugent
6ee2bd4a55
provider/azurerm: Fix CDN resources
2016-06-01 19:52:57 -05:00
James Nugent
0691c0eb91
provider/azurerm: Fix azurerm_template_deployment
...
Tests are too slow to run.
2016-06-01 19:52:56 -05:00
James Nugent
8ecfddf507
provider/azurerm: Fix azurerm_network_security_group_rule
...
```
HTTP_PROXY=http://localhost:8888 make testacc TEST=./builtin/providers/azurerm TESTARGS="-run TestAccAzureRMNetworkSecurityRule_"
==> Checking that code complies with gofmt requirements...
/Users/James/Code/go/bin/stringer
go generate $(go list ./... | grep -v /vendor/)
2016/06/01 19:19:59 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMNetworkSecurityRule_ -timeout 120m
=== RUN TestAccAzureRMNetworkSecurityRule_basic
--- PASS: TestAccAzureRMNetworkSecurityRule_basic (105.61s)
=== RUN TestAccAzureRMNetworkSecurityRule_addingRules
--- PASS: TestAccAzureRMNetworkSecurityRule_addingRules (141.59s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 247.221s
```
2016-06-01 19:52:56 -05:00
James Nugent
2f66747e79
provider/azurerm: Fix azurerm_network_security_group
...
```
HTTP_PROXY=http://localhost:8888 make testacc TEST=./builtin/providers/azurerm TESTARGS="-run TestAccAzureRMNetworkSecurityGroup_"
==> Checking that code complies with gofmt requirements...
/Users/James/Code/go/bin/stringer
go generate $(go list ./... | grep -v /vendor/)
2016/06/01 19:09:36 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMNetworkSecurityGroup_ -timeout 120m
=== RUN TestAccAzureRMNetworkSecurityGroup_basic
--- PASS: TestAccAzureRMNetworkSecurityGroup_basic (81.00s)
=== RUN TestAccAzureRMNetworkSecurityGroup_withTags
--- PASS: TestAccAzureRMNetworkSecurityGroup_withTags (101.89s)
=== RUN TestAccAzureRMNetworkSecurityGroup_addingExtraRules
--- PASS: TestAccAzureRMNetworkSecurityGroup_addingExtraRules (99.33s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 282.240s
```
2016-06-01 19:52:56 -05:00
James Nugent
0e3da1f98c
provider/azurerm: Fix azurerm_local_network_gateway
...
```
HTTP_PROXY=http://localhost:8888 make testacc TEST=./builtin/providers/azurerm TESTARGS="-run TestAccAzureRMLocalNetworkGateway_"
==> Checking that code complies with gofmt requirements...
/Users/James/Code/go/bin/stringer
go generate $(go list ./... | grep -v /vendor/)
2016/06/01 18:59:05 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMLocalNetworkGateway_ -timeout 120m
=== RUN TestAccAzureRMLocalNetworkGateway_basic
--- PASS: TestAccAzureRMLocalNetworkGateway_basic (95.25s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 95.260s
```
2016-06-01 19:52:56 -05:00
James Nugent
bde2c502b6
provider/azurerm: Fix azurerm_network_interface_card
...
```
HTTP_PROXY=http://localhost:8888 make testacc TEST=./builtin/providers/azurerm TESTARGS="-run TestAccAzureRMNetworkInterface"
==> Checking that code complies with gofmt requirements...
/Users/James/Code/go/bin/stringer
go generate $(go list ./... | grep -v /vendor/)
2016/06/01 18:46:41 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMNetworkInterface -timeout 120m
=== RUN TestAccAzureRMNetworkInterface_basic
--- PASS: TestAccAzureRMNetworkInterface_basic (118.72s)
=== RUN TestAccAzureRMNetworkInterface_enableIPForwarding
--- PASS: TestAccAzureRMNetworkInterface_enableIPForwarding (123.44s)
=== RUN TestAccAzureRMNetworkInterface_withTags
--- PASS: TestAccAzureRMNetworkInterface_withTags (139.62s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 381.802s
```
2016-06-01 19:52:56 -05:00
James Nugent
a9b9986e76
provider/azurerm: Fix azurerm_route
...
```
HTTP_PROXY=http://localhost:8888 make testacc TEST=./builtin/providers/azurerm TESTARGS="-run TestAccAzureRMRoute_"
==> Checking that code complies with gofmt requirements...
/Users/James/Code/go/bin/stringer
go generate $(go list ./... | grep -v /vendor/)
2016/06/01 18:28:38 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMRoute_ -timeout 120m
=== RUN TestAccAzureRMRoute_basic
--- PASS: TestAccAzureRMRoute_basic (98.80s)
=== RUN TestAccAzureRMRoute_multipleRoutes
--- PASS: TestAccAzureRMRoute_multipleRoutes (130.77s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 229.584s
```
2016-06-01 19:52:56 -05:00
James Nugent
9b9ec7bb6c
provider/azurerm: Fix azurerm_route_table
...
```
HTTP_PROXY=http://localhost:8888 make testacc TEST=./builtin/providers/azurerm TESTARGS="-run TestAccAzureRMRouteTable"
==> Checking that code complies with gofmt requirements...
/Users/James/Code/go/bin/stringer
go generate $(go list ./... | grep -v /vendor/)
2016/06/01 18:19:00 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMRouteTable -timeout 120m
=== RUN TestAccAzureRMRouteTable_basic
--- PASS: TestAccAzureRMRouteTable_basic (76.52s)
=== RUN TestAccAzureRMRouteTable_withTags
--- PASS: TestAccAzureRMRouteTable_withTags (92.15s)
=== RUN TestAccAzureRMRouteTable_multipleRoutes
--- PASS: TestAccAzureRMRouteTable_multipleRoutes (98.14s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 266.828s
```
2016-06-01 19:52:56 -05:00
James Nugent
5f45521795
provider/azurerm: Fix azurerm_storage_container
...
```
HTTP_PROXY=http://localhost:8888 make testacc TEST=./builtin/providers/azurerm TESTARGS="-run TestAccAzureRMStorageContainer"
==> Checking that code complies with gofmt requirements...
/Users/James/Code/go/bin/stringer
go generate $(go list ./... | grep -v /vendor/)
2016/06/01 18:10:56 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMStorageContainer -timeout 120m
=== RUN TestAccAzureRMStorageContainer_basic
--- PASS: TestAccAzureRMStorageContainer_basic (102.16s)
=== RUN TestAccAzureRMStorageContainer_disappears
--- PASS: TestAccAzureRMStorageContainer_disappears (101.05s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 203.221s
```
2016-06-01 19:52:56 -05:00
James Nugent
26e2c9bec2
provider/azurerm: Fix azurerm_storage_account
...
```
HTTP_PROXY=http://localhost:8888 make testacc TEST=./builtin/providers/azurerm TESTARGS="-run TestAccAzureRMStorageAccount"
==> Checking that code complies with gofmt requirements...
/Users/James/Code/go/bin/stringer
go generate $(go list ./... | grep -v /vendor/)
2016/06/01 18:05:12 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMStorageAccount -timeout 120m
=== RUN TestAccAzureRMStorageAccount_basic
--- PASS: TestAccAzureRMStorageAccount_basic (89.48s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 89.491s
```
2016-06-01 19:52:56 -05:00
James Nugent
3831553c72
provider/azurerm: Fix azurerm_public_ip
...
```
HTTP_PROXY=http://localhost:8888 make testacc TEST=./builtin/providers/azurerm TESTARGS="-run TestAccAzureRMPublicIpStatic"
==> Checking that code complies with gofmt requirements...
/Users/James/Code/go/bin/stringer
go generate $(go list ./... | grep -v /vendor/)
2016/06/01 17:09:54 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMPublicIpStatic -timeout 120m
=== RUN TestAccAzureRMPublicIpStatic_basic
--- PASS: TestAccAzureRMPublicIpStatic_basic (101.00s)
=== RUN TestAccAzureRMPublicIpStatic_withTags
--- PASS: TestAccAzureRMPublicIpStatic_withTags (125.13s)
=== RUN TestAccAzureRMPublicIpStatic_update
--- PASS: TestAccAzureRMPublicIpStatic_update (128.66s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 354.802s
```
2016-06-01 19:52:56 -05:00
James Nugent
876d0269df
provider/azurerm: Fix azurerm_subnet
...
```
make testacc TEST=./builtin/providers/azurerm TESTARGS="-run TestAccAzureRMSubnet"
==> Checking that code complies with gofmt requirements...
/Users/James/Code/go/bin/stringer
go generate $(go list ./... | grep -v /vendor/)
2016/06/01 16:54:37 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMSubnet -timeout 120m
=== RUN TestAccAzureRMSubnet_basic
--- PASS: TestAccAzureRMSubnet_basic (131.83s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm
131.844s
```
2016-06-01 19:52:55 -05:00
James Nugent
36a204506f
provider/azurerm: Fix azurerm_virtual_network
...
```
make testacc TEST=./builtin/providers/azurerm TESTARGS="-run TestAccAzureRMVirtualNetwork"
==> Checking that code complies with gofmt requirements...
/Users/James/Code/go/bin/stringer
go generate $(go list ./... | grep -v /vendor/)
2016/06/01 16:19:17 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMVirtualNetwork -timeout 120m
=== RUN TestAccAzureRMVirtualNetwork_basic
--- PASS: TestAccAzureRMVirtualNetwork_basic (206.36s)
=== RUN TestAccAzureRMVirtualNetwork_withTags
--- PASS: TestAccAzureRMVirtualNetwork_withTags (289.05s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/azurerm 495.422s
```
2016-06-01 19:52:55 -05:00
James Nugent
0769674c54
provider/azurerm: Use new library configuration
...
Most resources are commented out at this stage, as they require surgery
to make them work with the new world of the Azure SDK.
2016-06-01 19:52:55 -05:00
James Nugent
c90718d1ac
provider/azurerm: Error on bad creds and speed++ ( #6290 )
...
This commit uses Riviera to register the Microsoft.Compute provider as a
canary for whether or not the Azure account credentials are set up. It
used to use the MS client, but that appeared to panic internally if the
credentials were bad. It's possible that we were using it wrong, but
there are no docs so ¯\_(ツ)_/¯.
As part of this, we parellelise the registration of the other providers.
This shaves the latency of each provider request times the number of
providers minus 1 off the "startup" time of the AzureRM provider. The
result is quite noticeable.
2016-04-22 00:50:47 +01:00
stack72
a4cd5eeb2b
provider/azurerm: Scaffold the Azure RM Template Deployment resource
2016-03-21 18:51:38 +00:00
stack72
cb109043f2
Scaffold the Azure RM Virtual Machine resource
2016-03-17 15:08:59 +00:00
stack72
3eab9f2ff0
provider/azurerm: Add documentation for the `azurerm_search_service`
...
resource
2016-02-19 00:57:51 +00:00
James Nugent
17a7990708
provider/azurerm: Add generic state refresh func
2016-02-19 00:56:11 +00:00
stack72
0d750c16f0
provider/azurerm: Support `azurerm_search_service` resource
2016-02-19 00:56:09 +00:00
stack72
584b52c34c
provider/azurerm: Add `azurerm_sql_firewall_rule` resource
2016-02-08 21:13:59 +00:00
stack72
81b50330a1
provider/azurerm: Add `azurerm_dns_mx_record` resource
2016-02-07 22:26:56 +00:00
stack72
8ac4d2e080
provider/azurerm: Add `azurerm_dns_srv_record` resource
2016-02-07 21:49:02 +00:00
stack72
f9ffeae0f6
provider/azurerm: Add `azurerm_dns_ns_record` resource
2016-02-06 19:09:52 +00:00
stack72
37bc5a4c80
provider/azurerm: Add `azurerm_dns_txt_record` resource
2016-02-06 18:43:53 +00:00
stack72
6b5e5710c8
provider/azurerm: Add DNS CName Record Resource
2016-02-05 12:51:33 +00:00
stack72
1357f150a5
provider/azurerm: Add AzureRM AAAA DNS Record resource
2016-02-05 12:14:09 +00:00
stack72
761308cd2a
provider/azurerm: Add the DNS A Record Resource
2016-02-05 11:28:48 +00:00
stack72
d89088246c
provider/azurerm: Adding azurerm_sql_database resource
2016-02-04 23:36:50 +00:00
stack72
4ef557bed7
deps: Update jen20/riviera
2016-02-04 10:02:58 +00:00
stack72
f6bee13bd4
Scaffold the Sql Server AzureRM Resource
2016-02-03 23:08:56 +00:00
Paul Stack
1421d4ce18
provider/azurerm: Add `azurerm_dns_zone` resource
...
This resource is the first which makes use of the new Riviera library
(at https://github.com/jen20/riviera ), so there is some additional set
up work to add the provider to the client which gets passed among
resources.
2016-02-02 19:53:00 -05:00
James Nugent
f8a40ff371
provider/azurerm: Fix panic if no creds supplied
...
Using EnvDefaultFunc with a default of empty string causes the
validation which would ordinarily be performed by `Required: true` in
the schema to not have any effect. Instead validate the configuration
used to produce the ARM client before attempting to use it during
provider configuration.
2016-01-29 10:51:25 -05:00
stack72
5a5c32e7d2
Azure RM Storage Queue:
...
Adds the schema, CRUD, acceptance tests and documentation for the
AzureRM storage Queue resource
2016-01-27 12:27:58 +00:00
James Nugent
4a57ab4022
provider/azurerm: Add storage container and blob
...
These resources use ARM to get keys for the storage API, but then use
the storage REST API as per the ASM provider. The code is significantly
reworked with better logging and error handling. The key functions can
be reused for queues and file storage resources when they get added.
2016-01-26 15:45:18 -05:00
James Nugent
53c23511ef
provider/azurerm: Add `azurerm_storage_account`
...
This is an unusual resource (so far) in that it cannot be created in one
call, and instead must be created and the modified to set some of the
parameters.
We use the pollIndefinitelyWhileNeeded function which will continue to
poll Azure RM operation monitoring endpoints until an error is reported
or the operation meets one of the given status codes. The function was
originally part of this feature but was separated out in order to
unblock other work.
Currently there is no support for the "custom_domain" section of the
storage account API. This was originally present and was later taken out
of the scope of the storage account resource in order that the following
workflow can be used:
1. Create storage account
2. Create DNS CNAME entry once the account name is known
3. Create custom domain mapping
2016-01-20 19:47:23 -05:00
stack72
d91c7080e0
Scaffold the AzureRM CDN Endpoint resource
2016-01-20 16:47:41 +00:00
James Nugent
734d5698d7
provider/azurerm: Poll indefinitely if no error
...
This adds a pollIndefinitelyWhileNeeded function which will continue to
poll Azure RM operation monitoring endpoints until an error is reported
or the operation meets one of the given status codes. This may need
revisiting at some point in the future.
2016-01-20 10:25:26 -05:00
stack72
183eb248df
Scaffold the Azure RM CDN Profile
2016-01-19 17:37:28 +00:00
stack72
b1c8c30df3
Scaffold the Azure RM Route Resource
2016-01-10 15:02:48 +00:00
stack72
c1fa8392e3
Scaffold Azure RM Route Table resource
2016-01-10 02:47:20 +00:00