Skip to content

Commit

Permalink
[u] Scan GitLab EC2 instance with Amazon Inspector (#4189, #4751, PR #…
Browse files Browse the repository at this point in the history
  • Loading branch information
dsotirho-ucsc committed Mar 17, 2023
2 parents 920b366 + 59c2a7d commit 3b8792c
Show file tree
Hide file tree
Showing 7 changed files with 178,363 additions and 40,570 deletions.
10 changes: 10 additions & 0 deletions UPGRADING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ reverted. This is all fairly informal and loosely defined. Hopefully we won't
have too many entries in this file.


#4189 Scan GitLab EC2 instance with Amazon Inspector
====================================================

Operator
~~~~~~~~

Manually deploy the ``gitlab`` component of any main deployment just *before*
pushing the merge commit to the GitLab instance in that deployment.


#5019 Index public & mock-MA snapshots in anvilprod
===================================================

Expand Down
40 changes: 24 additions & 16 deletions terraform/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 17 additions & 4 deletions terraform/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ clean: check_env git_clean
.PHONY: state
state: check_terraform check_branch check_aws

.PHONY: initable
initable: clean state providers.tf.json backend.tf.json

.PHONY: init
init: clean state providers.tf.json backend.tf.json
init: initable
terraform init -reconfigure
$(MAKE) check_providers_clean

.PHONY: check_schema
check_schema: init
Expand Down Expand Up @@ -68,6 +72,15 @@ auto_destroy: validate import_resources
@echo '!!! All resources will be deleted in 10s, hit Ctrl-C to cancel !!!'; sleep 10
terraform destroy -auto-approve

.PHONY: taint_dependencies_layer
taint_dependencies_layer: config
terraform taint -allow-missing aws_lambda_layer_version.dependencies
.PHONY: provider_update
provider_update: initable
terraform init -upgrade
terraform providers lock -platform=linux_amd64 \
-platform=linux_arm64 \
-platform=darwin_amd64 \
-platform=darwin_arm64

.PHONY: check_providers_clean
check_providers_clean:
git diff --exit-code --name-only .terraform.lock.hcl \
&& git diff --cached --exit-code --name-only .terraform.lock.hcl
Loading

0 comments on commit 3b8792c

Please sign in to comment.