Skip to content

Commit

Permalink
chore(terraform): introduce the terraform submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
obs-gh-colinhutchinson committed Aug 21, 2023
1 parent df05134 commit 6ce84fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "cloudformation-aws-collection"]
path = cloudformation-aws-collection
url = [email protected]:observeinc/cloudformation-aws-collection.git
[submodule "terraform-aws-collection"]
path = terraform-aws-collection
url = [email protected]:observeinc/terraform-aws-collection.git
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ docker/build:
@if [ -z "$(shell docker images -q $(IMAGE_NAME))" ]; then \
echo "Image does not exist. Building..."; \
if [ "$(DOCKER_CMD)" = "buildx" ]; then \
git_branch=$$(git rev-parse --abbrev-ref HEAD) && \
git_branch=$$(git rev-parse --abbrev-ref HEAD | sed 's/\//-/g') && \
docker buildx build --load \
--cache-from=$(IMAGE_REPO):latest \
--cache-from=$(IMAGE_REPO):main \
Expand Down
1 change: 1 addition & 0 deletions terraform-aws-collection

0 comments on commit 6ce84fe

Please sign in to comment.