File tree Expand file tree Collapse file tree 3 files changed +23
-561
lines changed
src/TemplateRefGenerator.Tests/Files/markdown/microsoft.documentdb/2024-05-15 Expand file tree Collapse file tree 3 files changed +23
-561
lines changed Original file line number Diff line number Diff line change @@ -59,10 +59,19 @@ function GetAvmLinks {
59
59
$bicepModules = ConvertFrom-Csv (Invoke-WebRequest - Uri $bicepLinks ).Content
60
60
$tfModules = ConvertFrom-Csv (Invoke-WebRequest - Uri $tfLinks ).Content
61
61
62
+ $availableStatuses = @ (
63
+ " Available :green_circle:" ,
64
+ " Orphaned :eyes:"
65
+ )
66
+
62
67
$links = @ ()
63
68
foreach ($bicepModule in $bicepModules ) {
64
69
Write-Host " Processing $ ( $bicepModule.RepoURL ) "
65
70
71
+ if ($bicepModule.ModuleStatus -notin $availableStatuses ) {
72
+ continue
73
+ }
74
+
66
75
$links += [ordered ]@ {
67
76
Type = " Bicep" ;
68
77
Title = $bicepModule.ModuleDisplayName ;
@@ -74,6 +83,10 @@ function GetAvmLinks {
74
83
foreach ($tfModule in $tfModules ) {
75
84
Write-Host " Processing $ ( $tfModule.RepoURL ) "
76
85
86
+ if ($tfModule.ModuleStatus -notin $availableStatuses ) {
87
+ continue
88
+ }
89
+
77
90
$links += [ordered ]@ {
78
91
Type = " Terraform" ;
79
92
Title = $tfModule.ModuleDisplayName ;
You can’t perform that action at this time.
0 commit comments