Added Shallow cloning (#12)

Hi @rfairburn 

FWIW: proposing to add shallow clone 😃 

Sidequestion: on our side we use Clouflare vs. Route53. Would you be
interested in adding that as documented option in the example/ ? If so,
I could make a PR with that.

Thanks!
This commit is contained in:
ben authored and GitHub committed 2025-03-11 02:53:22 -05:00
1 parent 774797c5c4
commit 1532cb5e55
2 files changed
+8 -8

No files matched your search

+3 -3
View File
@@ -51,7 +51,7 @@ data "aws_route53_zone" "main" {
}
module "firehose-logging" {
source = "github.com/fleetdm/fleet-terraform//addons/logging-destination-firehose?ref=tf-mod-addon-logging-destination-firehose-v1.1.1"
source = "github.com/fleetdm/fleet-terraform//addons/logging-destination-firehose?depth=1&ref=tf-mod-addon-logging-destination-firehose-v1.1.1"
osquery_results_s3_bucket = {
name = "${random_pet.main.id}-results"
}
@@ -92,7 +92,7 @@ module "vpc" {
}
module "byo-vpc" {
source = "github.com/fleetdm/fleet-terraform//byo-vpc?ref=tf-mod-byo-vpc-v1.13.0"
source = "github.com/fleetdm/fleet-terraform//byo-vpc?depth=1&ref=tf-mod-byo-vpc-v1.13.0"
vpc_config = {
vpc_id = module.vpc.vpc_id
networking = {
@@ -150,7 +150,7 @@ module "byo-vpc" {
}
module "migrations" {
source = "github.com/fleetdm/fleet-terraform//addons/migrations?ref=tf-mod-addon-migrations-v2.0.1"
source = "github.com/fleetdm/fleet-terraform//addons/migrations?depth=1&ref=tf-mod-addon-migrations-v2.0.1"
ecs_cluster = module.byo-vpc.byo-db.byo-ecs.service.cluster
task_definition = module.byo-vpc.byo-db.byo-ecs.task_definition.family
task_definition_revision = module.byo-vpc.byo-db.byo-ecs.task_definition.revision
+5 -5
View File
@@ -50,7 +50,7 @@ locals {
}
module "fleet" {
source = "github.com/fleetdm/fleet-terraform?ref=tf-mod-root-v1.12.0"
source = "github.com/fleetdm/fleet-terraform?depth=1&ref=tf-mod-root-v1.12.0"
certificate_arn = module.acm.acm_certificate_arn
vpc = {
@@ -118,7 +118,7 @@ module "fleet" {
# doesn't directly support all the features required. the aws cli is invoked via a null-resource.
module "migrations" {
source = "github.com/fleetdm/fleet-terraform/addons/migrations?ref=tf-mod-addon-migrations-v2.0.1"
source = "github.com/fleetdm/fleet-terraform/addons/migrations?depth=1&ref=tf-mod-addon-migrations-v2.0.1"
ecs_cluster = module.fleet.byo-vpc.byo-db.byo-ecs.service.cluster
task_definition = module.fleet.byo-vpc.byo-db.byo-ecs.task_definition.family
task_definition_revision = module.fleet.byo-vpc.byo-db.byo-ecs.task_definition.revision
@@ -131,14 +131,14 @@ module "migrations" {
module "osquery-carve" {
# The carve bucket also stores software.
source = "github.com/fleetdm/fleet-terraform/addons/osquery-carve?ref=tf-mod-addon-osquery-carve-v1.1.0"
source = "github.com/fleetdm/fleet-terraform/addons/osquery-carve?depth=1&ref=tf-mod-addon-osquery-carve-v1.1.0"
osquery_carve_s3_bucket = {
name = local.osquery_carve_bucket_name
}
}
module "firehose-logging" {
source = "github.com/fleetdm/fleet-terraform/addons/logging-destination-firehose?ref=tf-mod-addon-logging-destination-firehose-v1.1.1"
source = "github.com/fleetdm/fleet-terraform/addons/logging-destination-firehose?depth=1&ref=tf-mod-addon-logging-destination-firehose-v1.1.1"
osquery_results_s3_bucket = {
name = local.osquery_results_bucket_name
}
@@ -161,7 +161,7 @@ module "firehose-logging" {
# module "mdm" {
# source = "github.com/fleetdm/fleet-terraform/addons/mdm?ref=tf-mod-addon-mdm-v2.0.0"
# source = "github.com/fleetdm/fleet-terraform/addons/mdm?depth=1&ref=tf-mod-addon-mdm-v2.0.0"
# # Set apn_secret_name = null if not using mac mdm
# apn_secret_name = "fleet-apn"
# scep_secret_name = "fleet-scep"