From a309b03bdab1fed87dc062a0bcdb4e4e075436ed Mon Sep 17 00:00:00 2001 From: Kyle Rockman Date: Tue, 5 Nov 2024 17:29:29 -0600 Subject: [PATCH 01/10] Sales Sandbox WIP --- modules/demo_account/rubric_gold.tf | 15 ++++++++++++++- modules/demo_account/services_order_management.tf | 7 +++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/modules/demo_account/rubric_gold.tf b/modules/demo_account/rubric_gold.tf index ed89e1c..1155381 100644 --- a/modules/demo_account/rubric_gold.tf +++ b/modules/demo_account/rubric_gold.tf @@ -72,4 +72,17 @@ module "has_deployed_this_sprint" { days = 14 } -# No Medium Vulns - security \ No newline at end of file +# No Medium Vulns - security +# module "no_critical_vulns" { +# source = "../check/package_version" +# +# name = "No Critical Vulnerabilities" +# category = opslevel_rubric_category.all["security"].id +# level = opslevel_rubric_level.all["gold"].id +# owner = module.internal-tools-team.this.id +# enabled = true +# +# missing_package_result = "pass" +# +# severity = "medium" +# } \ No newline at end of file diff --git a/modules/demo_account/services_order_management.tf b/modules/demo_account/services_order_management.tf index 097c178..e355846 100644 --- a/modules/demo_account/services_order_management.tf +++ b/modules/demo_account/services_order_management.tf @@ -27,6 +27,13 @@ module "shopping-cart" { properties = local.properties } +resource "opslevel_alias" "shopping-cart" { + resource_type = "service" + resource_identifier = "shopping-cart" + + aliases = ["suez", "panana", "gibraltar"] +} + resource "terraform_data" "shopping-cart-deploys" { depends_on = [module.deploys] From 55b93c3e94eb0a6fa155d246a39a401bd6a6ef6d Mon Sep 17 00:00:00 2001 From: Kyle Rockman Date: Wed, 6 Nov 2024 10:09:57 -0600 Subject: [PATCH 02/10] WIP for sandbox trials --- Taskfile.yml | 14 +++++++ clear_account.sh | 70 +++++++++++++++++++++++++++++++ modules/demo_account/actions.tf | 29 +++++++++++++ modules/demo_account/users.tf | 7 ++++ modules/demo_account/variables.tf | 12 ++++++ modules/versions.tf | 2 +- workspace/main.tf | 4 +- workspace/versions.tf | 4 +- 8 files changed, 137 insertions(+), 5 deletions(-) create mode 100755 clear_account.sh create mode 100644 modules/demo_account/actions.tf diff --git a/Taskfile.yml b/Taskfile.yml index e9b71e5..070970a 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -35,6 +35,20 @@ tasks: - task: terraform-command vars: { TF_COMMAND: 'apply', TF_CMD_DIR: "{{.USER_WORKING_DIR}}" } + apply-demo: + desc: Run "terraform apply" to generate a demo account + requires: + vars: [PAYLOAD] + env: + OPSLEVEL_API_TOKEN: + sh: echo "$PAYLOAD" | jq -r '.api_token' + TF_VAR_USER_EMAIL: + sh: echo "$PAYLOAD" | jq -r '.user_email' + cmds: + - task: init + - task: terraform-command + vars: { TF_COMMAND: 'apply', TF_CMD_DIR: "./demo" } + destroy: desc: Run "terraform destroy" in "{{.USER_WORKING_DIR}}" requires: diff --git a/clear_account.sh b/clear_account.sh new file mode 100755 index 0000000..f337197 --- /dev/null +++ b/clear_account.sh @@ -0,0 +1,70 @@ +#!/usr/bin/env bash + +echo "[opslevel] Deleting Services..." +services=$(opslevel list services -o json) +echo "$services" | jq -r '.[] | .id' | while read -r id; do + opslevel delete service "$id" +done + +echo "[opslevel] Deleting Systems..." +systems=$(opslevel list systems -o json) +echo "$systems" | jq -r '.[] | .Id' | while read -r id; do + opslevel delete system "$id" +done + +echo "[opslevel] Deleting Domains..." +domains=$(opslevel list domains -o json) +echo "$domains" | jq -r '.[] | .Id' | while read -r id; do + opslevel delete domain "$id" +done + +echo "[opslevel] Deleting Infra..." +infra=$(opslevel list infra -o json) +echo "$infra" | jq -r '.[] | .id' | while read -r id; do + opslevel delete infra "$id" +done + +echo "[opslevel] Deleting Teams (errors may occur that is ok)..." +while true; do + teams=$(opslevel list teams -o json) + count=$(echo "$teams" | jq '. | length') + if [ "$count" -eq 0 ]; then + echo "[opslevel] All teams deleted." + break + fi + echo "$teams" | jq -r '.[] | .Id' | while read -r id; do + opslevel delete team "$id" + done + + sleep 2 +done + +echo "[opslevel] Deleting Users..." +users=$(opslevel list users -o json) +echo "$users" | jq -r '.[] | select(.Email | test("@example.com$")) | .Email' | while read -r id; do + opslevel delete user "$id" +done + +echo "[opslevel] Deleting Checks..." +checks=$(opslevel list checks -o json) +echo "$checks" | jq -r '.[] | .Id' | while read -r id; do + opslevel delete check "$id" +done + +echo "[opslevel] Deleting Rubric..." +categories=$(opslevel list category -o json) +echo "$categories" | jq -r '.[] | .id' | while read -r id; do + opslevel delete category "$id" +done +levels=$(opslevel list level -o json) +echo "$levels" | jq -r '.[] | select(.Index != 0) | .id' | while read -r id; do + opslevel delete level "$id" +done + +echo "[opslevel] Deleting Integrations..." +integrations=$(opslevel list integrations -o json) +echo "$integrations" | jq -r '.[] | .id' | while read -r id; do + opslevel delete integration "$id" +done + +echo "[opslevel] Clear Account Complete." \ No newline at end of file diff --git a/modules/demo_account/actions.tf b/modules/demo_account/actions.tf new file mode 100644 index 0000000..64b608b --- /dev/null +++ b/modules/demo_account/actions.tf @@ -0,0 +1,29 @@ +resource "opslevel_webhook_action" "security_scan" { + name = "Security Scan" + description = "Runs a security scan for the service" + url = "https://app.opslevel.com/upload/documents/sbom/{{service.id}}" + method = "POST" + headers = { + content-type = "application/json" + authorization = "Bearer ${var.account_token}" + } + payload = "${local.sbom_bad}" +} + +resource "opslevel_trigger_definition" "example" { + name = "Security Scan" + description = "Runs a security scan for the service" + owner = module.internal-tools-team.this.id + action = opslevel_webhook_action.security_scan.id + access_control = "everyone" + response_template = <= 200 and response.status < 300 %} +## Congratulations! +Your request for {{ service.name }} has succeeded. See the incident here: {{response.body.incident.html_url}} +{% else %} +## Oops something went wrong! +Please contact [{{ action_owner.name }}]({{ action_owner.href }}) for more help. +{% endif %} + EOT + published = true +} \ No newline at end of file diff --git a/modules/demo_account/users.tf b/modules/demo_account/users.tf index 8fe0621..cdfd3cb 100644 --- a/modules/demo_account/users.tf +++ b/modules/demo_account/users.tf @@ -22,3 +22,10 @@ module "people" { name = each.value.name email = each.value.email } + +resource "opslevel_user" "user" { + for_each = var.account_users + + name = each.value + email = each.value +} \ No newline at end of file diff --git a/modules/demo_account/variables.tf b/modules/demo_account/variables.tf index 62be7bf..ccd055e 100644 --- a/modules/demo_account/variables.tf +++ b/modules/demo_account/variables.tf @@ -1,8 +1,20 @@ +variable "account_token" { + description = "The token for the account." + type = string + sensitive = true +} + variable "account_name" { description = "The name of the account, used to create unique identifiers where needed." type = string } +variable "account_users" { + description = "The email addresses of the users to invite to this demo account." + type = list(string) + default = [] +} + resource "random_id" "account" { keepers = { # Generate a new id each time we switch diff --git a/modules/versions.tf b/modules/versions.tf index d169dc2..6c75d99 100644 --- a/modules/versions.tf +++ b/modules/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.7" + required_version = ">= 1.9" required_providers { opslevel = { diff --git a/workspace/main.tf b/workspace/main.tf index a4c33b7..df27bfd 100644 --- a/workspace/main.tf +++ b/workspace/main.tf @@ -4,7 +4,7 @@ provider "opslevel" { module "account" { source = "../modules/demo_account" - # Uncomment the following line to set the account name - # account_name = "Demo Account" + account_token = "" + account_name = "Demo Account" #generate_services = 500 # Due note that due to API rate limits generating 500 services will take upwards of 10 mins and will significantly increase the time of future apply operations } \ No newline at end of file diff --git a/workspace/versions.tf b/workspace/versions.tf index b7afdb4..6f0bc2e 100644 --- a/workspace/versions.tf +++ b/workspace/versions.tf @@ -1,10 +1,10 @@ terraform { - required_version = ">= 1.7" + required_version = ">= 1.9" required_providers { opslevel = { source = "OpsLevel/opslevel" - version = "1.3.1" + version = "1.3.2" } } } From b59c2bdf3d71c761edcd7e9d638d7ef2e8b231a1 Mon Sep 17 00:00:00 2001 From: David Bloss Date: Tue, 12 Nov 2024 12:02:56 -0600 Subject: [PATCH 03/10] add factory-reset task, format fixes --- Taskfile.yml | 12 ++++++++++++ modules/demo_account/actions.tf | 16 ++++++++-------- .../demo_account/services_order_management.tf | 2 +- modules/demo_account/users.tf | 6 +++--- workspace/main.tf | 2 +- 5 files changed, 25 insertions(+), 13 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 070970a..e098273 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -58,6 +58,18 @@ tasks: - task: terraform-command vars: { TF_COMMAND: 'destroy', TF_CMD_DIR: "{{.USER_WORKING_DIR}}" } + factory-reset: + desc: Run "terraform destroy" in "{{.USER_WORKING_DIR}}" + requires: + vars: [OPSLEVEL_API_TOKEN] + vars: + ACCOUNT_NAME: + sh: opslevel graphql -q='query { account { name }}' | jq -r '.[0].account.name' + cmds: + - echo "Destroying all resources in account '{{.ACCOUNT_NAME}}'..." + - # ./clear_account.sh NOTE uncomment to use + prompt: "Are you sure you want to destroy all resources in account '{{.ACCOUNT_NAME}}'?" + init: internal: true desc: Run "terraform init -upgrade" in "{{.USER_WORKING_DIR}}" diff --git a/modules/demo_account/actions.tf b/modules/demo_account/actions.tf index 64b608b..cd4f792 100644 --- a/modules/demo_account/actions.tf +++ b/modules/demo_account/actions.tf @@ -7,16 +7,16 @@ resource "opslevel_webhook_action" "security_scan" { content-type = "application/json" authorization = "Bearer ${var.account_token}" } - payload = "${local.sbom_bad}" + payload = local.sbom_bad } resource "opslevel_trigger_definition" "example" { - name = "Security Scan" - description = "Runs a security scan for the service" - owner = module.internal-tools-team.this.id - action = opslevel_webhook_action.security_scan.id - access_control = "everyone" - response_template = <= 200 and response.status < 300 %} ## Congratulations! Your request for {{ service.name }} has succeeded. See the incident here: {{response.body.incident.html_url}} @@ -25,5 +25,5 @@ Your request for {{ service.name }} has succeeded. See the incident here: {{resp Please contact [{{ action_owner.name }}]({{ action_owner.href }}) for more help. {% endif %} EOT - published = true + published = true } \ No newline at end of file diff --git a/modules/demo_account/services_order_management.tf b/modules/demo_account/services_order_management.tf index e355846..c2bd8a8 100644 --- a/modules/demo_account/services_order_management.tf +++ b/modules/demo_account/services_order_management.tf @@ -28,7 +28,7 @@ module "shopping-cart" { } resource "opslevel_alias" "shopping-cart" { - resource_type = "service" + resource_type = "service" resource_identifier = "shopping-cart" aliases = ["suez", "panana", "gibraltar"] diff --git a/modules/demo_account/users.tf b/modules/demo_account/users.tf index cdfd3cb..0532851 100644 --- a/modules/demo_account/users.tf +++ b/modules/demo_account/users.tf @@ -24,8 +24,8 @@ module "people" { } resource "opslevel_user" "user" { - for_each = var.account_users + for_each = var.account_users - name = each.value - email = each.value + name = each.value + email = each.value } \ No newline at end of file diff --git a/workspace/main.tf b/workspace/main.tf index df27bfd..ffb29fc 100644 --- a/workspace/main.tf +++ b/workspace/main.tf @@ -5,6 +5,6 @@ module "account" { source = "../modules/demo_account" account_token = "" - account_name = "Demo Account" + account_name = "Demo Account" #generate_services = 500 # Due note that due to API rate limits generating 500 services will take upwards of 10 mins and will significantly increase the time of future apply operations } \ No newline at end of file From bb413a3b8674057fa94bdecdbd4a25531c9da423 Mon Sep 17 00:00:00 2001 From: David Bloss Date: Tue, 12 Nov 2024 12:23:57 -0600 Subject: [PATCH 04/10] undo change to workspace main --- workspace/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workspace/main.tf b/workspace/main.tf index ffb29fc..6313be1 100644 --- a/workspace/main.tf +++ b/workspace/main.tf @@ -4,7 +4,7 @@ provider "opslevel" { module "account" { source = "../modules/demo_account" - account_token = "" - account_name = "Demo Account" + # account_token = "" + # account_name = "Demo Account" #generate_services = 500 # Due note that due to API rate limits generating 500 services will take upwards of 10 mins and will significantly increase the time of future apply operations } \ No newline at end of file From 636ee25b004de0610b9ef7a0df9b429ea63755bc Mon Sep 17 00:00:00 2001 From: Kyle Rockman Date: Tue, 12 Nov 2024 12:37:19 -0600 Subject: [PATCH 05/10] get the demo workspace planning again --- Taskfile.yml | 12 +++++++----- modules/demo_account/actions.tf | 2 +- modules/demo_account/variables.tf | 2 +- workspace/versions.tf | 2 +- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index e098273..2979b05 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -37,17 +37,19 @@ tasks: apply-demo: desc: Run "terraform apply" to generate a demo account + dir: "./demo" requires: vars: [PAYLOAD] env: OPSLEVEL_API_TOKEN: sh: echo "$PAYLOAD" | jq -r '.api_token' - TF_VAR_USER_EMAIL: + TF_VAR_account_token: + sh: echo "$PAYLOAD" | jq -r '.api_token' + TF_VAR_user_email: sh: echo "$PAYLOAD" | jq -r '.user_email' cmds: - - task: init - - task: terraform-command - vars: { TF_COMMAND: 'apply', TF_CMD_DIR: "./demo" } + - "terraform init --upgrade" + - "terraform apply" destroy: desc: Run "terraform destroy" in "{{.USER_WORKING_DIR}}" @@ -75,7 +77,7 @@ tasks: desc: Run "terraform init -upgrade" in "{{.USER_WORKING_DIR}}" cmds: - task: terraform-command - vars: { TF_COMMAND: 'init --upgrade', TF_CMD_DIR: "{{.USER_WORKING_DIR}}" } + vars: { TF_COMMAND: 'init --upgrade', TF_CMD_DIR: "." } terraform-validate: internal: true diff --git a/modules/demo_account/actions.tf b/modules/demo_account/actions.tf index cd4f792..853427f 100644 --- a/modules/demo_account/actions.tf +++ b/modules/demo_account/actions.tf @@ -7,7 +7,7 @@ resource "opslevel_webhook_action" "security_scan" { content-type = "application/json" authorization = "Bearer ${var.account_token}" } - payload = local.sbom_bad + payload = local.sbom_minimal } resource "opslevel_trigger_definition" "example" { diff --git a/modules/demo_account/variables.tf b/modules/demo_account/variables.tf index ccd055e..3399d54 100644 --- a/modules/demo_account/variables.tf +++ b/modules/demo_account/variables.tf @@ -11,7 +11,7 @@ variable "account_name" { variable "account_users" { description = "The email addresses of the users to invite to this demo account." - type = list(string) + type = set(string) default = [] } diff --git a/workspace/versions.tf b/workspace/versions.tf index 6f0bc2e..1a44fa2 100644 --- a/workspace/versions.tf +++ b/workspace/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { opslevel = { source = "OpsLevel/opslevel" - version = "1.3.2" + version = "1.3.3" } } } From 671eaab295e6544a27204eee2780d2e1d665e6cb Mon Sep 17 00:00:00 2001 From: Kyle Rockman Date: Tue, 12 Nov 2024 12:48:10 -0600 Subject: [PATCH 06/10] more fixes --- modules/demo_account/services_order_management.tf | 2 +- modules/demo_account/users.tf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/demo_account/services_order_management.tf b/modules/demo_account/services_order_management.tf index c2bd8a8..6d282b3 100644 --- a/modules/demo_account/services_order_management.tf +++ b/modules/demo_account/services_order_management.tf @@ -29,7 +29,7 @@ module "shopping-cart" { resource "opslevel_alias" "shopping-cart" { resource_type = "service" - resource_identifier = "shopping-cart" + resource_identifier = module.shopping-cart.this.id aliases = ["suez", "panana", "gibraltar"] } diff --git a/modules/demo_account/users.tf b/modules/demo_account/users.tf index 0532851..d8ca24a 100644 --- a/modules/demo_account/users.tf +++ b/modules/demo_account/users.tf @@ -28,4 +28,5 @@ resource "opslevel_user" "user" { name = each.value email = each.value + role = "admin" } \ No newline at end of file From d4f38cb16ab59c07718919c483b0c9382cdbf362 Mon Sep 17 00:00:00 2001 From: Kyle Rockman Date: Tue, 12 Nov 2024 14:08:51 -0600 Subject: [PATCH 07/10] add a package version check --- modules/demo_account/rubric_gold.tf | 32 ++++++++++++++++------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/modules/demo_account/rubric_gold.tf b/modules/demo_account/rubric_gold.tf index 1155381..3c56bf7 100644 --- a/modules/demo_account/rubric_gold.tf +++ b/modules/demo_account/rubric_gold.tf @@ -72,17 +72,21 @@ module "has_deployed_this_sprint" { days = 14 } -# No Medium Vulns - security -# module "no_critical_vulns" { -# source = "../check/package_version" -# -# name = "No Critical Vulnerabilities" -# category = opslevel_rubric_category.all["security"].id -# level = opslevel_rubric_level.all["gold"].id -# owner = module.internal-tools-team.this.id -# enabled = true -# -# missing_package_result = "pass" -# -# severity = "medium" -# } \ No newline at end of file +module "github_check_package_version" { + source = "../check/package_version" + + name = "Uses Latest Github Actions Checkout" + category = opslevel_rubric_category.all["security"].id + level = opslevel_rubric_level.all["gold"].id + owner = module.internal-tools-team.this.id + enabled = true + + package_constraint = "matches_version" + package_manager = "github" + package_name = "actions/checkout" + missing_package_result = "passed" + version_constraint_predicate = { + type = "matches_regex" + value = "^v5.*" + } +} From 7c2cc4cc4459206405ce098c1e7e89c362aa4511 Mon Sep 17 00:00:00 2001 From: David Bloss Date: Tue, 12 Nov 2024 14:17:09 -0600 Subject: [PATCH 08/10] taskfile updates, fix formatting --- Taskfile.yml | 34 ++++++++++++----------------- modules/demo_account/rubric_gold.tf | 8 +++---- modules/demo_account/users.tf | 2 +- 3 files changed, 19 insertions(+), 25 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 2979b05..04c9051 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -18,26 +18,21 @@ tasks: - task: terraform-format-check plan: - desc: Run "terraform plan" in "{{.USER_WORKING_DIR}}" + desc: Run "terraform plan" in "{{.WORKSPACE_DIR}}" requires: vars: [OPSLEVEL_API_TOKEN] cmds: - - task: init - - task: terraform-command - vars: { TF_COMMAND: 'plan', TF_CMD_DIR: "{{.USER_WORKING_DIR}}" } + - task: init-and-plan apply: - desc: Run "terraform apply" in "{{.USER_WORKING_DIR}}" + desc: Run "terraform apply" in "{{.WORKSPACE_DIR}}" requires: vars: [OPSLEVEL_API_TOKEN] cmds: - - task: init - - task: terraform-command - vars: { TF_COMMAND: 'apply', TF_CMD_DIR: "{{.USER_WORKING_DIR}}" } + - task: init-and-apply apply-demo: desc: Run "terraform apply" to generate a demo account - dir: "./demo" requires: vars: [PAYLOAD] env: @@ -48,20 +43,17 @@ tasks: TF_VAR_user_email: sh: echo "$PAYLOAD" | jq -r '.user_email' cmds: - - "terraform init --upgrade" - - "terraform apply" + - task: init-and-apply destroy: - desc: Run "terraform destroy" in "{{.USER_WORKING_DIR}}" + desc: Run "terraform destroy" in "{{.WORKSPACE_DIR}}" requires: vars: [OPSLEVEL_API_TOKEN] cmds: - - task: init - - task: terraform-command - vars: { TF_COMMAND: 'destroy', TF_CMD_DIR: "{{.USER_WORKING_DIR}}" } + - task: init-and-destroy factory-reset: - desc: Run "terraform destroy" in "{{.USER_WORKING_DIR}}" + desc: Run script to destroy all resources in account requires: vars: [OPSLEVEL_API_TOKEN] vars: @@ -69,15 +61,17 @@ tasks: sh: opslevel graphql -q='query { account { name }}' | jq -r '.[0].account.name' cmds: - echo "Destroying all resources in account '{{.ACCOUNT_NAME}}'..." - - # ./clear_account.sh NOTE uncomment to use + - ./clear_account.sh prompt: "Are you sure you want to destroy all resources in account '{{.ACCOUNT_NAME}}'?" - init: + init-and-*: internal: true - desc: Run "terraform init -upgrade" in "{{.USER_WORKING_DIR}}" + desc: Run "terraform init -upgrade" in "{{.WORKSPACE_DIR}}" then '{{index .MATCH 0}}' cmds: - task: terraform-command - vars: { TF_COMMAND: 'init --upgrade', TF_CMD_DIR: "." } + vars: { TF_COMMAND: 'init -upgrade', TF_CMD_DIR: "{{.WORKSPACE_DIR}}" } + - task: terraform-command + vars: { TF_COMMAND: '{{index .MATCH 0}}', TF_CMD_DIR: "{{.WORKSPACE_DIR}}" } terraform-validate: internal: true diff --git a/modules/demo_account/rubric_gold.tf b/modules/demo_account/rubric_gold.tf index 3c56bf7..bd68097 100644 --- a/modules/demo_account/rubric_gold.tf +++ b/modules/demo_account/rubric_gold.tf @@ -75,11 +75,11 @@ module "has_deployed_this_sprint" { module "github_check_package_version" { source = "../check/package_version" - name = "Uses Latest Github Actions Checkout" + name = "Uses Latest Github Actions Checkout" category = opslevel_rubric_category.all["security"].id - level = opslevel_rubric_level.all["gold"].id - owner = module.internal-tools-team.this.id - enabled = true + level = opslevel_rubric_level.all["gold"].id + owner = module.internal-tools-team.this.id + enabled = true package_constraint = "matches_version" package_manager = "github" diff --git a/modules/demo_account/users.tf b/modules/demo_account/users.tf index d8ca24a..aca2b78 100644 --- a/modules/demo_account/users.tf +++ b/modules/demo_account/users.tf @@ -28,5 +28,5 @@ resource "opslevel_user" "user" { name = each.value email = each.value - role = "admin" + role = "admin" } \ No newline at end of file From 057607539a8be4cfc9fff44a4ab71cb36dfb9c9c Mon Sep 17 00:00:00 2001 From: David Bloss Date: Tue, 12 Nov 2024 14:27:59 -0600 Subject: [PATCH 09/10] fix typo --- modules/demo_account/rubric_gold.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/demo_account/rubric_gold.tf b/modules/demo_account/rubric_gold.tf index bd68097..f2ebb86 100644 --- a/modules/demo_account/rubric_gold.tf +++ b/modules/demo_account/rubric_gold.tf @@ -83,7 +83,7 @@ module "github_check_package_version" { package_constraint = "matches_version" package_manager = "github" - package_name = "actions/checkout" + package_name = "action/checkout" missing_package_result = "passed" version_constraint_predicate = { type = "matches_regex" From dedea29a60b0a55e50bfac8bfdc3650da3f31772 Mon Sep 17 00:00:00 2001 From: David Bloss Date: Tue, 12 Nov 2024 15:33:28 -0600 Subject: [PATCH 10/10] fix team name typo --- modules/demo_account/teams.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/demo_account/teams.tf b/modules/demo_account/teams.tf index 80683ba..a0defeb 100644 --- a/modules/demo_account/teams.tf +++ b/modules/demo_account/teams.tf @@ -88,7 +88,7 @@ module "warehouse-team" { module "dev-experience-group" { source = "../team" - name = "Dev Experiance Group" + name = "Dev Experience Group" responsibilities = "This groups is responsible for the developer experience." parent = module.product-engineering-team.this.id members = [