Skip to content

Commit

Permalink
Fix/meta parent templates email condition (#1611)
Browse files Browse the repository at this point in the history
* fix: email in aws_meta_parent.pt.template

* fix: email in azure_meta_parent.pt.template

* fix: email in google_meta_parent.pt.template
  • Loading branch information
bryankaraffa authored Nov 7, 2023
1 parent 32b213b commit 6380fe4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ datasource "ds_published_child_policy_information" do
result do
encoding "json"
# Select the published policy that is published by "[email protected]" and matches the name of the child policy template
collect jq(response, '.items[] | select(.name == "__PLACEHOLDER_FOR_CHILD_POLICY_NAME__" and .created_by.email == "BKaraffa@flexera.com")' ) do
collect jq(response, '.items[] | select(.name == "__PLACEHOLDER_FOR_CHILD_POLICY_NAME__" and .created_by.email == "support@flexera.com")' ) do
field "name", jmes_path(col_item, "name")
field "href", jmes_path(col_item, "href")
field "short_description", jmes_path(col_item, "short_description")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ datasource "ds_published_child_policy_information" do
result do
encoding "json"
# Select the published policy that is published by "[email protected]" and matches the name of the child policy template
collect jq(response, '.items[] | select(.name == "__PLACEHOLDER_FOR_CHILD_POLICY_NAME__" and .created_by.email == "BKaraffa@flexera.com")' ) do
collect jq(response, '.items[] | select(.name == "__PLACEHOLDER_FOR_CHILD_POLICY_NAME__" and .created_by.email == "support@flexera.com")' ) do
field "name", jmes_path(col_item, "name")
field "href", jmes_path(col_item, "href")
field "short_description", jmes_path(col_item, "short_description")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ datasource "ds_published_child_policy_information" do
result do
encoding "json"
# Select the published policy that is published by "[email protected]" and matches the name of the child policy template
collect jq(response, '.items[] | select(.name == "__PLACEHOLDER_FOR_CHILD_POLICY_NAME__" and .created_by.email == "BKaraffa@flexera.com")' ) do
collect jq(response, '.items[] | select(.name == "__PLACEHOLDER_FOR_CHILD_POLICY_NAME__" and .created_by.email == "support@flexera.com")' ) do
field "name", jmes_path(col_item, "name")
field "href", jmes_path(col_item, "href")
field "short_description", jmes_path(col_item, "short_description")
Expand Down

0 comments on commit 6380fe4

Please sign in to comment.