Skip to content

Commit

Permalink
use submodule to link in provisioned clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jun 27, 2025
1 parent 54c720f commit 7097477
Show file tree
Hide file tree
Showing 31 changed files with 9 additions and 2,270 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "lab/clusters/csvd-platform-lab-mcm"]
path = lab/clusters/csvd-platform-lab-mcm
url = git@github.e.it.census.gov:sct-engineering/csvd-platform-lab-mcm
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,13 @@ trigger-template: config
echo "Error: config.json not found in current directory"; \
exit 1; \
fi

@echo "Invoking lambda function with config.json payload..."
aws lambda invoke \
--function-name arn:aws-us-gov:lambda:us-gov-west-1:229685449397:function:template-repos-template-automation \
--payload file://config.json \
--region us-gov-west-1 \
--profile $(AWS_PROFILE) \
--profile 229685449397-csvd-dev-gov \
--cli-binary-format raw-in-base64-out \
lambda-response.json

Expand All @@ -165,3 +165,6 @@ trigger-template: config
@rm -f lambda-response.json

@echo "Template automation lambda triggered successfully!"
@echo "Adding cluster as submodule"
@git submodule add git@github.e.it.census.gov:sct-engineering/$(CLUSTER_NAME) ./lab/clusters/$(CLUSTER_NAME)
@echo "Submodule added successfully!"
39 changes: 0 additions & 39 deletions lab/_envcommon/common-variables.hcl

This file was deleted.

244 changes: 0 additions & 244 deletions lab/_envcommon/default-versions.hcl

This file was deleted.

37 changes: 0 additions & 37 deletions lab/_envcommon/prefixes.hcl

This file was deleted.

1 change: 1 addition & 0 deletions lab/clusters/csvd-platform-lab-mcm
Submodule csvd-platform-lab-mcm added at 66461f
13 changes: 0 additions & 13 deletions lab/development/account.hcl

This file was deleted.

7 changes: 0 additions & 7 deletions lab/development/us-gov-east-1/region.hcl

This file was deleted.

This file was deleted.

Loading

0 comments on commit 7097477

Please sign in to comment.