Skip to content
This repository was archived by the owner on Mar 30, 2026. It is now read-only.

Commit 66a4000

Browse files
Merge pull request #55 from meshcloud/felixzieger-patch-1
use already installed jq and curl
2 parents d530a4f + 325b534 commit 66a4000

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • other-providers/stackguardian

other-providers/stackguardian/main.tf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
resource "null_resource" "sg_integration" {
22
provisioner "local-exec" {
33
command = <<EOF
4-
apk add curl
5-
apk add jq
6-
curl -o sg-cli https://raw.githubusercontent.com/StackGuardian/sg-cli/982af6d83e889c012d648cbf89896b9aa2f64695/shell/sg-cli
4+
curl -o sg-cli https://raw.githubusercontent.com/StackGuardian/sg-cli/main/sg-cli
75
chmod +x sg-cli
86
97
./sg-cli stack create --org ${var.sg_organization} --workflow-group ${var.sg_workflow_group} --run --output-json --wait --patch-payload '{"ResourceName": "${var.customer_id}_${var.project_id}_${var.building_block_uuid}","TemplatesConfig": {"templates": [{"VCSConfig": {"iacInputData": {"schemaType": "RAW_JSON","data": {"sg_subscription_id": "${var.subscription_id}","sg_tenant_id": "${var.tenant_id}"}}}}]}}' -- payload.json > output.txt

0 commit comments

Comments
 (0)