diff --git a/byo-vpc/example/main.tf b/byo-vpc/example/main.tf index 3c22039..582be61 100644 --- a/byo-vpc/example/main.tf +++ b/byo-vpc/example/main.tf @@ -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 diff --git a/example/main.tf b/example/main.tf index e9acc7a..d9e6bf7 100644 --- a/example/main.tf +++ b/example/main.tf @@ -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"