diff --git a/byo-vpc/example/README.md b/byo-vpc/example/README.md
new file mode 100644
index 0000000..40925db
--- /dev/null
+++ b/byo-vpc/example/README.md
@@ -0,0 +1,39 @@
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.3.8 |
+| [aws](#requirement\_aws) | ~> 5.0 |
+
+## Providers
+
+| Name | Version |
+|------|---------|
+| [aws](#provider\_aws) | 5.88.0 |
+| [random](#provider\_random) | 3.6.3 |
+
+## Modules
+
+| Name | Source | Version |
+|------|--------|---------|
+| [acm](#module\_acm) | terraform-aws-modules/acm/aws | 4.3.1 |
+| [byo-vpc](#module\_byo-vpc) | github.com/fleetdm/fleet-terraform//byo-vpc | tf-mod-byo-vpc-v1.13.0 |
+| [firehose-logging](#module\_firehose-logging) | github.com/fleetdm/fleet-terraform//addons/logging-destination-firehose | tf-mod-addon-logging-destination-firehose-v1.1.1 |
+| [migrations](#module\_migrations) | github.com/fleetdm/fleet-terraform//addons/migrations | tf-mod-addon-migrations-v2.0.1 |
+| [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | 5.1.2 |
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [aws_route53_record.main](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53_record) | resource |
+| [random_pet.main](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet) | resource |
+| [aws_route53_zone.main](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/route53_zone) | data source |
+
+## Inputs
+
+No inputs.
+
+## Outputs
+
+No outputs.
diff --git a/byo-vpc/example/main.tf b/byo-vpc/example/main.tf
index eb438e4..3c22039 100644
--- a/byo-vpc/example/main.tf
+++ b/byo-vpc/example/main.tf
@@ -92,7 +92,7 @@ module "vpc" {
}
module "byo-vpc" {
- source = "github.com/fleetdm/fleet-terraform//byo-vpc?ref=tf-mod-byo-vpc-v1.12.1"
+ source = "github.com/fleetdm/fleet-terraform//byo-vpc?ref=tf-mod-byo-vpc-v1.13.0"
vpc_config = {
vpc_id = module.vpc.vpc_id
networking = {
diff --git a/example/README.md b/example/README.md
index 4eb2db4..c9ba03c 100644
--- a/example/README.md
+++ b/example/README.md
@@ -18,7 +18,7 @@ Due to Terraform issues, this code requires 3 applies "from scratch":
6. `terraform apply`
7. If enabling mdm do the following:
- Record the KMS key from step 5 output.
- - Use `fleetctl` to obtain all of the mdm certs. Use https://fleetdm.com/docs/using-fleet/mdm-macos-setup#apple-push-notification-service-apns and https://fleetdm.com/docs/using-fleet/mdm-setup#apple-business-manager-abm for reference.
+ - Use `fleetctl` to obtain all of the mdm certs. Use https://fleetdm.com/docs/using-fleet/mdm-setup#apple-push-notification-service-apns and https://fleetdm.com/docs/using-fleet/mdm-setup#apple-business-manager-abm for reference.
- Place the certificates in the `resources` folder with the following names based upon their function:
```
scep.crt
@@ -58,10 +58,10 @@ This will encrypt all of the mdm secrets and add the .encrypted extension to the
| Name | Source | Version |
|------|--------|---------|
| [acm](#module\_acm) | terraform-aws-modules/acm/aws | 4.3.1 |
-| [firehose-logging](#module\_firehose-logging) | github.com/fleetdm/fleet-terraform//addons/logging-destination-firehose | tf-mod-addon-logging-destination-firehose-v1.1.0 |
-| [fleet](#module\_fleet) | github.com/fleetdm/fleet-terraform/ | tf-mod-root-v1.7.3 |
-| [migrations](#module\_migrations) | github.com/fleetdm/fleet-terraform//addons/migrations | tf-mod-addon-migrations-v2.0.0 |
-| [osquery-carve](#module\_osquery-carve) | github.com/fleetdm/fleet-terraform//addons/osquery-carve | tf-mod-addon-osquery-carve-v1.0.1 |
+| [firehose-logging](#module\_firehose-logging) | github.com/fleetdm/fleet-terraform/addons/logging-destination-firehose | tf-mod-addon-logging-destination-firehose-v1.1.1 |
+| [fleet](#module\_fleet) | github.com/fleetdm/fleet-terraform | tf-mod-root-v1.12.0 |
+| [migrations](#module\_migrations) | github.com/fleetdm/fleet-terraform/addons/migrations | tf-mod-addon-migrations-v2.0.1 |
+| [osquery-carve](#module\_osquery-carve) | github.com/fleetdm/fleet-terraform/addons/osquery-carve | tf-mod-addon-osquery-carve-v1.1.0 |
## Resources
diff --git a/example/main.tf b/example/main.tf
index 2ffeee0..e9acc7a 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.11.1"
+ source = "github.com/fleetdm/fleet-terraform?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?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?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?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?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"
diff --git a/example/mdm-secrets.tf b/example/mdm-secrets.tf
index 513aaab..c41effc 100644
--- a/example/mdm-secrets.tf
+++ b/example/mdm-secrets.tf
@@ -6,13 +6,13 @@
locals {
mdm_resource_path = "${path.module}/resources"
- scep_cert = "${local.mdm_resource_path}/scep.crt.encrypted"
- scep_key = "${local.mdm_resource_path}/scep.key.encrypted"
- apns_cert = "${local.mdm_resource_path}/apns.crt.encrypted"
- apns_key = "${local.mdm_resource_path}/apns.key.encrypted"
- abm_cert = "${local.mdm_resource_path}/abm.crt.encrypted"
- abm_key = "${local.mdm_resource_path}/abm.key.encrypted"
- abm_token = "${local.mdm_resource_path}/abm_token.p7m.encrypted"
+ scep_cert = "${local.mdm_resource_path}/scep.crt.encrypted"
+ scep_key = "${local.mdm_resource_path}/scep.key.encrypted"
+ apns_cert = "${local.mdm_resource_path}/apns.crt.encrypted"
+ apns_key = "${local.mdm_resource_path}/apns.key.encrypted"
+ abm_cert = "${local.mdm_resource_path}/abm.crt.encrypted"
+ abm_key = "${local.mdm_resource_path}/abm.key.encrypted"
+ abm_token = "${local.mdm_resource_path}/abm_token.p7m.encrypted"
}
# To ease the process of encrypting and decrypting secrets, see