Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync #3

Merged
merged 8,689 commits into from
Jun 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
8689 commits
Select commit Hold shift + click to select a range
cd1282f
r/kubernetes_cluster: fixing the broken assertion
tombuildsstuff Jun 5, 2020
3eabe45
New Data Source: `azurerm_kubernetes_cluster_node_pool`
tombuildsstuff Jun 5, 2020
1dadbca
cleanup
tombuildsstuff Jun 5, 2020
6dee2b2
terrafmt
tombuildsstuff Jun 5, 2020
53bbabd
r/kubewrnetes_cluster: keeping the linter happy
tombuildsstuff Jun 5, 2020
b9e698f
r/kubernetes_cluster: fixing pr comments
tombuildsstuff Jun 5, 2020
2d5198b
r/kubernetes_cluster: fixing the key vault test
tombuildsstuff Jun 5, 2020
8c22d58
r/kubernetes_cluster: supporting delta-updates for the `load_balancer…
tombuildsstuff Jun 8, 2020
fe08fce
linting
tombuildsstuff Jun 8, 2020
ed3c9ce
r/kubernetes_cluster: conditionally setting the `managed_outbound_ip_…
tombuildsstuff Jun 8, 2020
e3b88ce
r/kubernetes_cluster_node_pool: fixing the test `TestAccAzureRMKubern…
tombuildsstuff Jun 8, 2020
0085802
review comment changes
jackofallops Jun 8, 2020
6cd6681
(d|r)/kubernetes_cluster: `version` is no longer applicable for `azur…
tombuildsstuff Jun 8, 2020
6db45cd
Azure policy rest version bump to 2019-09-01 (#7211)
jlpedrosa Jun 8, 2020
917da08
update CHANGELOG.md #7211
katbyte Jun 8, 2020
1015cd6
New Resource: `azurerm_iot_time_series_insights_reference_data_set` (…
mbfrahry Jun 9, 2020
cd55c1b
Update changelog for #7112
mbfrahry Jun 9, 2020
55d4775
Merge pull request #7224 from terraform-providers/r/app-service-hybri…
jackofallops Jun 9, 2020
09bcf4b
Updated for #7224
jackofallops Jun 9, 2020
639034c
Update doc for resource group property of traffic manager endpoint
Jun 9, 2020
d4e1e0a
r/kubernetes_cluster: conditionally nil-ing the load balancer profile
tombuildsstuff Jun 9, 2020
3af1f28
review fixes and amendments
jackofallops Jun 9, 2020
05378e6
gosimple
tombuildsstuff Jun 9, 2020
832bf4b
Merge pull request #6930 from terraform-providers/f/bp-assignments
jackofallops Jun 9, 2020
c0568be
Updated for #6930
jackofallops Jun 9, 2020
bb7e21c
Merge pull request #7248 from terraform-providers/f/event-hub-auth-rules
tombuildsstuff Jun 9, 2020
d333d0b
updating to include #7248
tombuildsstuff Jun 9, 2020
273d3bf
New Resource: `azurerm_iot_time_series_insights_access_policy` (#7202)
mbfrahry Jun 9, 2020
2feded1
Update changelog for #7202
mbfrahry Jun 9, 2020
e13f0d8
`azurerm_cosmosdb_account` modifying `geo_location` no longer trigger…
mbfrahry Jun 9, 2020
8aca851
Update changelog for #7217
mbfrahry Jun 9, 2020
40bcf08
context fixes for state migration test panics (#7264)
jackofallops Jun 9, 2020
ba538bf
Error creating the example. (#7266)
Jun 9, 2020
b26c30b
Remove preview statement
ArcturusZhang Jun 10, 2020
6556ecf
Update azurerm_subnet_nat_gateway_association document example usage.
cedarkuo Jun 10, 2020
e05a435
add check for available service provider - `azurerm_bot_connection`
njuCZ Jun 10, 2020
f80d7b6
Merge pull request #7278 from cedarkuo/update-subnet-nat-gateway-asso…
tombuildsstuff Jun 10, 2020
7f57d8f
Update azurerm/internal/services/bot/bot_connection_resource.go
njuCZ Jun 10, 2020
51bd3bc
Update azurerm/internal/services/bot/bot_connection_resource.go
njuCZ Jun 10, 2020
03342d1
Merge pull request #7274 from ArcturusZhang/remove-preview-of-des-in-vms
tombuildsstuff Jun 10, 2020
123da0c
add documentation for base_url
jrauschenbusch Jun 10, 2020
e0ba970
update
njuCZ Jun 10, 2020
3ff02c7
Update code
Jun 10, 2020
ce5b534
Update code
Jun 10, 2020
4ed1c66
update
njuCZ Jun 10, 2020
c9ac6ff
Documentation for app_service_environment resource was missing descri…
Jun 10, 2020
c4cee44
d/kubernetes-cluster: removing the `version` field from the `azure_po…
tombuildsstuff Jun 10, 2020
d10dfc7
added kv cert ds, tests and docs
jackofallops Jun 10, 2020
87d0519
r/kubernetes_cluster_node_pool: making the CheckDestroy test support …
tombuildsstuff Jun 10, 2020
99b2d6b
Merge pull request #7283 from jbinko/fix/app_service_environment-ilb-…
tombuildsstuff Jun 10, 2020
277f16c
Merge pull request #7233 from terraform-providers/f/aks-updates-2020-06
tombuildsstuff Jun 10, 2020
e15bb5d
updating to include #7233
tombuildsstuff Jun 10, 2020
2478ec0
adding a note covering Azure Policy
tombuildsstuff Jun 10, 2020
50be9ed
kubernetes-cluster: updating the basic-cluster example
tombuildsstuff Jun 9, 2020
6ebc23e
kubernetes-cluster: example for using a spot node pool
tombuildsstuff Jun 9, 2020
1e5d983
kubernetes-cluster: example for nodes on an internal network
tombuildsstuff Jun 9, 2020
59c2d60
kubernetes-cluster: adding an example of using the network policy calico
tombuildsstuff Jun 9, 2020
2cf88d9
kubernetes-cluster: adding an example for a cluster with monitoring e…
tombuildsstuff Jun 10, 2020
254bce9
kubernetes-cluster: removing the old examples
tombuildsstuff Jun 10, 2020
185bc6d
ignoring lockfiles
tombuildsstuff Jun 10, 2020
b2faa2a
additional test for generated cert
jackofallops Jun 10, 2020
23f9abf
Merge pull request #7286 from terraform-providers/f/aks-examples-2020-06
tombuildsstuff Jun 10, 2020
2a15587
Merge pull request #7275 from neil-yechenwei/updatedocfortraffic
tombuildsstuff Jun 10, 2020
62c16c1
azurerm_api_management_api``wsdl_selector` is required when content_f…
yupwei68 Jun 11, 2020
085e1fb
update CHANGELOG.md to include #7076
katbyte Jun 11, 2020
a590e9a
update
Jun 11, 2020
cc561da
updated schema sets to lists
jackofallops Jun 11, 2020
5fc5139
when callingWebHook is empty, make the field be nil, not a pointer of…
njuCZ Jun 11, 2020
259074d
doc fixes
jackofallops Jun 11, 2020
ebc53a3
Merge pull request #7207 from jrauschenbusch/r-eventgrid-event-subscr…
tombuildsstuff Jun 11, 2020
1e850c6
updating to include #7207
tombuildsstuff Jun 11, 2020
18a1eb4
additional doc fixes
jackofallops Jun 11, 2020
d6624b3
Merge pull request #7285 from terraform-providers/d/kv-certificate-da…
jackofallops Jun 11, 2020
19875ee
Updated for #7825
jackofallops Jun 11, 2020
f4be30f
Typo in GH ref #7285
jackofallops Jun 11, 2020
92539a8
Merge pull request #7294 from njuCZ/issue_5450
tombuildsstuff Jun 11, 2020
d2bf91e
updating to include #7294
tombuildsstuff Jun 11, 2020
0f4cb62
v2.14.0
Jun 11, 2020
61a201a
Cleanup after v2.14.0 release
Jun 11, 2020
446d006
dependencies: updating to v43.0.0 of github.com/Azure/azure-sdk-for-go
tombuildsstuff Jun 3, 2020
f729d4f
dependencies: updating to v43.1.0 of github.com/Azure/azure-sdk-for-go
tombuildsstuff Jun 11, 2020
6b3126e
Merge pull request #7259 from neil-yechenwei/fixsqlelasticpool
tombuildsstuff Jun 11, 2020
90f9cbd
Merge pull request #7188 from terraform-providers/deps/azure-sdk-v43
tombuildsstuff Jun 11, 2020
f3f64f3
updating to include #7188
tombuildsstuff Jun 11, 2020
354e059
Merge pull request #7279 from njuCZ/issue_6873
tombuildsstuff Jun 11, 2020
3117bdb
updating to include #7279
tombuildsstuff Jun 11, 2020
94c922d
azurerm_network_interface: change case in import
Delapouite Jun 12, 2020
84e0905
Add developer_portal_url attribute on azurerm_api_management (#7263)
sirlatrom Jun 12, 2020
212cc0e
`azurerm_api_management_api` createUpdate change (#7273)
yupwei68 Jun 12, 2020
5434785
update CHANGELOG.md to include #7273
katbyte Jun 12, 2020
0b378cf
update CHANGELOG.md to include #7263
katbyte Jun 12, 2020
ac24462
Azure IoT Time Series Insights Reference Data Set - Correct the titl…
Nepomuceno Jun 13, 2020
5e8a73d
Fix incorrect rendering of h2 after stray codeblock (#7323)
lukiffer Jun 14, 2020
24223d2
Declare azurerm_healthcare_service argument access_policy_object_ids …
sschmeck Jun 14, 2020
0ade74d
update CHANGELOG.md to include #7296
katbyte Jun 14, 2020
2522b35
split into two different resources
njuCZ Jun 15, 2020
51ccee2
Updates to comments
SebRosander Jun 15, 2020
afdd99a
Fix to one missed comment.
SebRosander Jun 15, 2020
bcc68af
Update logic_app_action_http.html.markdown (#7330)
marcin-dudek Jun 15, 2020
bb7f372
Update app service example main.tf (#7332)
rohanvirmani Jun 16, 2020
eec0ed6
Upgrade Kusto SDK to 2020-02-15 from 2019-05-15 (#6838)
jrauschenbusch Jun 16, 2020
49732ad
update CHANGELOG.md to include #6838
katbyte Jun 16, 2020
112e6ee
`azurerm_hdinsight_cluster` deprecate `min_instance_count` (#7272)
magodo Jun 16, 2020
66bfb6b
update CHANGELOG.md to include #7272
katbyte Jun 16, 2020
bc06656
New resource - azurerm_data_factory_integration_runtime_self_hosted (…
pearcec Jun 16, 2020
2326ad0
update CHANGELOG.md to include #6535
katbyte Jun 16, 2020
f0e1d1c
New Resource: `azurerm_eventhub_cluster` (#7306)
mbfrahry Jun 16, 2020
5c30e7d
Update changelog for #7306
mbfrahry Jun 16, 2020
ba278ba
Documentation Fix: `azurerm_virtual_network_peering` #7335
LucianFrango Jun 16, 2020
339934e
azurerm_app_service_certificate - support for hosting_environment_pro…
wmdave Jun 16, 2020
f4329fb
update CHANGELOG.md to include #7087
katbyte Jun 16, 2020
57004dd
azurerm_app_service_environment - support for user_whitelisted_ip_ran…
Jun 16, 2020
4a34779
uppdate CHANGELOG/md to include #7324
katbyte Jun 16, 2020
fed0227
`azurerm_network_watcher_flow_log` destroy fails (#7154)
yupwei68 Jun 16, 2020
abcd96a
update CHANGELOG.md to include #7154
katbyte Jun 16, 2020
f1b22dd
`azurerm_policy_assignment` - added support for `enforcement_mode` (…
ccampo Jun 16, 2020
2523bff
Update changelog for #7331
mbfrahry Jun 16, 2020
4067298
Add link to `app_settings` values reference (#7304)
erikerikson Jun 16, 2020
0ba4ba3
app_service_environment resource - allow for the argument
Jun 16, 2020
41b5b70
add retry and update some documents
njuCZ Jun 17, 2020
f4d5841
Updated the example SQL DB name to not say "mysql" (#7362)
michaelbdavidson7 Jun 17, 2020
cf905c6
"state" only allows "Disabled" or "Enabled". (#7364)
scott-doyland-burrows Jun 17, 2020
02626df
Update interpolation syntax (#7361)
sebader Jun 17, 2020
c969611
Update data source `azurerm_management_group` - support get data sour…
ArcturusZhang Jun 17, 2020
33aced7
update CHANGELOG.md to include #6845
katbyte Jun 17, 2020
a24b027
`azurerm_storage_share_directory ` - `name` can now contain one neste…
jogleasonjr Jun 17, 2020
ce5e5f5
Update changelog for #7382
mbfrahry Jun 17, 2020
11f0305
update
njuCZ Jun 18, 2020
5d672a9
Merge pull request #6955 from SebRosander/issue-3685
jackofallops Jun 18, 2020
826b39c
Update for #6955
jackofallops Jun 18, 2020
7589dba
Merge pull request #6713 from njuCZ/maintenance_assignment
jackofallops Jun 18, 2020
b0fea38
Updated for #6713
jackofallops Jun 18, 2020
de16440
Merge pull request #7107 from yupwei68/wyp-datashare-dataset-blob
jackofallops Jun 18, 2020
d0ad628
Updated for #7107
jackofallops Jun 18, 2020
c2684ea
Merge branch 'master' of https://github.com/terraform-providers/terra…
Jun 18, 2020
fdfa243
Doc Fix: use proper url for importing azure virtual machine #7399
akamac Jun 18, 2020
23533b1
`azurerm_kusto_cluster` - Support for `enable_purge` #7375
jrauschenbusch Jun 18, 2020
728bd37
Update changelog for #7375
mbfrahry Jun 18, 2020
1a7f16d
Update the compute service api-version from 2019-07-01 to 2019-12-01 …
ArcturusZhang Jun 18, 2020
ce3eb26
fixes #6571
WodansSon Jun 18, 2020
a43ed91
updating to include #7246
WodansSon Jun 18, 2020
89d08bb
`azurerm_kusto_cluster` - Support for extended Kusto Cluster SKUs #7372
jrauschenbusch Jun 18, 2020
aed58bd
Update changelog for #7372
mbfrahry Jun 18, 2020
e73e982
Doc Fix: Add note for Storage Documentation when Creating HNS Enabled…
jgardner04 Jun 18, 2020
48210a6
Update CHANGELOG.md
katbyte Jun 18, 2020
2403a3c
update chANGELOG.md toinclude #7188
katbyte Jun 18, 2020
2cfb518
v2.15.0
Jun 19, 2020
c0db00f
revert to Unreleased state
katbyte Jun 19, 2020
c8ca19f
v2.15.0
Jun 19, 2020
5e66b05
Cleanup after v2.15.0 release
Jun 19, 2020
09a021a
add aad admin for azurerm_postgresql_server
Jun 19, 2020
f880764
navigation link added
Jun 19, 2020
8731388
fix ServerAdministratorResource reference
Jun 19, 2020
4996750
fix resource client name
Jun 19, 2020
595135f
fix client name
Jun 19, 2020
3ab1fd1
serverAdministratorsClient added
Jun 19, 2020
bcf6870
Added three examples for AKS: egress with UDR with Azure CNI; egress …
borkod Jun 20, 2020
166d4ec
docs(application_gateway): clarify use of PathBasedRouting
imduchy Jun 20, 2020
77018b8
mysql resources: update documentation
catay Jun 21, 2020
634a123
private_endpoint: fix miswordings in private_dns_zone_group section
catay Jun 21, 2020
33fd393
azurerm_hdinsights_*_cluster: loosen work node count validation
magodo Jun 22, 2020
8ee93c7
Merge pull request #7423 from catay/fix-priv-endpoint
jackofallops Jun 22, 2020
bf68d86
Merge pull request #7422 from catay/fix-mysql-db-example
jackofallops Jun 22, 2020
15a7857
Bump autorest/azure/cli to 0.3.1 so AZURE_CONFIG_DIR is honoured
gjtaylor Jun 22, 2020
d26d322
Added - ForceNew: true for internal_load_balancing_mode
jbinko Jun 22, 2020
8d8ce59
`azurerm_kusto_cluster` - Support for `identity` (#7367)
jrauschenbusch Jun 22, 2020
b87b17b
Update changelog for #7367
mbfrahry Jun 22, 2020
d45dc27
`azurerm_role_definition` - terraform import now sets scope to preven…
logachev Jun 22, 2020
d3965f8
Update changelog for #7424
mbfrahry Jun 22, 2020
9a640fb
Added unit test for internal_load_balancing_mode attribute
jbinko Jun 22, 2020
316de59
fix typo
magodo Jun 22, 2020
3e59be0
firewall_resource: support `threat_intel_mode`
magodo Jun 23, 2020
0e138b9
update doc
magodo Jun 23, 2020
8e4434f
Removal of possible deprecation note, moving test definition to match…
jbinko Jun 23, 2020
e47be41
Merge pull request #7346 from jbinko/fix/InternalLoadBalancingModeWeb…
jackofallops Jun 23, 2020
897015e
Updated for #7346
jackofallops Jun 23, 2020
1e7a8cc
Merge pull request #7430 from magodo/hdinsights_worknode_loosen_count…
jackofallops Jun 23, 2020
73ae436
Updated for #7430
jackofallops Jun 23, 2020
9271881
Merge pull request #7415 from borkod/master
tombuildsstuff Jun 23, 2020
2f40445
Merge pull request #7417 from Duchynko/d/path-based-routing-note
tombuildsstuff Jun 23, 2020
9741d6f
`azurerm_kusto_cluster` - Support for `virtual_network_configuration`…
jrauschenbusch Jun 23, 2020
5ffd620
Update changelog for #7369
mbfrahry Jun 23, 2020
a715fb1
Doc Fix: private_endpoint.html.markdown #7450
marcin-dudek Jun 23, 2020
f5da29e
Merge pull request #7440 from yupwei68/wyp-function-app
jackofallops Jun 23, 2020
e334a15
Updated for #7440
jackofallops Jun 23, 2020
6ca8e56
Merge pull request #7437 from magodo/firewall_threat_intel
tombuildsstuff Jun 23, 2020
c70155e
updating to include #7437
tombuildsstuff Jun 23, 2020
d6e173c
azurerm_frontdoor - Update documentation of redirect_type (#7449)
Miouge1 Jun 23, 2020
47af1f4
Update dev_test_global_vm_shutdown_schedule.html.markdown (#7442)
diggerdric Jun 23, 2020
cc87939
azurerm_marketplace_agreement: update doc for importing ID (#7438)
magodo Jun 23, 2020
39a96cd
`azurerm_frontdoor` - Fix timeout for read operation to match documen…
WodansSon Jun 23, 2020
0059a5c
update CHANGELOG.md toinclue #7408
katbyte Jun 23, 2020
fde4418
updateing CHANGELOG.md entry for #7430
katbyte Jun 23, 2020
a21bd9d
make `ip_rules`, `virtual_network_subnet_ids` could become zero - `az…
njuCZ Jun 23, 2020
338f9aa
update CHANGELOG.md to include #7385
katbyte Jun 23, 2020
c1e8fc8
azurerm_mssql_database - support `GP_S_Gen5` SKUs up to `GP_S_Gen5_40…
davidtom Jun 23, 2020
29b6b2c
update CHANGELOG.md to include #7453
katbyte Jun 23, 2020
81a042b
update CHANGELOG.md entry for #7346
katbyte Jun 23, 2020
4b08892
azurerm_monitor_activity_log_alert: support `properties.recommendatio…
magodo Jun 24, 2020
e4f3b53
azurerm_mssql_database - support min_capacity up to 5 (#7457)
davidtom Jun 24, 2020
b254ab9
update CHANGELOG.md to include #7457
katbyte Jun 24, 2020
85680d1
`azurerm_postgresql_server` - force new if `sku_name` changes tier (#…
yupwei68 Jun 24, 2020
90ebe03
update CHANGELOG.md to include #7456
katbyte Jun 24, 2020
b9c286c
`azurerm_network_interface_security_group_association` remove itself …
yupwei68 Jun 24, 2020
5a3c332
update CHANGELOG.md to include #7459
katbyte Jun 24, 2020
942ba34
azurerm_kusto_cluster - supoport for zones (#7373)
jrauschenbusch Jun 24, 2020
163fd39
update CHANGELOG.md to include #7373
katbyte Jun 24, 2020
183f3e7
fix activity log alert for Recommendation category
magodo Jun 24, 2020
3a112a6
Merge pull request #7433 from gjtaylor/master
tombuildsstuff Jun 24, 2020
6f80ed1
updating to include #7433
tombuildsstuff Jun 24, 2020
89e1124
provide more fields to test
Jun 24, 2020
f178d13
fmt
Jun 24, 2020
ca1372b
fix linted fmt errors
Jun 24, 2020
9e65415
add retry logic on managementgroup create for roleassignment consiste…
jackofallops Jun 24, 2020
32dff25
fixup comments
jackofallops Jun 24, 2020
3a0321a
Update path validation for api management api
xinyi-joffre Jun 24, 2020
4e12fae
Add test for api_management path validation
xinyi-joffre Jun 24, 2020
f2189a9
Merge pull request #1 from xinyi-joffre/fix/7477-api-management-path-…
xinyi-joffre Jun 24, 2020
cd2097b
fixes issue-3328
SebRosander Jun 24, 2020
3511639
azurerm_api_management_api - support for `subscription_required` (#4885)
Brunhil Jun 24, 2020
a20ceeb
update CHANGELOG.md for #4885
katbyte Jun 24, 2020
16c702f
Merge pull request #7458 from magodo/monitor_activity_log_alert_recom…
tombuildsstuff Jun 25, 2020
f73cc48
updating to include #7458
tombuildsstuff Jun 25, 2020
127eb47
Merge pull request #7478 from xinyi-joffre/master
tombuildsstuff Jun 25, 2020
a08a2d8
r/frontdoor: using a consistent read-timeout of 5 minutes
tombuildsstuff Jun 25, 2020
5d3170d
provider: adding a warning about bugs if the read timeout is over 5 m…
tombuildsstuff Jun 25, 2020
e1a102e
updating to include #7478
tombuildsstuff Jun 25, 2020
7fedb2e
Merge pull request #7411 from ptv-logistics/feature/postgresql_aad_admin
tombuildsstuff Jun 25, 2020
70e9ef4
updating to include #7411
tombuildsstuff Jun 25, 2020
2061d8a
Merge pull request #7473 from terraform-providers/b/managementgroup-c…
tombuildsstuff Jun 25, 2020
20183fd
updating to include #7473
tombuildsstuff Jun 25, 2020
ba96655
Link to 'Microsoft Time Zone Index Values
arestarh Jun 25, 2020
d7f8b98
Merge pull request #7490 from arestarh/automation_schedule_timezone_l…
tombuildsstuff Jun 25, 2020
83832c6
Merge pull request #7480 from SebRosander/issue-3328
tombuildsstuff Jun 25, 2020
44a6cff
updating to include #7480
tombuildsstuff Jun 25, 2020
3556f61
Merge pull request #7308 from Delapouite/patch-1
tombuildsstuff Jun 25, 2020
36ce1d2
r/frontdoor: removing an unused param
tombuildsstuff Jun 25, 2020
9f36756
Replace underscores with hyphens in example service bus namespace nam…
RiverPhillips Jun 25, 2020
9362e7a
triggering travis one more time
tombuildsstuff Jun 25, 2020
9be058c
Merge pull request #7485 from terraform-providers/b/front-door-timeout
tombuildsstuff Jun 25, 2020
9d75a5d
Merge pull request #7496 from RiverPhillips/master
tombuildsstuff Jun 25, 2020
3854948
removing #7408 since it's been reverted
tombuildsstuff Jun 25, 2020
1f03a29
ordering
tombuildsstuff Jun 25, 2020
b70feea
v2.16.0
Jun 25, 2020
e0793d6
Cleanup after v2.16.0 release
Jun 25, 2020
e9db716
cleanup some example naming (#7500)
katbyte Jun 25, 2020
30c8159
tweak some examples (#7507)
katbyte Jun 26, 2020
0e58913
refactor: cleanup some property names (#7499)
katbyte Jun 27, 2020
9ad8015
update CHANGELOG.md to include #7499
katbyte Jun 27, 2020
3c26dd0
Update doc example for request_timeout of application gateway (#7512)
Jun 28, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/Bug_Report.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ If you are running into one of these scenarios, we recommend opening an issue in

<!--- Thank you for keeping this note for the community --->

### Terraform Version
### Terraform (and AzureRM Provider) Version

<!--- Please run `terraform -v` to show the Terraform core version and provider version(s). If you are not running the latest version of Terraform or the provider, please upgrade because your issue may have already been fixed. [Terraform documentation on provider versioning](https://www.terraform.io/docs/configuration/providers.html#provider-versions). --->

### Affected Resource(s)

<!--- Please list the affected resources and data sources. --->

* azurerm_XXXXX
* `azurerm_XXXXX`

### Terraform Configuration Files

Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/Feature_Request.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: 🚀 Feature Request
about: I have a suggestion (and might want to implement myself 🙂)!
title: Support for [thing]

---

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/Question.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ so we recommend using our other community resources instead of asking here 👍.

If you have a support request or question please submit them to one of these resources:

* [Terraform community resources](https://www.terraform.io/docs/extend/community/index.html)
* [HashiCorp Community Forums](https://discuss.hashicorp.com/c/terraform-providers)
* [HashiCorp support](https://support.hashicorp.com) (Terraform Enterprise customers)
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
13 changes: 12 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ website/node_modules
*.backup
./*.tfstate
.terraform/
*.tfvars
*.auto.tfvars
*.log
*.bak
*~
.*.swp
.idea
*.iml
*.test
*.iml
.terraform.tfstate.lock.info

website/vendor

Expand All @@ -33,3 +35,12 @@ website/vendor
!command/test-fixtures/**/.terraform/

.env.sh

# generated by the example acceptance tests
examples/**/test.tf
examples/**/test.tfvars
examples/**/terraform
examples/**/terraform.zip

# never upload the build to git
terraform-provider-azurerm
1 change: 1 addition & 0 deletions .go-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.14.2
39 changes: 39 additions & 0 deletions .golangci-travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
run:
deadline: 60m10s
modules-download-mode: vendor

issues:
max-per-linter: 0
max-same-issues: 0

linters:
disable-all: true
enable:
- deadcode
- errcheck
- gocritic
- gofmt
- goimports
- gosimple
- govet
- ineffassign
- interfacer
- nakedret
- misspell
- staticcheck
- structcheck
- typecheck
- unconvert
- unparam
- varcheck
- vet
- vetshadow
- whitespace

linters-settings:
errcheck:
ignore: github.com/hashicorp/terraform-plugin-sdk/helper/schema:ForceNew|Set,fmt:.*,io:Close
misspell:
ignore-words:
- hdinsight
- exportfs
40 changes: 40 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
run:
deadline: 10m10s
modules-download-mode: vendor

issues:
max-per-linter: 0
max-same-issues: 0

linters:
disable-all: true
enable:
- deadcode
- errcheck
- gocritic
- gofmt
- goimports
- gosimple
- govet
- ineffassign
- interfacer
- nakedret
- misspell
- staticcheck
- structcheck
- typecheck
- unused
- unconvert
- unparam
- varcheck
- vet
- vetshadow
- whitespace

linters-settings:
errcheck:
ignore: github.com/hashicorp/terraform-plugin-sdk/helper/schema:ForceNew|Set,fmt:.*,io:Close
misspell:
ignore-words:
- hdinsight
- exportfs
26 changes: 26 additions & 0 deletions .hashibot.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
queued_behavior "release_commenter" "releases" {
repo_prefix = "terraform-provider-"

message = <<-EOF
This has been released in [version ${var.release_version} of the provider](${var.changelog_link}). Please see the [Terraform documentation on provider versioning](https://www.terraform.io/docs/configuration/providers.html#provider-versions) or reach out if you need any assistance upgrading. As an example:
```hcl
provider "${var.project_name}" {
version = "~> ${var.release_version}"
}
# ... other configuration ...
```
EOF
}

poll "closed_issue_locker" "locker" {
schedule = "0 50 14 * * *"
closed_for = "720h" # 30 days
max_issues = 500
sleep_between_issues = "5s"

message = <<-EOF
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!
EOF
}
2 changes: 2 additions & 0 deletions .teamcity/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
target/
*.iml
10 changes: 10 additions & 0 deletions .teamcity/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
default: tools

tools:
mvn -U dependency:sources

test: validate
mvn test -DtestPackage=tests

validate:
mvn teamcity-configs:generate
28 changes: 28 additions & 0 deletions .teamcity/components/build_azure.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import jetbrains.buildServer.configs.kotlin.v2019_2.ParametrizedWithType

class ClientConfiguration(var clientId: String,
var clientSecret: String,
val subscriptionId : String,
val tenantId : String,
val clientIdAlt: String,
val clientSecretAlt: String,
val subscriptionIdAlt : String) {
}

class LocationConfiguration(var primary : String, var secondary : String, var ternary : String, var rotate : Boolean) {
}

fun ParametrizedWithType.ConfigureAzureSpecificTestParameters(environment: String, config: ClientConfiguration, locationsForEnv: LocationConfiguration) {
hiddenPasswordVariable("env.ARM_CLIENT_ID", config.clientId, "The ID of the Service Principal used for Testing")
hiddenPasswordVariable("env.ARM_CLIENT_ID_ALT", config.clientIdAlt, "The ID of the Alternate Service Principal used for Testing")
hiddenPasswordVariable("env.ARM_CLIENT_SECRET", config.clientSecret, "The Client Secret of the Service Principal used for Testing")
hiddenPasswordVariable("env.ARM_CLIENT_SECRET_ALT", config.clientSecretAlt, "The Client Secret of the Alternate Service Principal used for Testing")
hiddenVariable("env.ARM_ENVIRONMENT", environment, "The Azure Environment in which the tests are running")
hiddenVariable("env.ARM_PROVIDER_DYNAMIC_TEST", "%b".format(locationsForEnv.rotate), "Should tests rotate between the supported regions?")
hiddenPasswordVariable("env.ARM_SUBSCRIPTION_ID", config.subscriptionId, "The ID of the Azure Subscription used for Testing")
hiddenPasswordVariable("env.ARM_SUBSCRIPTION_ID_ALT", config.subscriptionIdAlt, "The ID of the Alternate Azure Subscription used for Testing")
hiddenPasswordVariable("env.ARM_TENANT_ID", config.tenantId, "The ID of the Azure Tenant used for Testing")
hiddenVariable("env.ARM_TEST_LOCATION", locationsForEnv.primary, "The Primary region which should be used for testing")
hiddenVariable("env.ARM_TEST_LOCATION_ALT", locationsForEnv.secondary, "The Primary region which should be used for testing")
hiddenVariable("env.ARM_TEST_LOCATION_ALT2", locationsForEnv.ternary, "The Primary region which should be used for testing")
}
108 changes: 108 additions & 0 deletions .teamcity/components/build_components.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
import jetbrains.buildServer.configs.kotlin.v2019_2.*
import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.GolangFeature
import jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.ScriptBuildStep
import jetbrains.buildServer.configs.kotlin.v2019_2.triggers.schedule

// NOTE: in time this could be pulled out into a separate Kotlin package

// unfortunately TeamCity's Go Test Json parser appears to be broken
// as such for the moment let's use the old method with a feature-flag
const val useTeamCityGoTest = false

fun BuildFeatures.Golang() {
if (useTeamCityGoTest) {
feature(GolangFeature {
testFormat = "json"
})
}
}

fun BuildSteps.ConfigureGoEnv() {
step(ScriptBuildStep {
name = "Configure Go Version"
scriptContent = "goenv install -s \$(goenv local) && goenv rehash"
})
}

fun BuildSteps.RunAcceptanceTests(providerName : String, packageName: String) {
var servicePath = "./%s/internal/services/%s/tests".format(providerName, packageName)

if (useTeamCityGoTest) {
step(ScriptBuildStep {
name = "Run Tests"
scriptContent = "go test -v \"$servicePath\" -timeout=\"%TIMEOUT%h\" -test.parallel=\"%PARALLELISM%\" -run=\"%TEST_PREFIX%\" -json"
})
} else {
step(ScriptBuildStep {
name = "Compile Test Binary"
scriptContent = "go test -c -o test-binary"
workingDir = servicePath
})

step(ScriptBuildStep {
// ./test-binary -test.list=TestAccAzureRMResourceGroup_ | teamcity-go-test -test ./test-binary -timeout 1s
name = "Run via jen20/teamcity-go-test"
scriptContent = "./test-binary -test.list=\"%TEST_PREFIX%\" | teamcity-go-test -test ./test-binary -parallelism \"%PARALLELISM%\" -timeout \"%TIMEOUT%h\""
workingDir = servicePath
})
}
}

fun BuildSteps.RunAcceptanceTestsForPullRequest(providerName : String, packageName: String) {
var servicePath = "./%s/internal/services/%s/...".format(providerName, packageName)
if (useTeamCityGoTest) {
step(ScriptBuildStep {
name = "Run Tests"
scriptContent = "go test -v \"$servicePath\" -timeout=\"%TIMEOUT%h\" -test.parallel=\"%PARALLELISM%\" -run=\"%TEST_PREFIX%\" -json"
})
} else {
// Building a binary with teamcity-go-test doesn't work for multiple packages, so fallback to this
step(ScriptBuildStep {
name = "Install tombuildsstuff/teamcity-go-test-json"
scriptContent = "wget https://github.com/tombuildsstuff/teamcity-go-test-json/releases/download/v0.2.0/teamcity-go-test-json_linux_amd64 && chmod +x teamcity-go-test-json_linux_amd64"
})

step(ScriptBuildStep {
name = "Run Tests"
scriptContent = "GOFLAGS=\"-mod=vendor\" ./teamcity-go-test-json_linux_amd64 -scope \"$servicePath\" -prefix \"%TEST_PREFIX%\" -count=1 -parallelism=%PARALLELISM% -timeout %TIMEOUT%"
})
}
}

fun ParametrizedWithType.TerraformAcceptanceTestParameters(parallelism : Int, prefix : String, timeout: String) {
text("PARALLELISM", "%d".format(parallelism))
text("TEST_PREFIX", prefix)
text("TIMEOUT", timeout)
}

fun ParametrizedWithType.ReadOnlySettings() {
hiddenVariable("teamcity.ui.settings.readOnly", "true", "Requires build configurations be edited via Kotlin")
}

fun ParametrizedWithType.TerraformAcceptanceTestsFlag() {
hiddenVariable("env.TF_ACC", "1", "Set to a value to run the Acceptance Tests")
}

fun ParametrizedWithType.TerraformShouldPanicForSchemaErrors() {
hiddenVariable("env.TF_SCHEMA_PANIC_ON_ERROR", "1", "Panic if unknown/unmatched fields are set into the state")
}

fun ParametrizedWithType.hiddenVariable(name: String, value: String, description: String) {
text(name, value, "", description, ParameterDisplay.HIDDEN)
}

fun ParametrizedWithType.hiddenPasswordVariable(name: String, value: String, description: String) {
password(name, value, "", description, ParameterDisplay.HIDDEN)
}

fun Triggers.RunNightly(nightlyTestsEnabled: Boolean, startHour: Int) {
schedule{
enabled = nightlyTestsEnabled
branchFilter = "+:refs/heads/master"

schedulingPolicy = daily {
hour = startHour
timezone = "SERVER"
}
}
}
48 changes: 48 additions & 0 deletions .teamcity/components/build_config_pull_request.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
import jetbrains.buildServer.configs.kotlin.v2019_2.*

class pullRequest(displayName: String, environment: String) {
val displayName = displayName
val environment = environment

fun buildConfiguration(providerName : String) : BuildType {
return BuildType {
// TC needs a consistent ID for dynamically generated packages
id(uniqueID(providerName))

name = displayName

vcs {
root(providerRepository)
cleanCheckout = true
}

steps {
var packageName = "\"%SERVICES%\""

ConfigureGoEnv()
RunAcceptanceTestsForPullRequest(providerName, packageName)
}

failureConditions {
errorMessage = true
}

features {
Golang()
}

params {
TerraformAcceptanceTestParameters(defaultParallelism, "TestAcc", "12")
TerraformAcceptanceTestsFlag()
TerraformShouldPanicForSchemaErrors()
ReadOnlySettings()

text("SERVICES", "portal")
}
}
}

fun uniqueID(provider : String) : String {
return "%s_PR_%s".format(provider.toUpperCase(), environment.toUpperCase())
}
}
Loading