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

Update from master TF repo #1

Merged
merged 1,159 commits into from
Oct 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1159 commits
Select commit Hold shift + click to select a range
06eae21
`arm_role_assignment`: add `pricipal_type` and `skip_servicepricipal_…
WodansSon Sep 7, 2019
9b7536b
arm_role_assignment [GH-4168]
WodansSon Sep 7, 2019
7c1971d
New Resource: Azure Front Door (#3933)
WodansSon Sep 7, 2019
8120e5e
new resource - azurerm_frontdoor [GH-3933]
WodansSon Sep 7, 2019
8a2f636
Fix bug for Network Interface (#4155)
Sep 9, 2019
7c53bf2
`azurerm_network_interface`: [GH-4155]
WodansSon Sep 9, 2019
75e0779
Fix large case of validate_certificate_name (#4279)
ashemedai Sep 10, 2019
6a2fb60
Fixed a small typo in the database example (#4284)
Sharaden Sep 10, 2019
7da34ca
Example Update: Change Product and Solution Name Fields (#4280)
Lachlan-White Sep 10, 2019
3697b8b
Data source virtual network add location (#4281)
r0bnet Sep 10, 2019
4f43265
Update CHANGELOG.md to include #4281
katbyte Sep 10, 2019
70a7a97
`Azurerm_cosmosdb_account`: revert sdk name check workaround (#4275)
tracypholmes Sep 10, 2019
9a2796a
azurerm_cosmosdb_account: correctly validate `max_interval_in_s… (#4273)
dkuerner Sep 10, 2019
864f301
Update CHANGELOG.md to include #4273
katbyte Sep 10, 2019
8ef52d3
add virtual_network_subnet_id to network rules
r0bnet Sep 10, 2019
4ad47da
add test for vnet ids
r0bnet Sep 10, 2019
d258108
add documentation for subnet rules
r0bnet Sep 10, 2019
267b2ac
Fixed a typo in the import sample
dfeddad Sep 11, 2019
4330eaa
Merge pull request #4299 from dfeddad/patch-1
tombuildsstuff Sep 11, 2019
e3b66e0
Merge pull request #4253 from terraform-providers/refactor/base-client
tombuildsstuff Sep 12, 2019
a3fcfb0
Data source azurerm servicebus namespace authorization rule (#4294)
r0bnet Sep 12, 2019
c6fe70b
Update CHANGELOG.md to include #4294
katbyte Sep 12, 2019
ffdb781
add storage_autogrow property
r0bnet Sep 12, 2019
8f334e5
add test for autogrow property
r0bnet Sep 12, 2019
8fb2358
add autogrow property documentation entry
r0bnet Sep 12, 2019
ee5d17f
add storage_autogrow property to mysql server
r0bnet Sep 12, 2019
e95fa06
fix naming for autogrow property; adjust test
r0bnet Sep 12, 2019
c8f8dde
rename auto grow prop as it is for mariadb and postgres
r0bnet Sep 12, 2019
a0d2856
fix validation
r0bnet Sep 12, 2019
e38e5a2
add test for auto_grow property
r0bnet Sep 12, 2019
6a0c563
add auto_grow to documentation
r0bnet Sep 12, 2019
fd0869a
fixed casing for auto_grow
r0bnet Sep 12, 2019
b7975eb
Merge pull request #4302 from r0bnet/mariadb-storage-autogrow
tombuildsstuff Sep 12, 2019
962aab6
Merge pull request #4303 from r0bnet/mysql-storage-autogrow
tombuildsstuff Sep 12, 2019
c9c0e44
updating to include #4302 & #4303
tombuildsstuff Sep 12, 2019
99e48e0
r/private_dns_zone: polling on the future instead of sleeping
tombuildsstuff Sep 12, 2019
30acad4
Merge pull request #4307 from terraform-providers/r/private-dns-zone
tombuildsstuff Sep 12, 2019
a829284
updating to include #4307
tombuildsstuff Sep 12, 2019
e665575
azurerm_application_gateway: add trusted root cert property (#4206)
katbyte Sep 12, 2019
4b1290f
Update CHANGELOG.md to include #4206
katbyte Sep 12, 2019
6355dbf
Initial: New resource azurerm_private_dns_zone_virtual_network_link
tiwood Jul 4, 2019
e1790b4
Initial: Documentation for new resource azurerm_private_dns_zone_virt…
tiwood Jul 4, 2019
39ba7a9
fixing comments from code review
tombuildsstuff Sep 12, 2019
f963b05
refactor: making the virtual networks client a pointer
tombuildsstuff Sep 12, 2019
f900cc2
r/private_dns_zone_virtual_network_link: fixing tests / polling until…
tombuildsstuff Sep 12, 2019
293c410
r/private_dns_zone_virtual_network_link: changing occurrences back to 10
tombuildsstuff Sep 12, 2019
bfc1607
Merge pull request #3789 from tiwood/r_privatedns_vnet_link
tombuildsstuff Sep 12, 2019
235f277
updating to include #3789
tombuildsstuff Sep 12, 2019
e460946
fixing the ordering of items
tombuildsstuff Sep 12, 2019
6eeac71
r/virtual_machine_scale_set: updating the vmss resource to use the re…
tombuildsstuff Sep 12, 2019
05a9a9b
Increase the timeout of upserting a CosmosDB account (#4271)
mikhailshilkov Sep 12, 2019
c13c93d
Update CHANGELOG.md to include #4271
katbyte Sep 12, 2019
f92a65c
provider: add service principal auxiliary tenant support (#4290)
katbyte Sep 12, 2019
b4a0056
Upgrading to Go 1.13 (#4310)
tombuildsstuff Sep 12, 2019
d0d8142
Merge pull request #4274 from terraform-providers/dep/compute-upgrade
tombuildsstuff Sep 12, 2019
0adc39a
updating to include #4274
tombuildsstuff Sep 12, 2019
75d6267
New Resource: `azurerm_bot_connection` (#4311)
mbfrahry Sep 12, 2019
b3ccbf9
Update CHANGELOG.md
mbfrahry Sep 12, 2019
7b1c9c1
provider: fix auxiliary tenant id detection (#4313)
katbyte Sep 12, 2019
c74fb37
Update vendor folder for network package 2019-06-01 (#4291)
Sep 13, 2019
16ea2ad
Update CHANGELOG.md to include #4291
katbyte Sep 13, 2019
282b90b
`azurerm_kubernetes_cluster` pod_cidr and azure network_plugin… (#4286)
nexxai Sep 13, 2019
8db5df0
Update CHANGELOG.md to include #4286
katbyte Sep 13, 2019
a7a4341
Merge branch 'master' into container_registry-vnet-subnet-ids
r0bnet Sep 13, 2019
4272391
fix tests to be removed by dalek
r0bnet Sep 13, 2019
4b2bc02
dependencies: vendoring 2015-06-01 of the marketplaceordering sdk
tombuildsstuff Sep 11, 2019
ab4b572
helpers/resource_id: support for parsing ID's without a resource group
tombuildsstuff Sep 12, 2019
479c46c
registering the `Microsoft.MarketplaceOrdering` RP
tombuildsstuff Sep 12, 2019
d274615
refactor: moving the Compute client into the clients package
tombuildsstuff Sep 12, 2019
8c5a361
New Resource: `azurerm_marketplace_agreement`
tombuildsstuff Sep 12, 2019
c91bd13
refactor: conditional debug logging for service registrations
tombuildsstuff Sep 12, 2019
5609c59
rename vnet rule fields; adjust test and documentation; validate subn…
r0bnet Sep 13, 2019
ccda7fc
virtual_network_subnet_id -> virtual_network
tombuildsstuff Sep 13, 2019
6502dcf
Merge pull request #4305 from terraform-providers/f/marketplace-agree…
tombuildsstuff Sep 13, 2019
52339a9
updating to include #4305
tombuildsstuff Sep 13, 2019
abdc199
r/container_registry: removing the name check since import handles this
tombuildsstuff Sep 13, 2019
c6c7fcc
Merge pull request #4293 from r0bnet/container_registry-vnet-subnet-ids
tombuildsstuff Sep 13, 2019
1d1d696
updating to include #4293
tombuildsstuff Sep 13, 2019
64d19ea
network: reverting the locking changes from #3673
tombuildsstuff Sep 13, 2019
85702e5
Merge pull request #4190 from nexxai/stream-analytics-optional-proper…
tombuildsstuff Sep 13, 2019
7907485
updating to include #4190
tombuildsstuff Sep 13, 2019
6c745eb
Addressing review
mbfrahry Sep 13, 2019
b446f68
fmt
mbfrahry Sep 13, 2019
28e93e4
Merge pull request #1 from terraform-providers/master
damoodamoo Sep 13, 2019
6716f42
refactor: making the clients public (#4325)
tombuildsstuff Sep 13, 2019
6efe6b2
r/storage_blob: documenting that `parallelism` is only for page… (#4324)
tombuildsstuff Sep 13, 2019
3f50a68
Merge pull request #4326 from terraform-providers/p-bot-connection
tombuildsstuff Sep 13, 2019
b92a6a1
provider: enable tf linters S001 through S019 (#4314)
katbyte Sep 14, 2019
99b8c79
Merge pull request #4320 from terraform-providers/b/reverting-locking…
tombuildsstuff Sep 16, 2019
a9990ca
updating to include #3673
tombuildsstuff Sep 16, 2019
0b9b723
compute: upgrading to 2019-07-01 of the Compute API's
tombuildsstuff Sep 16, 2019
ccfd714
compute: upgrading to 2019-07-01
tombuildsstuff Sep 16, 2019
4371f7d
keyvault_certificate: Store raw data as hex
jen20 Sep 16, 2019
e4bd685
Adding data source 'azurerm_public_ip_prefix'
midacts Sep 17, 2019
1960664
vendor: Bump terraform to 0.12.8
radeksimko Sep 17, 2019
94911fd
encryption_settings: retrieving a single element
tombuildsstuff Sep 17, 2019
1b35442
Merge pull request #4341 from terraform-providers/tf-bump
radeksimko Sep 17, 2019
f553926
Update CHANGELOG.md
radeksimko Sep 17, 2019
39d7f90
read the public ip prefix id
hbuckle Sep 17, 2019
a03c4ab
initial CRUD ops for dashboard
damoodamoo Sep 17, 2019
01c1ca9
azurerm_kubernetes_cluster: pass service_pricipal.client_secret… (#4339)
katbyte Sep 17, 2019
32e4984
Added note about `create_option` (#4348)
justcallmetrell Sep 17, 2019
1f32f7a
New Resource: Front Door Firewall Policy (#4125)
WodansSon Sep 18, 2019
2f19692
Update CHANGELOG.md to include #4125
katbyte Sep 18, 2019
3962116
Bump Azure SDK to v33.2.0
evenh Sep 16, 2019
d2a4f22
Merge pull request #4331 from terraform-providers/f/compute-api-upgrade
tombuildsstuff Sep 18, 2019
11245d5
updating to include #4331
tombuildsstuff Sep 18, 2019
883c44e
v1.34.0
Sep 18, 2019
057f554
Cleanup after v1.34.0 release
Sep 18, 2019
2553c79
ready for initial review
damoodamoo Sep 18, 2019
e7542b9
added doc
damoodamoo Sep 18, 2019
f43d543
Merge pull request #4344 from clearbank/read_public_ip_prefix_id
tombuildsstuff Sep 18, 2019
afd5cc2
updating to include #4344
tombuildsstuff Sep 18, 2019
6dd64f5
Merge pull request #4335 from jen20/jen20/keyvault-certificate-data
tombuildsstuff Sep 18, 2019
26b3788
updating to include #4335
tombuildsstuff Sep 18, 2019
620d87f
updating to include #4335
tombuildsstuff Sep 18, 2019
a70303f
provider: split travis linting into two steps and disable stati… (#4349)
katbyte Sep 18, 2019
ecfa8a7
Fix: Updated a few very minior issues with the Frontdoor docs (#4364)
WodansSon Sep 18, 2019
7651659
Remove VMSS and standard LB as preview features
dstrebel Sep 19, 2019
476871b
Merge pull request #4370 from dstrebel/patch-1
tombuildsstuff Sep 19, 2019
04de102
Early PR updates
damoodamoo Sep 19, 2019
e71e22f
Merge pull request #4334 from digipost/bump-azure-sdk
tombuildsstuff Sep 19, 2019
07f8cc8
updating to include #4334
tombuildsstuff Sep 19, 2019
e39a8a3
update kusto api version and use constant sku values from the SDK ins…
r0bnet Sep 19, 2019
ba0e934
add new api version files
r0bnet Sep 19, 2019
ad2578b
Merge pull request #4376 from r0bnet/kusto_cluster-use-constant-sku-v…
tombuildsstuff Sep 19, 2019
5472a3a
updating to include #4376
tombuildsstuff Sep 19, 2019
c486389
add server_full_name computed property
r0bnet Sep 19, 2019
4bda8f8
Import support, template file sample and doc tidy-up
damoodamoo Sep 19, 2019
996fa4e
vendor files
damoodamoo Sep 19, 2019
0eeb175
add backup_blob_container_uri; no tests yet
r0bnet Sep 19, 2019
d369233
add test for backup_blob_container_uri (not working yet)
r0bnet Sep 19, 2019
979d49f
New Resource: `azurerm_bot_channel_slack` (#4367)
mbfrahry Sep 19, 2019
be2b0f6
Update CHANGELOG.md
mbfrahry Sep 19, 2019
5f86064
Updating PR to resolve recommendations
midacts Sep 20, 2019
564be41
website menu / linting
damoodamoo Sep 20, 2019
ae5c99d
fix not working test
r0bnet Sep 20, 2019
6164712
Merge branch 'master' into analysis_services_server-backup-blob-conta…
r0bnet Sep 20, 2019
4380df0
gofmt
damoodamoo Sep 20, 2019
2563889
Adding the public_ip_prefix to the website sidebar
midacts Sep 21, 2019
64aa7f7
docs: Update search_service SKUs
stack72 Sep 22, 2019
2e1d636
Merge pull request #4406 from stack72/update-search-docs
tombuildsstuff Sep 22, 2019
2d90426
Merge pull request #4340 from midacts/data_source_public_ip_prefix
tombuildsstuff Sep 22, 2019
0a439e6
updating to include #4340
tombuildsstuff Sep 22, 2019
b4ecfeb
Adding forwarding_configuration to front door (#4404)
montross50 Sep 23, 2019
a8a47b7
PR feedback - resp.ID / tidying doc
damoodamoo Sep 23, 2019
91863ca
Merge pull request #4357 from damoodamoo/dm/azurerm-dashboard-provider
tombuildsstuff Sep 23, 2019
9343cae
updating to include #4357
tombuildsstuff Sep 23, 2019
52e0838
Adding web app bot resource (#4411)
mbfrahry Sep 24, 2019
944bcde
Update CHANGELOG.md
mbfrahry Sep 24, 2019
02d0c52
Adds check for a globally unique name
tracypholmes Sep 24, 2019
fc9cdfe
Bug fix for #4393 (#4412)
WodansSon Sep 24, 2019
e3dc821
Updating to inclued #4412
WodansSon Sep 24, 2019
a1d0ce1
azurerm_api_management_api - deprecate `sku` in favour of the `sku_na…
WodansSon Sep 24, 2019
8857b75
added update for #3154 to address issue #1500
WodansSon Sep 24, 2019
9e647d3
add zone redundancy for service bus namespace
hbuckle Sep 25, 2019
3ed4269
gofmt
hbuckle Sep 25, 2019
424e973
Example update: AKS advanced networking with multiple agent pool on V…
melvinlee Sep 25, 2019
f948958
typo in this page (#4435)
shankar5885 Sep 25, 2019
d5c4650
azurerm_eventhub_namespace: support for the `network_rulesets` proper…
katbyte Sep 25, 2019
1a6b660
Update CHANGELOG.md to include #4409
katbyte Sep 25, 2019
784c232
provider: enable whitespace linting (#4368)
katbyte Sep 25, 2019
e1120a0
Update managed_disk.html.markdown (#4437)
sai-gunaranjan Sep 25, 2019
59915ea
Removed ForceNew for resource_arm_function_app for the app_service_pl…
MarkDordoy Sep 26, 2019
3b6117f
remove nil check for pointer to string
r0bnet Sep 26, 2019
d4f213d
Merge pull request #4432 from clearbank/service_bus_zoneredundant
tombuildsstuff Sep 26, 2019
2f5a008
Updating to include #4432
tombuildsstuff Sep 26, 2019
b5941cb
Merge pull request #4424 from terraform-providers/b/container_registr…
tombuildsstuff Sep 26, 2019
1a8ef07
updating to include #4424
tombuildsstuff Sep 26, 2019
7f0eefa
fix a problem with GitHb commit
r0bnet Sep 26, 2019
9677b2f
Merge pull request #4397 from r0bnet/analysis_services_server-backup-…
tombuildsstuff Sep 26, 2019
54192ef
updating to include #4397
tombuildsstuff Sep 26, 2019
2c06fcf
Remove duplicated string
mattthias Sep 26, 2019
3b912b1
Merge pull request #4444 from mattthias/patch-1
tombuildsstuff Sep 26, 2019
d3a17fb
New Resource: azurerm_eventhub_namespace_disaster_recovery_conf… (#4425)
katbyte Sep 27, 2019
e2e48de
Update CHANGELOG.md to include #4425
katbyte Sep 27, 2019
b803a22
Link to resource with imported name (#4451)
jmcshane Sep 27, 2019
c1e5a61
zurerm/resource_arm_storage_blob.go: make sure storage blob is read a…
abhinavdahiya Sep 27, 2019
bde8470
New Resource: `azurerm_bot_channel_email` (#4389)
mbfrahry Sep 27, 2019
6a40525
Update CHANGELOG.md
mbfrahry Sep 27, 2019
3655f96
Update CHANGELOG.md
mbfrahry Sep 27, 2019
bc14d7c
Update CHANGELOG.md
katbyte Sep 28, 2019
38712ed
Clarify resource_group_name usage in documentation.
Sep 30, 2019
7fba1a6
Merge pull request #4455 from johnyesberg/master
tombuildsstuff Sep 30, 2019
e46e971
Merge pull request #4452 from abhinavdahiya/fix_storage_blob_url
tombuildsstuff Sep 30, 2019
7375bee
updating to include #4452
tombuildsstuff Sep 30, 2019
9ff238d
[#3319] datalakestore gen2 filesystem resource
tcz001 Sep 30, 2019
3268cc5
Updated documentation to show changing service plan id does not cause…
MarkDordoy Sep 30, 2019
bc7f7b2
update vendor modules
tcz001 Sep 30, 2019
3f572c3
Merge pull request #4439 from MarkDordoy/master
tombuildsstuff Sep 30, 2019
b9a8153
updating to include #4439
tombuildsstuff Sep 30, 2019
3c8bb5d
Move linux note
dfredell Sep 30, 2019
2b75869
clients: ensuring the user agent is set even if there's no partner id
tombuildsstuff Sep 30, 2019
89b3dd8
Merge pull request #4462 from dfredell/patch-1
tombuildsstuff Sep 30, 2019
c30c399
r/kubernetes_cluster: adding a separate update method
tombuildsstuff Sep 30, 2019
00f7fc4
Merge pull request #4463 from terraform-providers/b/user-agent
tombuildsstuff Sep 30, 2019
39079b7
updating to include #4463
tombuildsstuff Sep 30, 2019
e996ecc
add data source for app service certificate with test
r0bnet Sep 30, 2019
4588f09
provider: Use real Terraform version
radeksimko Sep 30, 2019
c2b2965
Merge pull request #4464 from terraform-providers/f-ua-tf-version
radeksimko Sep 30, 2019
9c67c58
Update CHANGELOG.md
radeksimko Sep 30, 2019
c3c0175
Update postgresql_database.html.markdown (#4466)
shreedhargowda Sep 30, 2019
bdf848f
Support log settings for app service slot
phekmat Sep 30, 2019
6900557
r/kubernetes_cluster: conditionally updating the sp
tombuildsstuff Sep 30, 2019
4c36c67
add documentation for new data source
r0bnet Oct 1, 2019
1f35a1e
Merge branch 'master' into new-data-source-app_service_certificate
r0bnet Oct 1, 2019
dc5d00a
r/kubernetes_cluster: ensuring all fields are set
tombuildsstuff Oct 1, 2019
5c0bd22
r/kubernetes_cluster: fixing TestAccAzureRMKubernetesCluster_advanced…
tombuildsstuff Oct 1, 2019
3552282
r/kubernetes_cluster: using constant versions of kubernetes
tombuildsstuff Oct 1, 2019
4f1d973
r/kubernetes_cluster: fixing TestAccAzureRMKubernetesCluster_internal…
tombuildsstuff Oct 1, 2019
b8e516e
r/kubernetes_cluster: setting the correct field
tombuildsstuff Oct 1, 2019
2abc24b
r/kubernetes_cluster: adding an ignore_changes until 2.0
tombuildsstuff Oct 1, 2019
c870d6b
linting
tombuildsstuff Oct 1, 2019
2649727
r/kubernetes_cluster: fixing the log messages
tombuildsstuff Oct 1, 2019
a79b1c4
Merge pull request #4468 from r0bnet/new-data-source-app_service_cert…
tombuildsstuff Oct 1, 2019
b0f9a68
updating to include #4468
tombuildsstuff Oct 1, 2019
235a7a9
Merge pull request #4436 from melvinlee/master
tombuildsstuff Oct 1, 2019
838eca9
r/kubernetes_cluster: fixing the casing for the sku
tombuildsstuff Oct 1, 2019
6100f03
vendoring vendor/github.com/tombuildsstuff/giovanni/storage/2018-11-0…
tombuildsstuff Oct 1, 2019
5b71408
Merge pull request #4469 from terraform-providers/b/aks-service-princ…
tombuildsstuff Oct 1, 2019
dafdc6d
updating to include #4469
tombuildsstuff Oct 1, 2019
c909e4d
lintrest
tcz001 Oct 1, 2019
aa36294
Add support for App Insights Analytics Items (#4374)
stuartleeks Oct 1, 2019
1597f9d
Update CHANGELOG.md
mbfrahry Oct 1, 2019
0ec727a
Changing URLs to HTTPS (#4477)
NillsF Oct 2, 2019
f12bb53
Adding default_site_hostname attribute
phillipsj Oct 2, 2019
976b914
Merge pull request #4479 from phillipsj/GH4373-missing-default-hostname
tombuildsstuff Oct 2, 2019
c59ad7c
Adding the note about the deletion of VM disks. (#4478)
phillipsj Oct 2, 2019
d545a47
Merge pull request #4473 from phekmat/feature/app_service_slot_blob_l…
tombuildsstuff Oct 2, 2019
e34051e
updating to include #4473
tombuildsstuff Oct 2, 2019
38bed59
storage: adding a parse, validate and schema function for the Account ID
tombuildsstuff Oct 2, 2019
f02a41f
r/storage_data_lake_gen2_filesystem: switching over to using the ID r…
tombuildsstuff Oct 2, 2019
7a8e3ed
Merge pull request #4457 from tcz001/upstream-issue-3319
tombuildsstuff Oct 2, 2019
89f9122
updating to include #4457
tombuildsstuff Oct 2, 2019
ef34191
Fix docs of api_management_product_group
gruebel Oct 2, 2019
66a46ab
New Resource: `azurerm_storage_management_policy` (#3819)
stuartleeks Oct 2, 2019
1650596
Update CHANGELOG.md
mbfrahry Oct 2, 2019
6626124
Merge pull request #4484 from gruebel/patch-1
tombuildsstuff Oct 2, 2019
c82e300
Merge pull request #4204 from innovationnorway/appservice-ssl-bind
tombuildsstuff Oct 2, 2019
6df5b17
updating to include #4204
tombuildsstuff Oct 2, 2019
1a80a92
Diff suppress passwords that are *****
mbfrahry Oct 2, 2019
ec8b440
Update redis_cache.html.markdown
thllxb Oct 3, 2019
0c85ec8
azurerm_client_config - add `authenticated_object_id`property (#4486)
katbyte Oct 3, 2019
78844f8
Merge pull request #4491 from thllxb/patch-1
tombuildsstuff Oct 3, 2019
16ca60a
Merge pull request #4489 from terraform-providers/p-hdinisght-gateway…
tombuildsstuff Oct 3, 2019
acc9c53
updating to include #4489
tombuildsstuff Oct 3, 2019
0736bd2
Fix operation-timeouts link
dfredell Oct 3, 2019
7a59e84
Update page heading to reflect correct Resource
mkdeegan Oct 3, 2019
c23f4a2
Merge pull request #4496 from dfredell/patch-2
tombuildsstuff Oct 3, 2019
8787387
Merge pull request #4497 from mkdeegan/patch-1
tombuildsstuff Oct 3, 2019
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
  •  
  •  
  •  
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)
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,6 @@ examples/**/test.tf
examples/**/test.tfvars
examples/**/terraform
examples/**/terraform.zip

#never upload the build to git
terraform-provider-azurerm
36 changes: 36 additions & 0 deletions .golangci-travisrest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
run:
deadline: 30m10s
modules-download-mode: vendor

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

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

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

issues:
Expand Down Expand Up @@ -27,10 +27,11 @@ linters:
- varcheck
- vet
- vetshadow
- whitespace

linters-settings:
errcheck:
ignore: github.com/hashicorp/terraform/helper/schema:ForceNew|Set,fmt:.*,io:Close
misspell:
ignore-words:
- hdinsight
- hdinsight
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 👉 hashibot-feedback@hashicorp.com. Thanks!
EOF
}
47 changes: 26 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,39 @@
dist: trusty
dist: xenial
sudo: required
services:
- docker
language: go
go:
- "1.12.x"
- "1.13.x"

branches:
only:
- master

env:
matrix:
- MODE=unit-tests
- MODE=linters
- MODE=website
global:
GOFLAGS=-mod=vendor

install:
# This script is used by the Travis build to install a cookie for
# go.googlesource.com so rate limits are higher when using `go get` to fetch
# packages that live there.
# See: https://github.com/golang/go/issues/12933
- bash scripts/gogetcookie.sh
- make tools
# This script is used by the Travis build to install a cookie for
# go.googlesource.com so rate limits are higher when using `go get` to fetch
# packages that live there.
# See: https://github.com/golang/go/issues/12933
- bash scripts/gogetcookie.sh
- make tools

script:
- if [[ $MODE == 'unit-tests' ]]; then make test; fi
- if [[ $MODE == 'linters' ]]; then GOGC=30 make lint; fi
- if [[ $MODE == 'website' ]]; then make website-test; fi

branches:
only:
- master
matrix:
fast_finish: true
allow_failures:
- go: tip
- go: tip
include:
- name: "make lintrest"
script: GOGC=20 make lintrest
- name: "make tflint"
script: make tflint
- name: "make test"
script: make test
- name: "make website-lint"
script: make website-lint
- name: "make website-test"
script: make website-test
328 changes: 323 additions & 5 deletions CHANGELOG.md

Large diffs are not rendered by default.

68 changes: 47 additions & 21 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,33 +9,26 @@ GOFLAGS=-mod=vendor

default: build

tools:
@echo "==> installing required tooling..."
@sh "$(CURDIR)/scripts/gogetcookie.sh"
GO111MODULE=off go get -u github.com/client9/misspell/cmd/misspell
GO111MODULE=off go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
GO111MODULE=off go get -u github.com/bflad/tfproviderlint/cmd/tfproviderlint

build: fmtcheck
go install

build-docker:
mkdir -p bin
docker run --rm -v $$(pwd)/bin:/go/bin -v $$(pwd):/go/src/github.com/terraform-providers/terraform-provider-azurerm -w /go/src/github.com/terraform-providers/terraform-provider-azurerm -e GOOS golang:1.12 make build

test-docker:
docker run --rm -v $$(pwd):/go/src/github.com/terraform-providers/terraform-provider-azurerm -w /go/src/github.com/terraform-providers/terraform-provider-azurerm golang:1.12 make test

test: fmtcheck
go test -i $(TEST) || exit 1
echo $(TEST) | \
xargs -t -n4 go test $(TESTARGS) -timeout=30s -parallel=4

testacc: fmtcheck
TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 180m -ldflags="-X=github.com/terraform-providers/terraform-provider-azurerm/version.ProviderVersion=acc"

debugacc: fmtcheck
TF_ACC=1 dlv test $(TEST) --headless --listen=:2345 --api-version=2 -- -test.v $(TESTARGS)
docker run --rm -v $$(pwd)/bin:/go/bin -v $$(pwd):/go/src/github.com/terraform-providers/terraform-provider-azurerm -w /go/src/github.com/terraform-providers/terraform-provider-azurerm -e GOOS golang:1.13 make build

fmt:
@echo "==> Fixing source code with gofmt..."
# This logic should match the search logic in scripts/gofmtcheck.sh
find . -name '*.go' | grep -v vendor | xargs gofmt -s -w

# Currently required by tf-deploy compile
# Currently required by tf-deploy compile, duplicated by linters
fmtcheck:
@sh "$(CURDIR)/scripts/gofmtcheck.sh"

Expand All @@ -47,11 +40,34 @@ lint:
@echo "==> Checking source code against linters..."
golangci-lint run ./...

tools:
@echo "==> installing required tooling..."
@sh "$(CURDIR)/scripts/gogetcookie.sh"
GO111MODULE=off go get -u github.com/client9/misspell/cmd/misspell
GO111MODULE=off go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
# we have split off static check because it causes travis to fail with an OOM error
lintstatic:
@echo "==> Checking source code against static check linters..."
(while true; do sleep 300; echo "(Hey travis! I'm still alive and linting)"; done) & PID=$$!; echo $$PID; \
golangci-lint run ./... -v --no-config --concurrency 1 --deadline=30m10s --disable-all --enable=staticcheck; ES=$$?; kill -9 $$PID; exit $$ES

lintrest:
@echo "==> Checking source code against linters..."
golangci-lint run ./... -v --config .golangci-travisrest.yml

tflint:
@echo "==> Checking source code against terraform provider linters..."
@tfproviderlint \
-R001 -R002 -R003 -R004\
-S001 -S002 -S003 -S004 -S005 -S006 -S007 -S008 -S009 -S010 -S011 -S012 -S013 -S014 -S015 -S016 -S017 -S018 -S019\
./$(PKG_NAME)

whitespace:
@echo "==> Fixing source code with whitespace linter..."
golangci-lint run ./... --no-config --disable-all --enable=whitespace --fix

test-docker:
docker run --rm -v $$(pwd):/go/src/github.com/terraform-providers/terraform-provider-azurerm -w /go/src/github.com/terraform-providers/terraform-provider-azurerm golang:1.13 make test

test: fmtcheck
go test -i $(TEST) || exit 1
echo $(TEST) | \
xargs -t -n4 go test $(TESTARGS) -timeout=30s -parallel=4

test-compile:
@if [ "$(TEST)" = "./..." ]; then \
Expand All @@ -61,6 +77,16 @@ test-compile:
fi
go test -c $(TEST) $(TESTARGS)

testacc: fmtcheck
TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 180m -ldflags="-X=github.com/terraform-providers/terraform-provider-azurerm/version.ProviderVersion=acc"

debugacc: fmtcheck
TF_ACC=1 dlv test $(TEST) --headless --listen=:2345 --api-version=2 -- -test.v $(TESTARGS)

website-lint:
@echo "==> Checking website against linters..."
@misspell -error -source=text -i hdinsight website/

website:
ifeq (,$(wildcard $(GOPATH)/src/$(WEBSITE_REPO)))
echo "$(WEBSITE_REPO) not found in your GOPATH (necessary for layouts and assets), get-ting..."
Expand Down
94 changes: 45 additions & 49 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,21 @@
AzureRM Terraform Provider
==================
# Terraform Provider for Azure (Resource Manager)

- Website: https://www.terraform.io
- [![Gitter chat](https://badges.gitter.im/hashicorp-terraform/Lobby.png)](https://gitter.im/hashicorp-terraform/Lobby)
- Mailing list: [Google Groups](http://groups.google.com/group/terraform-tool)
- Slack workspace: [Terraform on Azure](https://terraform-azure.slack.com) ([Request Invite](https://join.slack.com/t/terraform-azure/shared_invite/enQtNDMzNjQ5NzcxMDc3LTJkZTJhNTg3NTE5ZTdjZjFhMThmMTVmOTg5YWJkMDU1YTMzN2YyOWJmZGM3MGI4OTQ0ODQxNTEyNjdjMDAxMjM))
The AzureRM Provider supports Terraform 0.10.x and later - but Terraform 0.12.x is recommended.

General Requirements
------------
* [Terraform Website](https://www.terraform.io)
* [AzureRM Provider Documentation](https://www.terraform.io/docs/providers/azurerm/index.html)
* [AzureRM Provider Usage Examples](https://github.com/terraform-providers/terraform-provider-azurerm/tree/master/examples)
* [Slack Workspace for Contributors](https://terraform-azure.slack.com) ([Request Invite](https://join.slack.com/t/terraform-azure/shared_invite/enQtNDMzNjQ5NzcxMDc3LTJkZTJhNTg3NTE5ZTdjZjFhMThmMTVmOTg5YWJkMDU1YTMzN2YyOWJmZGM3MGI4OTQ0ODQxNTEyNjdjMDAxMjM))

- [Terraform](https://www.terraform.io/downloads.html) 0.10.x
- [Go](https://golang.org/doc/install) 1.12.x (to build the provider plugin)

Windows Specific Requirements
-----------------------------
- [Make for Windows](http://gnuwin32.sourceforge.net/packages/make.htm)
- [Git Bash for Windows](https://git-scm.com/download/win)

For *GNU32 Make*, make sure its bin path is added to PATH environment variable.*

For *Git Bash for Windows*, at the step of "Adjusting your PATH environment", please choose "Use Git and optional Unix tools from Windows Command Prompt".*

Building The Provider
---------------------

Clone repository to: `$GOPATH/src/github.com/terraform-providers/terraform-provider-azurerm`

```sh
$ mkdir -p $GOPATH/src/github.com/terraform-providers; cd $GOPATH/src/github.com/terraform-providers
$ git clone git@github.com:terraform-providers/terraform-provider-azurerm
```

Enter the provider directory and build the provider

```sh
$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-azurerm
$ make build
```

Using the provider
----------------------
## Usage Example

```
# Configure the Microsoft Azure Provider
provider "azurerm" {
# We recommend pinning to the specific version of the Azure Provider you're using
# since new versions are released frequently
version = "=1.34.0"

# More information on the authentication methods supported by
# the AzureRM Provider can be found here:
# http://terraform.io/docs/providers/azurerm/index.html
Expand Down Expand Up @@ -71,12 +43,34 @@ resource "azurerm_virtual_network" "test" {

Further [usage documentation is available on the Terraform website](https://www.terraform.io/docs/providers/azurerm/index.html).

Developing the Provider
---------------------------
## Developer Requirements

If you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (version 1.12+ is **required**). You'll also need to correctly setup a [GOPATH](http://golang.org/doc/code.html#GOPATH), as well as adding `$GOPATH/bin` to your `$PATH`.
* [Terraform](https://www.terraform.io/downloads.html) version 0.10.x +
* [Go](https://golang.org/doc/install) version 1.13.x (to build the provider plugin)

To compile the provider, run `make build`. This will build the provider and put the provider binary in the `$GOPATH/bin` directory.
If you're on Windows you'll also need:
* [Make for Windows](http://gnuwin32.sourceforge.net/packages/make.htm)
* [Git Bash for Windows](https://git-scm.com/download/win)

For *GNU32 Make*, make sure its bin path is added to PATH environment variable.*

For *Git Bash for Windows*, at the step of "Adjusting your PATH environment", please choose "Use Git and optional Unix tools from Windows Command Prompt".*

## Developing the Provider

If you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (version 1.13+ is **required**). You'll also need to correctly setup a [GOPATH](http://golang.org/doc/code.html#GOPATH), as well as adding `$GOPATH/bin` to your `$PATH`.

First clone the repository to: `$GOPATH/src/github.com/terraform-providers/terraform-provider-azurerm`

```sh
$ mkdir -p $GOPATH/src/github.com/terraform-providers; cd $GOPATH/src/github.com/terraform-providers
$ git clone git@github.com:terraform-providers/terraform-provider-azurerm
$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-azurerm
```

Once inside the provider directory, you can run `make tools` to install the dependent tooling required to compile the provider.

At this point you can compile the provider by running `make build`, which will build the provider and put the provider binary in the `$GOPATH/bin` directory.

```sh
$ make build
Expand All @@ -85,7 +79,13 @@ $ $GOPATH/bin/terraform-provider-azurerm
...
```

In order to run the unit tests for the provider, you can run:
You can also cross-compile if necessary:

```sh
GOOS=windows GOARCH=amd64 make build
```

In order to run the Unit Tests for the provider, you can run:

```sh
$ make test
Expand All @@ -106,11 +106,7 @@ The following Environment Variables must be set in your shell prior to running a
- `ARM_ENVIRONMENT`
- `ARM_TEST_LOCATION`
- `ARM_TEST_LOCATION_ALT`
- `ARM_TEST_LOCATION_ALT2`

**Note:** Acceptance tests create real resources in Azure which often cost money to run.

Crosscompiling
--------------
```sh
GOOS=windows GOARCH=amd64 make build
```
Loading