From 85b23db846c92b5b0816fe95b72a3cf17690c546 Mon Sep 17 00:00:00 2001 From: Hadwa Gaber Date: Mon, 12 Jun 2023 15:57:23 -0700 Subject: [PATCH 1/7] update golint version --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 670798899..03813b91b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,7 +57,7 @@ jobs: ref: ${{ github.event.inputs.branch }} - name: install golangci-lint binary run: | - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ./bin v1.31.0 + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ./bin v1.53.2 - name: lint modules/azure folder id: azure_module_lint run: | From 96a5a610f505a1c1a498478072f2af918e1de3d9 Mon Sep 17 00:00:00 2001 From: Hadwa Gaber Date: Mon, 12 Jun 2023 16:31:49 -0700 Subject: [PATCH 2/7] remove logs in azure region module --- modules/azure/region.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/azure/region.go b/modules/azure/region.go index e36733531..c478beeb2 100644 --- a/modules/azure/region.go +++ b/modules/azure/region.go @@ -4,7 +4,6 @@ import ( "context" "github.com/gruntwork-io/terratest/modules/collections" - "github.com/gruntwork-io/terratest/modules/logger" "github.com/gruntwork-io/terratest/modules/random" "github.com/gruntwork-io/terratest/modules/testing" ) @@ -115,7 +114,6 @@ func GetRandomRegionE(t testing.TestingT, approvedRegions []string, forbiddenReg regionsToPickFrom = collections.ListSubtract(regionsToPickFrom, forbiddenRegions) region := random.RandomString(regionsToPickFrom) - logger.Logf(t, "Using region %s", region) return region, nil } @@ -138,7 +136,6 @@ func GetAllAzureRegions(t testing.TestingT, subscriptionID string) []string { // GetAllAzureRegionsE gets the list of Azure regions available in this subscription func GetAllAzureRegionsE(t testing.TestingT, subscriptionID string) ([]string, error) { - logger.Log(t, "Looking up all Azure regions available in this account") // Validate Azure subscription ID subscriptionID, err := getTargetAzureSubscription(subscriptionID) From 72743e0c3b37b3f394521b551b789315faf99f6a Mon Sep 17 00:00:00 2001 From: Hadwa Gaber Date: Mon, 12 Jun 2023 17:54:12 -0700 Subject: [PATCH 3/7] update aks sample output to set sensitive = true --- examples/azure/terraform-azure-aks-example/output.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/azure/terraform-azure-aks-example/output.tf b/examples/azure/terraform-azure-aks-example/output.tf index a06b6ca89..d60b63863 100644 --- a/examples/azure/terraform-azure-aks-example/output.tf +++ b/examples/azure/terraform-azure-aks-example/output.tf @@ -4,18 +4,22 @@ output "client_key" { output "client_certificate" { value = azurerm_kubernetes_cluster.k8s.kube_config.0.client_certificate + sensitive = true } output "cluster_ca_certificate" { value = azurerm_kubernetes_cluster.k8s.kube_config.0.cluster_ca_certificate + sensitive = true } output "cluster_username" { value = azurerm_kubernetes_cluster.k8s.kube_config.0.username + sensitive = true } output "cluster_password" { value = azurerm_kubernetes_cluster.k8s.kube_config.0.password + sensitive = true } output "kube_config" { @@ -25,4 +29,5 @@ output "kube_config" { output "host" { value = azurerm_kubernetes_cluster.k8s.kube_config.0.host + sensitive = true } \ No newline at end of file From edd650f032566d28d44050c5ffc9e482458fa05b Mon Sep 17 00:00:00 2001 From: Hadwa Gaber Date: Mon, 12 Jun 2023 22:38:41 -0700 Subject: [PATCH 4/7] fix format --- examples/azure/terraform-azure-aks-example/output.tf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/azure/terraform-azure-aks-example/output.tf b/examples/azure/terraform-azure-aks-example/output.tf index d60b63863..2bd5b736e 100644 --- a/examples/azure/terraform-azure-aks-example/output.tf +++ b/examples/azure/terraform-azure-aks-example/output.tf @@ -3,22 +3,22 @@ output "client_key" { } output "client_certificate" { - value = azurerm_kubernetes_cluster.k8s.kube_config.0.client_certificate + value = azurerm_kubernetes_cluster.k8s.kube_config.0.client_certificate sensitive = true } output "cluster_ca_certificate" { - value = azurerm_kubernetes_cluster.k8s.kube_config.0.cluster_ca_certificate + value = azurerm_kubernetes_cluster.k8s.kube_config.0.cluster_ca_certificate sensitive = true } output "cluster_username" { - value = azurerm_kubernetes_cluster.k8s.kube_config.0.username + value = azurerm_kubernetes_cluster.k8s.kube_config.0.username sensitive = true } output "cluster_password" { - value = azurerm_kubernetes_cluster.k8s.kube_config.0.password + value = azurerm_kubernetes_cluster.k8s.kube_config.0.password sensitive = true } @@ -28,6 +28,6 @@ output "kube_config" { } output "host" { - value = azurerm_kubernetes_cluster.k8s.kube_config.0.host + value = azurerm_kubernetes_cluster.k8s.kube_config.0.host sensitive = true } \ No newline at end of file From 922f494b47607651d17fd3e0733c5b02daf862fe Mon Sep 17 00:00:00 2001 From: Hadwa Gaber Date: Mon, 12 Jun 2023 22:46:29 -0700 Subject: [PATCH 5/7] update test certificate --- .../example.pfx | Bin 2742 -> 2017 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/examples/azure/terraform-azure-keyvault-example/example.pfx b/examples/azure/terraform-azure-keyvault-example/example.pfx index f6bbd489d70d5e1a974de570bc00282218ce8f53..8a56fef9493bde3e90c2203f5decb0cc92c94983 100755 GIT binary patch literal 2017 zcmaJ?$*!YF5WMphb4M+}U}Fw_DE6(`7sJiq0&Fmw+056EU(aZ!^+uXHl~Ng5Q6WX- zj~}1IONwUwAxK`J$(jHH>8tnygPJCHyC48&F2Sntpwz;+Zle>5&-0qfMXKr>dh5=U z7uHoIR48fYYVf_w*e}Oz{71!TIt9iNndhjFq z{VzeW-xTFPf{JCSIY9h0l%4Ro^T0IwBQf8OxmAOnYmvuBQJwF>8od2}5U{L2chY*8 zG`XR`jE*j+_g9@{#8#uqLj;Ii89f3ov=l{_lurtG5iMTO2eDp}wy+pc+f@cqgIrC= z2#*L?1wok})%Fs@hsd>Z1}~LjbLr-VTUwxM1-fq%?Y+3tmAoQsb3N;z5(rLWQ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flHlRba(lrSS`(&YiqQ)b(! zTFKFCVa^soHRFqKY1n}fp)? Date: Tue, 13 Jun 2023 13:47:37 -0700 Subject: [PATCH 6/7] update certificate --- .../example.pfx | Bin 2017 -> 2614 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/examples/azure/terraform-azure-keyvault-example/example.pfx b/examples/azure/terraform-azure-keyvault-example/example.pfx index 8a56fef9493bde3e90c2203f5decb0cc92c94983..604588e7acc06192fd263f225d572312d437e4a7 100755 GIT binary patch literal 2614 zcmZXUc{mj67sqGJ7)y3zCu<}7Fh*lgrV$aE?%1M{$)26;TTN&}Ojn^SBV-L@-*W9) zvP8BdTS$l~LYCjubAR_fzvuV7&w1Z-KHqcB`~LGDIEht_0SJPVSk@sd@-Y`aGGvj!M{p8&A1(@E{V%3B z=KwRyakhX~e!5pMFfhFVlfV;ZlT;09{g#x_==(*ok*#-&B*UkmnKJ`!@0g_=HG~acJPcD51({tC8 zdr_cqN`xgDTkiQhxiLHu_ilBxe~B}9VW}SvVw)BvsL5T$zChOqr(^6TlDB(MKaF(? z)4Pt|+|d2xpU58DPO+02Ed1&3A?)2l|@#9MO3B9F3h9 z;~XGtQoYW!qZGe4&|Dh&&zXut+i}-}UA?^Y(;x5Uifr||gv>l`ONZI-sNaMeZ}|8a z5cn2?0zGUDg1{MprEy}()H{vCzDPHtn!M^|?S~6PTw8pI55|6P!8z(}xAf*y+On8! z>qD;_yB*dhNki4@AA-#;F54l}vIUAvEyI1Ba2R$}+a=Aw-ljiW*jKBjL99^Y-bvWA zTvFj$Y4xJ=IFTVOiBv3+XK;q_1$@bsr_9sV}%jux{HlLlAg#PTZYUwmCR|1yw z9UTfTcEW#89A@Uze7AN`40{_lyE#^v2%DSlZsvh`UnVLqxN3gNRzJ%g{08OGJmgc} zgS>XFj9SE$zl>7N=x@)@p$sO7x4QbO-5*!3eEbqn11su?eYc!&vNiqBL4uZGbDW~# zn|oIZglFSd4IA6lBSHR@gZRxG#?CiRxw%d~4!&?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_FI>C-+=_#C88t=xI?8W=buQcB`LjH+2V)$ydw1typ(w4M~?t0-_}ps+6(&Sav!^m+)=zb_+C1)S%$#u9Cg*Lp7GB$ z9t(Ft^}B?0b!NrqqUalUb!;;;^7;u5rgUqt*$eqww4iOe-oj>i2WesYAIHhnbD>+5 z6?Xzw;RT1IH0zSg5zTkn5DQ?3I?|B72c%#yQ`^Et=aWOyR5|)Qa4_ zdu`GKN`-#g-s73b$!e={8uucMSoG8@S~4SvEku5)lI2`q4HqP$Xa~MEWj>7S#D2F& z^m5ct#_ux0d7VS`-tfo}CMF`4AR<2#qLQ^H*KKm&Tb>g2~;_Vqy(>)eDVLS>g_ zo-`l=xAdI1hN%QIn00^Tcvy|(?#{GejCR2d+T@a4OGFC1uWJ740k63TZ|O5SCXR*r dllEEEe1gg6Xgwf{uE5Wq*sp~xS>k_}_@9T|i}U~h From 143565f2ca41c1990cebad476cf517a988a8f0dc Mon Sep 17 00:00:00 2001 From: Hadwa Gaber Date: Thu, 15 Jun 2023 14:47:25 -0700 Subject: [PATCH 7/7] update azure keyvault example --- .../example.pfx | Bin 2614 -> 2614 bytes .../terraform-azure-keyvault-example/main.tf | 50 +++++++++--------- 2 files changed, 26 insertions(+), 24 deletions(-) diff --git a/examples/azure/terraform-azure-keyvault-example/example.pfx b/examples/azure/terraform-azure-keyvault-example/example.pfx index 604588e7acc06192fd263f225d572312d437e4a7..1a2ce7593506b6add3c3082eb1f75297ed4b2b49 100755 GIT binary patch delta 2355 zcmV-33C#Ak6t)zQXn$hK*SPpT7-|9n2haq91lVZRV#a!4_&;Qn0k0wu)LQ&fHrv$H zm%b!NvoO1o`8l^H=`_Fm-$5#>tWrDv=lvrz`iIs1eM53XUI)*J7cFNs<-NqAq}9=4 zO4(KlGG#L4;MQGXJ$z&ca101YEdT5B`FB|yt`gd(!HJ|qkAEV@agU{&WL_J1O?%QV{F+8DnNdh3^@wzP{dk4TeV@#bc*k5a`Y3h?rnfe#X4EaArOB-JIwL^C?Mhd`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YXZ6et4#kgf(eD@G z&g%cKCKd&0h~yIt2rxS^A20_71uG5%0vZGq*%2E!`t5N+s7-PGut1M{|7wt91Qh-F ZD;uC8RkEM_*Lx<6L#TpH^^*bu2hj9wX$=4X diff --git a/examples/azure/terraform-azure-keyvault-example/main.tf b/examples/azure/terraform-azure-keyvault-example/main.tf index b73f2bd54..ed36d1163 100644 --- a/examples/azure/terraform-azure-keyvault-example/main.tf +++ b/examples/azure/terraform-azure-keyvault-example/main.tf @@ -6,7 +6,7 @@ # --------------------------------------------------------------------------------------------------------------------- provider "azurerm" { - version = "~>2.20" + version = "~>3.0" features { key_vault { purge_soft_delete_on_destroy = false @@ -70,35 +70,37 @@ resource "azurerm_key_vault" "key_vault" { object_id = data.azurerm_client_config.current.object_id key_permissions = [ - "create", - "get", - "list", - "delete", - "purge", + "Create", + "Get", + "List", + "Delete", + "Purge", + "SetRotationPolicy", + "GetRotationPolicy" ] secret_permissions = [ - "set", - "get", - "list", - "delete", - "purge", + "Set", + "Get", + "List", + "Delete", + "Purge", ] certificate_permissions = [ - "create", - "delete", - "deleteissuers", - "get", - "getissuers", - "import", - "list", - "listissuers", - "managecontacts", - "manageissuers", - "setissuers", - "update", - "purge", + "Create", + "Delete", + "DeleteIssuers", + "Get", + "GetIssuers", + "Import", + "List", + "ListIssuers", + "ManageContacts", + "ManageIssuers", + "SetIssuers", + "Update", + "Purge", ] } }