Граф коммитов

309 Коммитов

Автор SHA1 Сообщение Дата
zjhe f4a34be89f turn off `terraform_sensitive_variable_no_default` for now. 2022-11-11 20:48:03 +08:00
zjhe f430640224 Change KeyVault properties, move `provider` block to `providers.tf` file
Remove hardcoded `admin_password` in example, add `sensitive = true` to `admin_password`.
2022-11-11 20:35:55 +08:00
zjhe d675f0a17a Add MSI_ID to version upgrade test. 2022-11-11 16:38:16 +08:00
zjhe 6136adfc54 Leave CHANGELOG.md to auto changelog updater to generate. 2022-11-11 16:31:58 +08:00
zjhe 68f0d3691d Rollback module code, we won't change module code in this release. 2022-11-11 16:30:52 +08:00
zjhe e0fad5dbb3 upgrade github action ci files 2022-11-11 14:11:25 +08:00
zjhe acaba7d736 refactor code to pass pr-check 2022-11-02 22:25:10 +08:00
zjhe 926d0025d3 add CHANGELOG, update readme 2022-11-02 08:42:36 +08:00
zjhe 2df690864e add github action files. fix acc tests 2022-11-01 18:14:29 +08:00
hezijie d706a2390b ci, half way 2022-10-20 15:51:05 +08:00
microsoft-github-policy-service[bot] 484fdb9c06
Microsoft mandatory file (#181)
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
2022-10-09 18:01:38 +08:00
Yuping Wei ce71f7e503
Add variable `delete_data_disks_on_termination` (#170)
* update

* update

* update

* update

* update

* update

Co-authored-by: root <root@ubuntu-wyp.4smfdm3ngeyufpdz0muw5zebpc.bx.internal.cloudapp.net>
2021-05-24 16:32:30 +08:00
Stef Graces 97dc8ac6aa
Fixed deprecated list method (#168)
* Fixed deprecated list method

In terraform >= 0.15.0, the deprecated list method is removed. This causes the module to stop working on newer versions. List method has been changed to tolist method.

For more information see:
- https://www.terraform.io/docs/language/functions/tolist.html
- https://github.com/hashicorp/terraform/blob/v0.15/CHANGELOG.md#0150-april-14-2021

* Change BUILD_TERRAFORM_VERSION in Dockerfile to 0.14.4
2021-05-20 10:36:18 +08:00
Yuping Wei 01fee360c6
Fix fixture test (#165)
* update

* update

* update

* update

* update

Co-authored-by: root <root@ubuntu-wyp.4smfdm3ngeyufpdz0muw5zebpc.bx.internal.cloudapp.net>
2021-04-29 16:16:07 +08:00
Yuping Wei c130793fb6
Fix fixture test (#163)
* update

* update

* update

* update

* update

* update

* update

Co-authored-by: root <root@ubuntu-wyp.4smfdm3ngeyufpdz0muw5zebpc.bx.internal.cloudapp.net>
2021-03-08 09:55:42 +08:00
Jiri Tyr f54ab6e8fe
Allow to make ssh_key optional (#162)
* Allow to make ssh_key optional

* Update main.tf

Co-authored-by: Yuping Wei <56525716+yupwei68@users.noreply.github.com>
2021-03-04 15:04:25 +08:00
Ali Allomani 1c6986bf14
support raw value for ssh keys in addition to paths (#159)
* support raw value for ssh keys in addion to paths

* support raw value for ssh keys in addion to paths

* moved ssh key type check to linux vm resource

* moving ssh value to a new variable

* tf fmt

* Update README.md

change name to `ssh_key_values`

* Update main.tf

* Update main.tf

* Update variables.tf

* Update README.md

format

Co-authored-by: Yuping Wei <56525716+yupwei68@users.noreply.github.com>
2020-12-15 13:17:02 +08:00
Yuping Wei 08cf99e2a7
Docker fix (#158)
* update

* update

* update

* update

* update

* update

Co-authored-by: root <root@ubuntu-wyp.4smfdm3ngeyufpdz0muw5zebpc.bx.internal.cloudapp.net>
2020-12-14 15:30:38 +08:00
juan-acevedo-ntt c6987b39af
Adding support for the 'extra_disks' parameter (#152)
* Adding support for the 'extra_disks' parameter
* Adding a new parameter 'extra_disks' to add custom size data disks
* updated README.md
* updated main.tf
*	updated variables.tf
* tested on TF v0.13.5

* Test added for extra_disks and format fixed

* Update README.md

* Fix typo in variables.tf

* Update variables.tf

Co-authored-by: Yuping Wei <56525716+yupwei68@users.noreply.github.com>
2020-12-02 15:29:11 +08:00
Yuping Wei 3032f5e061
Integration of Terramodtest 0.8.0 (#157)
* update

* update

* update

* update

* remove useless

* update

* update

* update

* update

* update

* update

* update

Co-authored-by: root <root@ubuntu-wyp.4smfdm3ngeyufpdz0muw5zebpc.bx.internal.cloudapp.net>
2020-12-01 11:00:11 +08:00
Ali Allomani a4358f056a
support os_profile_secrets (#150)
* support os_profile_secrets

* os secrets test with keyvault

* terraform fmt

* fixed keyvault test

* fixed keyvault test

* vault test corrections

* vault test location correction

* updated README

* test os_profile_secrets for linux, terraform fmt

* Updated README

* updated os_profile_secrets variable description

Co-authored-by: Yuping Wei <56525716+yupwei68@users.noreply.github.com>
2020-11-26 15:35:07 +08:00
Yuping Wei 9afddd7c31
Create pull_request_template.md (#156)
* Create pull_request_template.md

* Update pull_request_template.md

* Update pull_request_template.md

* Update pull_request_template.md

* Update pull_request_template.md
2020-11-25 15:26:45 +08:00
Yuping Wei f38e05f2cd
update (#154) 2020-11-23 17:20:05 +08:00
Ali Allomani 869704f278
support defining sku for public ip (#151)
* support defining sku for public ip

* added test in fixture and updated README
2020-11-20 10:25:45 +08:00
Aaldert van Wijk 87302ac405
support multiple ssh keys (#147)
* Support multiple ssh keys

* Create extra variable extra_ssh_keys to keep ssh_key unchanged

* Update documentation with usage examples

* Update test fixture to deploy one extra ssh key

* concat instead of merge
2020-11-19 17:20:15 +08:00
CrowderKroger 640ce1f599
#59 Adding support for the license_type parameter (#144)
* Adding support for the license_type parameter

* Updated conditional

* Ran terraform fmt

* Adding NL at EOF for variables.tf

* Changed per @yupwei68
2020-09-29 09:59:15 +08:00
CrowderKroger 4f581a6efe
GH142 Adding support for identities (#143)
* GH142 Adding support for identities

rebase me

* Second dynamic block

* NL at EOF for vars

* Adding types per tf 0.13.x

* Ran terraform fmt

* Updated README, outputs, tests

* Added support for identity principal id output

* Removed dup output

* Add variable `identity_type` and `identity_ids`

* Update outputs.tf

* Update outputs.tf

* Update main.tf

* Update main.tf

* Update outputs.tf

Co-authored-by: Yuping Wei <56525716+yupwei68@users.noreply.github.com>
2020-09-10 12:11:19 +08:00
Yuping Wei 0d48bb47d1
Terraform 0.13 upgrade (#140)
* update

* update

* update
2020-09-07 16:47:22 +08:00
Yuping Wei 93d9750857
update (#139) 2020-08-04 16:56:07 +08:00
rginev c068a84524
Conditionally create nsg security rule | Parametrise source IP ranges (#137)
* Conditionally create nsg security rule | Source IP ranges is a variable

* Update variables.tf

* Update main.tf

Co-authored-by: Rumen Ginev <rumen.ginev@innoveo.com>
Co-authored-by: Yuping Wei <56525716+yupwei68@users.noreply.github.com>
2020-07-24 10:42:49 +08:00
Brad Nissen 64fbadd7f1
editing descriptions in variable.tf file (#114)
Co-authored-by: Yuping Wei <56525716+yupwei68@users.noreply.github.com>
2020-07-21 16:45:26 +08:00
Yuping Wei f88f65204f
Allow custom location and fix issues (#135) 2020-06-18 17:17:41 +08:00
Stanislaw Bugalski 512b5dbfe9
set public_ip_dns default variable to null (#132) 2020-04-27 10:32:55 +08:00
Yuping Wei a146787f2f
Fix CI test #130 2020-04-10 20:33:56 +08:00
Yuping Wei 9137d74883
Integration of terramodtest 0.5.0 (#127) 2020-04-05 16:22:35 +08:00
Yuping Wei 80cab6f464
Removal of resource group & azurerm 2.0 (#124) 2020-03-16 10:53:33 +08:00
Yuping Wei 995219821c
upgrade to Terraform v0.12 (#122)
* upgrade to v0.12

* add comment for test

* add comment for test

* remove useless test code

* change bool type

* remove useless import

* add os back
2020-01-10 11:15:24 +08:00
Michael Bawiec 97f2eccc99 Move Security Group Rule to Dedicated Resource (#105)
* Move security group rule to use azurerm_network_security_rule resource so that additional rules can be applied

* apply terraform fmt

* fix typo :)

Co-authored-by: Yuping Wei <56525716+yupwei68@users.noreply.github.com>
2019-12-27 15:58:48 +08:00
Xyon fb014dd1f1 Update module dependency on Random to allow use in Terraform 0.12.3 (#108) 2019-07-08 15:27:15 -07:00
Strix 1046ed6e81 bumb os version (#94)
added new version strings for CentOS and RHEL
2019-04-03 16:11:33 -07:00
Alex Bevan dbe0daaf42 updated var and readme for windows vm example (#96) 2019-04-02 17:46:46 -07:00
Mikael d9a2e38e88 add enable_accelerated_networking property and variable for Network Interface (#78)
* add enable_accelerated_networking property and variable for  network interface

* improve indentation
add test

* Fix the indention issue.

* Remove unnecessary empty lines in tfvars.

* Fix linting error caused by a typo.
2019-01-15 17:41:57 -08:00
Neil Dahlke ee583a905a Adding custom data field (Issue #65) to Linux OS profiles. (#85)
* Adding custom data field (Issue #65) to Linux OS profiles for
initialization.

* Formatting variables file.

* Formatting fixture variables as well.

* Adding newline to end of `.tfvars` file.
2019-01-07 16:07:45 -08:00
zunlihu a1ea390b73 Configure files for terraformbot (#82)
* Create CODEOWNERS

* Create autoAssignees.yml

* Create labeler.yml

* Update CODEOWNERS
2018-11-04 13:24:50 -08:00
Xyon e9b43630cf Provision vm agents for Windows machines (#72) 2018-10-01 16:20:17 -07:00
Sam Merrell c391e10c62 Tag all resources ceated by the module (#69) 2018-10-01 15:55:28 -07:00
Xyon ca710c6641 Don't assume WindowsServer is the only Windows offer, and short-circuit to true if 'is_windows_image' is supplied (#73) 2018-10-01 15:50:52 -07:00
Marc Lambrichs 0f20dbd054 Bump azurerm provider to 1.1.0 (#74) 2018-09-11 23:35:28 -07:00
zunlihu 1de5212e16 Add bug_report template (#77)
* Create bug_report.md

* Create feature_request.md

* Create bug_report template

* Delete bug_report in root
2018-09-07 13:59:37 -07:00
zunlihu 10aacff5d6 Zunlihu issue template (#75)
Add .github for issue and feature request templates.
2018-09-06 21:19:39 -07:00